ethdev: VMDQ enhancements
authorChen Jing D(Mark) <jing.d.chen@intel.com>
Tue, 4 Nov 2014 10:01:24 +0000 (18:01 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 4 Nov 2014 23:21:25 +0000 (00:21 +0100)
commit4bdefaade6d1f914f2fc802b9223184c183e30b3
treeeb939832bf3f3467769f8d5d3b860276d6e1b06f
parent03e801bc790ab2478ad36ea44ce706c9d1a012ae
ethdev: VMDQ enhancements

The change includes several parts:
1. Clear pool bitmap when trying to remove specific MAC.
2. Define RSS, DCB and VMDQ flags to combine rx_mq_mode.
3. Use 'struct' to replace 'union', which to expand the rx_adv_conf
   arguments to better support RSS, DCB and VMDQ.
4. Fix bug in rte_eth_dev_config_restore function, which will restore
   all MAC address to default pool.
5. Define additional 3 arguments for better VMDQ support.

Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h