aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbevf/vf.h
diff options
context:
space:
mode:
authorGreg Rose <gregory.v.rose@intel.com>2011-05-13 01:33:42 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-05-14 17:50:44 -0700
commit46ec20ff7d6f9f011e06d58e4e87153ed8c893ed (patch)
treed2976bcdef595eb8c3c14dd4d9ad036bbc1293eb /drivers/net/ixgbevf/vf.h
parente1000e: minor comment cleanups (diff)
downloadlinux-dev-46ec20ff7d6f9f011e06d58e4e87153ed8c893ed.tar.xz
linux-dev-46ec20ff7d6f9f011e06d58e4e87153ed8c893ed.zip
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/vf.h')
-rw-r--r--drivers/net/ixgbevf/vf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ixgbevf/vf.h b/drivers/net/ixgbevf/vf.h
index 23eb114c149f..10306b492ee6 100644
--- a/drivers/net/ixgbevf/vf.h
+++ b/drivers/net/ixgbevf/vf.h
@@ -62,6 +62,7 @@ struct ixgbe_mac_operations {
/* RAR, Multicast, VLAN */
s32 (*set_rar)(struct ixgbe_hw *, u32, u8 *, u32);
+ s32 (*set_uc_addr)(struct ixgbe_hw *, u32, u8 *);
s32 (*init_rx_addrs)(struct ixgbe_hw *);
s32 (*update_mc_addr_list)(struct ixgbe_hw *, struct net_device *);
s32 (*enable_mc)(struct ixgbe_hw *);