|
#define | FIP_DEF_PRI 128 /* default selection priority */ |
|
#define | FIP_DEF_FC_MAP 0x0efc00 /* default FCoE MAP (MAC OUI) value */ |
|
#define | FIP_DEF_FKA 8000 /* default FCF keep-alive/advert period (mS) */ |
|
#define | FIP_VN_KA_PERIOD 90000 /* required VN_port keep-alive period (mS) */ |
|
#define | FIP_FCF_FUZZ 100 /* random time added by FCF (mS) */ |
|
#define | FIP_VN_FC_MAP 0x0efd00 /* MAC OUI for VN2VN use */ |
|
#define | FIP_VN_PROBE_WAIT 100 /* interval between VN2VN probes (ms) */ |
|
#define | FIP_VN_ANN_WAIT 400 /* interval between VN2VN announcements (ms) */ |
|
#define | FIP_VN_RLIM_INT 10000 /* interval between probes when rate limited */ |
|
#define | FIP_VN_RLIM_COUNT 10 /* number of probes before rate limiting */ |
|
#define | FIP_VN_BEACON_INT 8000 /* interval between VN2VN beacons */ |
|
#define | FIP_VN_BEACON_FUZZ 100 /* random time to add to beacon period (ms) */ |
|
#define | FIP_ALL_FCOE_MACS ((__u8[6]) { 1, 0x10, 0x18, 1, 0, 0 }) |
|
#define | FIP_ALL_ENODE_MACS ((__u8[6]) { 1, 0x10, 0x18, 1, 0, 1 }) |
|
#define | FIP_ALL_FCF_MACS ((__u8[6]) { 1, 0x10, 0x18, 1, 0, 2 }) |
|
#define | FIP_ALL_VN2VN_MACS ((__u8[6]) { 1, 0x10, 0x18, 1, 0, 4 }) |
|
#define | FIP_ALL_P2P_MACS ((__u8[6]) { 1, 0x10, 0x18, 1, 0, 5 }) |
|
#define | FIP_VER 1 /* version for fip_header */ |
|
#define | FIP_VER_SHIFT 4 |
|
#define | FIP_VER_ENCAPS(v) ((v) << FIP_VER_SHIFT) |
|
#define | FIP_VER_DECAPS(v) ((v) >> FIP_VER_SHIFT) |
|
#define | FIP_BPW 4 /* bytes per word for lengths */ |
|
|
enum | fip_opcode {
FIP_OP_DISC = 1,
FIP_OP_LS = 2,
FIP_OP_CTRL = 3,
FIP_OP_VLAN = 4,
FIP_OP_VN2VN = 5,
FIP_OP_VENDOR_MIN = 0xfff8,
FIP_OP_VENDOR_MAX = 0xfffe
} |
|
enum | fip_disc_subcode { FIP_SC_SOL = 1,
FIP_SC_ADV = 2
} |
|
enum | fip_trans_subcode { FIP_SC_REQ = 1,
FIP_SC_REP = 2
} |
|
enum | fip_reset_subcode { FIP_SC_KEEP_ALIVE = 1,
FIP_SC_CLR_VLINK = 2
} |
|
enum | fip_vlan_subcode { FIP_SC_VL_REQ = 1,
FIP_SC_VL_REP = 2
} |
|
enum | fip_vn2vn_subcode {
FIP_SC_VN_PROBE_REQ = 1,
FIP_SC_VN_PROBE_REP = 2,
FIP_SC_VN_CLAIM_NOTIFY = 3,
FIP_SC_VN_CLAIM_REP = 4,
FIP_SC_VN_BEACON = 5
} |
|
enum | fip_flag {
FIP_FL_FPMA = 0x8000,
FIP_FL_SPMA = 0x4000,
FIP_FL_REC_OR_P2P = 0x0008,
FIP_FL_AVAIL = 0x0004,
FIP_FL_SOL = 0x0002,
FIP_FL_FPORT = 0x0001
} |
|
enum | fip_desc_type {
FIP_DT_PRI = 1,
FIP_DT_MAC = 2,
FIP_DT_MAP_OUI = 3,
FIP_DT_NAME = 4,
FIP_DT_FAB = 5,
FIP_DT_FCOE_SIZE = 6,
FIP_DT_FLOGI = 7,
FIP_DT_FDISC = 8,
FIP_DT_LOGO = 9,
FIP_DT_ELP = 10,
FIP_DT_VN_ID = 11,
FIP_DT_FKA = 12,
FIP_DT_VENDOR = 13,
FIP_DT_VLAN = 14,
FIP_DT_FC4F = 15,
FIP_DT_LIMIT,
FIP_DT_VENDOR_BASE = 128
} |
|
enum | fip_fka_flags { FIP_FKA_ADV_D = 0x01
} |
|