Go to the documentation of this file.
25 #include <linux/if_ether.h>
26 #include <linux/netdevice.h>
29 #include <linux/random.h>
34 #define FCOE_MAX_CMD_LEN 16
45 #define FCOE_CTLR_START_DELAY 2000
46 #define FCOE_CTRL_SOL_TOV 2000
47 #define FCOE_CTLR_FCF_LIMIT 20
48 #define FCOE_CTLR_VN2VN_LOGIN_LIMIT 3
81 #define FIP_MODE_AUTO FIP_ST_AUTO
82 #define FIP_MODE_NON_FIP FIP_ST_NON_FIP
83 #define FIP_MODE_FABRIC FIP_ST_ENABLED
84 #define FIP_MODE_VN2VN FIP_ST_VNMP_START
166 static inline void *fcoe_ctlr_priv(
const struct fcoe_ctlr *ctlr)
168 return (
void *)(ctlr + 1);
171 #define fcoe_ctlr_to_ctlr_dev(x) \
172 (struct fcoe_ctlr_device *)(((struct fcoe_ctlr_device *)(x)) - 1)
221 #define fcoe_fcf_to_fcf_dev(x) \
279 #define MODULE_ALIAS_FCOE_PCI(ven, dev) \
280 MODULE_ALIAS("fcoe-pci:" \
281 "v" __stringify(ven) \
282 "d" __stringify(dev) "sv*sd*bc*sc*i*")
285 #define FCOE_TRANSPORT_DEFAULT "fcoe"