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

* RE: [PATCH] net/e1000: report VLAN extend capability for 82576
  2023-04-14 11:46 [PATCH] net/e1000: report VLAN extend capability for 82576 Akihiko Odaki
@ 2023-05-17  2:35 ` Zhang, Qi Z
  0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Qi Z @ 2023-05-17  2:35 UTC (permalink / raw)
  To: Akihiko Odaki, Su, Simei, Wu, Wenjun1; +Cc: dev



> -----Original Message-----
> From: Akihiko Odaki <akihiko.odaki@daynix.com>
> Sent: Friday, April 14, 2023 7:47 PM
> To: Su, Simei <simei.su@intel.com>; Wu, Wenjun1 <wenjun1.wu@intel.com>
> Cc: dev@dpdk.org; Akihiko Odaki <akihiko.odaki@daynix.com>
> Subject: [PATCH] net/e1000: report VLAN extend capability for 82576
> 
> 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

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi

^ 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).