From: Wei Zhao Date: Mon, 5 Jun 2017 05:40:57 +0000 (+0800) Subject: net/e1000: add support 2-tuple filter on i210/i211 X-Git-Tag: spdx-start~3078 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=37c11ed57dac7ad2e01822a3baea4bc324272421;p=dpdk.git net/e1000: add support 2-tuple filter on i210/i211 Add support of i210 and i211 type nic in 2-tuple filter. Signed-off-by: Wei Zhao Acked-by: Wenzhuo Lu --- diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index 6a592fe1aa..935893a05d 100644 --- a/drivers/net/e1000/igb_ethdev.c +++ b/drivers/net/e1000/igb_ethdev.c @@ -4436,7 +4436,9 @@ igb_add_del_ntuple_filter(struct rte_eth_dev *dev, break; case RTE_2TUPLE_FLAGS: case (RTE_2TUPLE_FLAGS | RTE_NTUPLE_FLAGS_TCP_FLAG): - if (hw->mac.type != e1000_82580 && hw->mac.type != e1000_i350) + if (hw->mac.type != e1000_82580 && hw->mac.type != e1000_i350 && + hw->mac.type != e1000_i210 && + hw->mac.type != e1000_i211) return -ENOTSUP; if (add) ret = igb_add_2tuple_filter(dev, ntuple_filter);