0001
0002
0003
0004
0005
0006
0007 #ifndef _FNIC_FIP_H_
0008 #define _FNIC_FIP_H_
0009
0010
0011 #define FCOE_CTLR_START_DELAY 2000
0012 #define FCOE_CTLR_FIPVLAN_TOV 2000
0013 #define FCOE_CTLR_MAX_SOL 8
0014
0015 #define FINC_MAX_FLOGI_REJECTS 8
0016
0017 struct vlan {
0018 __be16 vid;
0019 __be16 type;
0020 };
0021
0022
0023
0024
0025 struct fcoe_vlan {
0026 struct list_head list;
0027 u16 vid;
0028 u16 sol_count;
0029 u16 state;
0030 };
0031
0032 enum fip_vlan_state {
0033 FIP_VLAN_AVAIL = 0,
0034 FIP_VLAN_SENT = 1,
0035 FIP_VLAN_USED = 2,
0036 FIP_VLAN_FAILED = 3,
0037 };
0038
0039 struct fip_vlan {
0040 struct ethhdr eth;
0041 struct fip_header fip;
0042 struct {
0043 struct fip_mac_desc mac;
0044 struct fip_wwn_desc wwnn;
0045 } desc;
0046 };
0047
0048 #endif