[dpdk-dev] [PATCH v5] net/ixgbe: fix to config VLAN strip on the fly

Zhang, Helin helin.zhang at intel.com
Mon May 21 03:15:51 CEST 2018



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wei Dai
> Sent: Saturday, May 19, 2018 6:11 PM
> To: Zhang, Qi Z; Yigit, Ferruh; Lu, Wenzhuo; Ananyev, Konstantin; Wu,
> Yanglong
> Cc: dev at dpdk.org; Dai, Wei; stable at dpdk.org; Wei Dai
> Subject: [dpdk-dev] [PATCH v5] net/ixgbe: fix to config VLAN strip on the fly
> 
> The old ixgbe_vlan_offload_set() is called by
> rte_eth_dev_set_vlan_offload() which is meant to config VLAN
> strip/filter/extend on all queues.
> This old function is also called by rte_eth_dev_start()/ixgbe_dev_start()
> which need support per-queue VALN strip on only parts of queues.
> 
> So add new function ixgbe_vlan_offload_config() = old
> ixgbe_vlan_offload_set().
> This new function is called by ixgbe_dev_start() to support VLAN strip per-
> queue configuration.
> 
> New ixgbe_vlan_offload_set() = codes to align VLAN strip flags on all queues
> with port level setting + new ixgbe_vlan_offload_configure().
> The 2nd function is called by rte_eth_dev_set_vlan_offload to support
> configure VLAN strip on all queues of whole port.
> 
> Fixes: 216f78f4d53f ("net/ixgbe: support VLAN strip per queue offloading in PF")
> Fixes: 860a94d3c692 ("net/ixgbe: support VLAN strip per queue offloading in
> VF")
> 
> Cc: stable at dpdk.org
> 
> Signed-off-by: Wei Dai <weid.dai at intel.com>
> Signed-off-by: Yanglong Wu <yanglong.wu at intel.com>
> 
> Acked-by: Qi Zhang <qi.z.zhang at intel.com>
Applied to dpdk-next-net-intel, thanks!

/Helin


More information about the dev mailing list