e1000: support VF promiscuous and allmulticast
authorYury Kylulin <yury.kylulin@intel.com>
Tue, 9 Feb 2016 09:09:43 +0000 (12:09 +0300)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 15:57:59 +0000 (16:57 +0100)
commitb37af6490fff3fb196941cab582da89d368ac16b
tree2416a14fc091c226d2cb0b2febc361a0aed46fdc
parent1da352d62e640839c5d69ae81d2ec7969b736ed0
e1000: support VF promiscuous and allmulticast

Enable promiscuous and allmulticast mode control from the VF using
rte_eth_promiscuous_enable()/rte_eth_promiscuous_disable() and
rte_eth_allmulticast_enable()/rte_eth_allmulticast_disable().

For promiscuous mode host/PF igb driver should be built with
IGB_ENABLE_VF_PROMISC.

For allmulticast mode "allmulti" flag should be set for appropriate PF
ifconfig eth0 allmulti

Signed-off-by: Yury Kylulin <yury.kylulin@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/e1000/igb_ethdev.c