DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/e1000: report VLAN extend capability for 82576
@ 2023-04-14 11:46 Akihiko Odaki
  2023-05-17  2:35 ` Zhang, Qi Z
  0 siblings, 1 reply; 2+ messages in thread
From: Akihiko Odaki @ 2023-04-14 11:46 UTC (permalink / raw)
  To: Simei Su, Wenjun Wu; +Cc: dev, Akihiko Odaki

82576 also has exended VLAN support.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
 drivers/net/e1000/igb_rxtx.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c
index f32dee46df..25ad9eb4e5 100644
--- a/drivers/net/e1000/igb_rxtx.c
+++ b/drivers/net/e1000/igb_rxtx.c
@@ -1648,7 +1648,8 @@ igb_get_rx_port_offloads_capa(struct rte_eth_dev *dev)
 			  RTE_ETH_RX_OFFLOAD_SCATTER     |
 			  RTE_ETH_RX_OFFLOAD_RSS_HASH;
 
-	if (hw->mac.type == e1000_i350 ||
+	if (hw->mac.type == e1000_82576 ||
+	    hw->mac.type == e1000_i350 ||
 	    hw->mac.type == e1000_i210 ||
 	    hw->mac.type == e1000_i211)
 		rx_offload_capa |= RTE_ETH_RX_OFFLOAD_VLAN_EXTEND;
-- 
2.40.0


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

end of thread, other threads:[~2023-05-17  2:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-14 11:46 [PATCH] net/e1000: report VLAN extend capability for 82576 Akihiko Odaki
2023-05-17  2:35 ` Zhang, Qi Z

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).