From: Akihiko Odaki <akihiko.odaki@daynix.com>
To: Simei Su <simei.su@intel.com>, Wenjun Wu <wenjun1.wu@intel.com>
Cc: dev@dpdk.org, Akihiko Odaki <akihiko.odaki@daynix.com>
Subject: [PATCH v2] net/e1000: report VLAN extend capability for 82576
Date: Fri, 14 Apr 2023 21:35:27 +0900 [thread overview]
Message-ID: <20230414123527.65386-1-akihiko.odaki@daynix.com> (raw)
82576 also has extended 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
next reply other threads:[~2023-04-14 12:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-14 12:35 Akihiko Odaki [this message]
2023-05-06 7:53 ` Akihiko Odaki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230414123527.65386-1-akihiko.odaki@daynix.com \
--to=akihiko.odaki@daynix.com \
--cc=dev@dpdk.org \
--cc=simei.su@intel.com \
--cc=wenjun1.wu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).