diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-10-27 23:47:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-28 03:25:40 -0700 |
commit | 7d5753f08c5be5440ac0385b5f2518d2630be7b7 (patch) | |
tree | 1512840d8d72a537c5fcae96609a7bda7b4cf021 /drivers/net/igb/igb.h | |
parent | f2ca0dbe077389f061ffa15de9dd7fc96a5b97d2 (diff) | |
download | blackbird-op-linux-7d5753f08c5be5440ac0385b5f2518d2630be7b7.tar.gz blackbird-op-linux-7d5753f08c5be5440ac0385b5f2518d2630be7b7.zip |
igb: rework use of VMOLR in regards to PF and VFs
This patch updates the use of the VMOLR to include enabling multicast
promiscous for the VFs should they attempt to send over 30 multicast
addresses or if they use the new message type to enable multicast
promiscuous.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r-- | drivers/net/igb/igb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h index 7801d3f40193..c27dc1a8d0c6 100644 --- a/drivers/net/igb/igb.h +++ b/drivers/net/igb/igb.h @@ -78,6 +78,8 @@ struct vf_data_storage { }; #define IGB_VF_FLAG_CTS 0x00000001 /* VF is clear to send data */ +#define IGB_VF_FLAG_UNI_PROMISC 0x00000002 /* VF has unicast promisc */ +#define IGB_VF_FLAG_MULTI_PROMISC 0x00000004 /* VF has multicast promisc */ /* RX descriptor control thresholds. * PTHRESH - MAC will consider prefetch if it has fewer than this number of |