summaryrefslogtreecommitdiff
path: root/drivers/net/ixgbevf/mbx.h
diff options
context:
space:
mode:
authorGreg Rose <gregory.v.rose@intel.com>2011-05-13 05:33:42 +0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-05-15 04:50:44 +0400
commit46ec20ff7d6f9f011e06d58e4e87153ed8c893ed (patch)
treed2976bcdef595eb8c3c14dd4d9ad036bbc1293eb /drivers/net/ixgbevf/mbx.h
parentd64a6f4dca0b45495dd5be8116b618d9cc004eea (diff)
downloadlinux-46ec20ff7d6f9f011e06d58e4e87153ed8c893ed.tar.xz
ixgbevf: Add macvlan support in the set rx mode op
Implement setup of unicast address list in the VF driver's set_rx_mode netdev op. Unicast addresses are sent to the PF via a mailbox message and the PF will check if it has room in the RAR table and if so set the filter for the VF. Signed-off-by: Greg Rose <gregory.v.rose@intel.com> Tested-by: Sibai Li <sibai.li@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbevf/mbx.h')
-rw-r--r--drivers/net/ixgbevf/mbx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ixgbevf/mbx.h b/drivers/net/ixgbevf/mbx.h
index b2b5bf5daa3d..ea393eb03f3a 100644
--- a/drivers/net/ixgbevf/mbx.h
+++ b/drivers/net/ixgbevf/mbx.h
@@ -81,6 +81,7 @@
#define IXGBE_VF_SET_MULTICAST 0x03 /* VF requests PF to set MC addr */
#define IXGBE_VF_SET_VLAN 0x04 /* VF requests PF to set VLAN */
#define IXGBE_VF_SET_LPE 0x05 /* VF requests PF to set VMOLR.LPE */
+#define IXGBE_VF_SET_MACVLAN 0x06 /* VF requests PF for unicast filter */
/* length of permanent address message returned from PF */
#define IXGBE_VF_PERMADDR_MSG_LEN 4