[v2] net/e1000: report VLAN extend capability for 82576
Checks
Commit Message
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(-)
Comments
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
@@ -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;