From: Igor Russkikh Date: Tue, 12 Mar 2019 15:25:07 +0000 (+0000) Subject: net/atlantic: fix missing VLAN filter offload X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ebf751d6a792fd0b689ba0d43fc6fb03f0696cd8;p=dpdk.git net/atlantic: fix missing VLAN filter offload Original vlan offload code declared callbacks, but did not enable the feature offload bit Fixes: f7c2c2c8c558 ("net/atlantic: implement VLAN filters and offloads") Cc: stable@dpdk.org Signed-off-by: Igor Russkikh --- diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c index e43e1e7246..b05dc545d0 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 \