From 2ded6e3d81538e2b0e016463ab8a56b08c075cbd Mon Sep 17 00:00:00 2001 From: Ido Barnea Date: Wed, 30 Nov 2016 13:33:12 +0200 Subject: Support receive all mode for 82599 10G card Signed-off-by: Ido Barnea --- src/dpdk/drivers/net/ixgbe/ixgbe_ethdev.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/dpdk') 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."); -- cgit 1.2.3-korg