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

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


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

* Re: [PATCH v2] net/e1000: report VLAN extend capability for 82576
  2023-04-14 12:35 [PATCH v2] net/e1000: report VLAN extend capability for 82576 Akihiko Odaki
@ 2023-05-06  7:53 ` Akihiko Odaki
  0 siblings, 0 replies; 2+ messages in thread
From: Akihiko Odaki @ 2023-05-06  7:53 UTC (permalink / raw)
  To: Simei Su, Wenjun Wu; +Cc: dev

On 2023/04/14 21:35, Akihiko Odaki wrote:
> 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;

Hi,

Can you have a look at this?

Regards,
Akihiko Odaki

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

end of thread, other threads:[~2023-05-06  7:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-14 12:35 [PATCH v2] net/e1000: report VLAN extend capability for 82576 Akihiko Odaki
2023-05-06  7:53 ` Akihiko Odaki

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