> -----Original Message----- > From: dev [mailto:dev-boun...@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@dpdk.org; Dai, Wei; sta...@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: sta...@dpdk.org > > Signed-off-by: Wei Dai <weid....@intel.com> > Signed-off-by: Yanglong Wu <yanglong...@intel.com> > > Acked-by: Qi Zhang <qi.z.zh...@intel.com> Applied to dpdk-next-net-intel, thanks!
/Helin