All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net/e1000: add support 2-tuple filter on i210/i211
@ 2017-06-05  5:40 Wei Zhao
  2017-06-05  6:14 ` Lu, Wenzhuo
  0 siblings, 1 reply; 5+ messages in thread
From: Wei Zhao @ 2017-06-05  5:40 UTC (permalink / raw)
  To: dev; +Cc: wenzhuo.lu, Wei Zhao

Add support of i210 and i211 type nic in 2-tuple filter.

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
---
 drivers/net/e1000/igb_ethdev.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c
index 2817fbb..37cefc3 100644
--- a/drivers/net/e1000/igb_ethdev.c
+++ b/drivers/net/e1000/igb_ethdev.c
@@ -4543,7 +4543,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);
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-06-06 10:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-05  5:40 [PATCH] net/e1000: add support 2-tuple filter on i210/i211 Wei Zhao
2017-06-05  6:14 ` Lu, Wenzhuo
2017-06-05  6:16   ` Zhao1, Wei
2017-06-06  7:22     ` Zhao1, Wei
2017-06-06 10:42   ` Ferruh Yigit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.