diff options
author | 2016-11-30 13:33:12 +0200 | |
---|---|---|
committer | 2016-11-30 13:33:12 +0200 | |
commit | 2ded6e3d81538e2b0e016463ab8a56b08c075cbd (patch) | |
tree | 041003abd7d842252b469895dc6b3d437e0e2ba4 /src/dpdk | |
parent | 36e8a41f68941fbc40f3854654d38c95bd678318 (diff) |
Support receive all mode for 82599 10G card
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Diffstat (limited to 'src/dpdk')
-rw-r--r-- | src/dpdk/drivers/net/ixgbe/ixgbe_ethdev.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dpdk/drivers/net/ixgbe/ixgbe_ethdev.c b/src/dpdk/drivers/net/ixgbe/ixgbe_ethdev.c index d478a159..72963a89 100644 --- a/src/dpdk/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/src/dpdk/drivers/net/ixgbe/ixgbe_ethdev.c @@ -5784,13 +5784,17 @@ ixgbe_add_del_ethertype_filter(struct rte_eth_dev *dev, if (filter->queue >= IXGBE_MAX_RX_QUEUE_NUM) return -EINVAL; - +#define TREX_PATCH +#ifndef TREX_PATCH + // no real reason to block this. + // We configure rules using FDIR and ethertype that point to same queue, so there are no race condition issues. if (filter->ether_type == ETHER_TYPE_IPv4 || filter->ether_type == ETHER_TYPE_IPv6) { PMD_DRV_LOG(ERR, "unsupported ether_type(0x%04x) in" " ethertype filter.", filter->ether_type); return -EINVAL; } +#endif if (filter->flags & RTE_ETHTYPE_FLAGS_MAC) { PMD_DRV_LOG(ERR, "mac compare is unsupported."); |