From: Ouyang Changchun Date: Sat, 8 Nov 2014 04:26:12 +0000 (+0800) Subject: ethdev: VMDQ Rx mode X-Git-Tag: spdx-start~10168 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7e1fceb51dce3ceb4845b73c55a056567dd97722;p=dpdk.git ethdev: VMDQ Rx mode Add vmdq rx mode field into rx config struct, it is flag from ETH_VMDQ_ACCEPT_*. Signed-off-by: Changchun Ouyang Acked-by: Thomas Monjalon --- diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 7e4c99860c..c29525bdc0 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -593,6 +593,7 @@ struct rte_eth_vmdq_rx_conf { uint8_t default_pool; /**< The default pool, if applicable */ uint8_t enable_loop_back; /**< Enable VT loop back */ uint8_t nb_pool_maps; /**< We can have up to 64 filters/mappings */ + uint32_t rx_mode; /**< Flags from ETH_VMDQ_ACCEPT_* */ struct { uint16_t vlan_id; /**< The vlan id of the received frame */ uint64_t pools; /**< Bitmask of pools for packet rx */