[v3,09/10] net/atlantic: fix missing VLAN filter offload

Message ID fbb78b3dabc2652be3e43e2c8feaf1e37620ee4e.1552402263.git.igor.russkikh@aquantia.com
State Accepted, archived
Delegated to: Ferruh Yigit
Headers show
Series
  • net/atlantic: bugfixes and code cleanup
Related show

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Igor Russkikh March 12, 2019, 3:25 p.m.
Original vlan offload code declared callbacks, but did not
enable the feature offload bit

Cc: stable@dpdk.org
Fixes: f7c2c2c8c558 ("net/atlantic: implement VLAN filters and offloads")
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
---
 drivers/net/atlantic/atl_ethdev.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Rami Rosen March 12, 2019, 8:03 p.m. | #1
Original vlan offload code declared callbacks, but did not
> enable the feature offload bit
>
> Cc: stable@dpdk.org
> Fixes: f7c2c2c8c558 ("net/atlantic: implement VLAN filters and offloads")
> Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
> ---
> Reviewed-by: Rami Rosen <ramirose@gmail.com>



>
>

Patch

diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c
index e43e1e724696..b05dc545d0b1 100644
--- a/drivers/net/atlantic/atl_ethdev.c
+++ b/drivers/net/atlantic/atl_ethdev.c
@@ -165,7 +165,8 @@  static struct rte_pci_driver rte_atl_pmd = {
 			| DEV_RX_OFFLOAD_IPV4_CKSUM \
 			| DEV_RX_OFFLOAD_UDP_CKSUM \
 			| DEV_RX_OFFLOAD_TCP_CKSUM \
-			| DEV_RX_OFFLOAD_JUMBO_FRAME)
+			| DEV_RX_OFFLOAD_JUMBO_FRAME \
+			| DEV_RX_OFFLOAD_VLAN_FILTER)
 
 #define ATL_TX_OFFLOADS (DEV_TX_OFFLOAD_VLAN_INSERT \
 			| DEV_TX_OFFLOAD_IPV4_CKSUM \