Go to the documentation of this file.
33 #define IXGBE_VFMAILBOX_SIZE 16
34 #define IXGBE_ERR_MBX -100
36 #define IXGBE_VFMAILBOX 0x002FC
37 #define IXGBE_VFMBMEM 0x00200
40 #define IXGBE_VFMAILBOX_REQ 0x00000001
41 #define IXGBE_VFMAILBOX_ACK 0x00000002
42 #define IXGBE_VFMAILBOX_VFU 0x00000004
43 #define IXGBE_VFMAILBOX_PFU 0x00000008
44 #define IXGBE_VFMAILBOX_PFSTS 0x00000010
45 #define IXGBE_VFMAILBOX_PFACK 0x00000020
46 #define IXGBE_VFMAILBOX_RSTI 0x00000040
47 #define IXGBE_VFMAILBOX_RSTD 0x00000080
48 #define IXGBE_VFMAILBOX_R2C_BITS 0x000000B0
50 #define IXGBE_PFMAILBOX(x) (0x04B00 + (4 * (x)))
51 #define IXGBE_PFMBMEM(vfn) (0x13000 + (64 * (vfn)))
53 #define IXGBE_PFMAILBOX_STS 0x00000001
54 #define IXGBE_PFMAILBOX_ACK 0x00000002
55 #define IXGBE_PFMAILBOX_VFU 0x00000004
56 #define IXGBE_PFMAILBOX_PFU 0x00000008
57 #define IXGBE_PFMAILBOX_RVFU 0x00000010
59 #define IXGBE_MBVFICR_VFREQ_MASK 0x0000FFFF
60 #define IXGBE_MBVFICR_VFREQ_VF1 0x00000001
61 #define IXGBE_MBVFICR_VFACK_MASK 0xFFFF0000
62 #define IXGBE_MBVFICR_VFACK_VF1 0x00010000
69 #define IXGBE_VT_MSGTYPE_ACK 0x80000000
71 #define IXGBE_VT_MSGTYPE_NACK 0x40000000
73 #define IXGBE_VT_MSGTYPE_CTS 0x20000000
75 #define IXGBE_VT_MSGINFO_SHIFT 16
77 #define IXGBE_VT_MSGINFO_MASK (0xFF << IXGBE_VT_MSGINFO_SHIFT)
93 #define IXGBE_VF_RESET 0x01
94 #define IXGBE_VF_SET_MAC_ADDR 0x02
95 #define IXGBE_VF_SET_MULTICAST 0x03
96 #define IXGBE_VF_SET_VLAN 0x04
99 #define IXGBE_VF_SET_LPE 0x05
100 #define IXGBE_VF_SET_MACVLAN 0x06
101 #define IXGBE_VF_API_NEGOTIATE 0x08
104 #define IXGBE_VF_PERMADDR_MSG_LEN 4
106 #define IXGBE_VF_MC_TYPE_WORD 3
108 #define IXGBE_PF_CONTROL_MSG 0x0100
110 #define IXGBE_VF_MBX_INIT_TIMEOUT 2000
111 #define IXGBE_VF_MBX_INIT_DELAY 500