[dpdk-dev] [PATCH v5 22/31] net/ice: support VLAN ops

Ferruh Yigit ferruh.yigit at intel.com
Mon Dec 17 23:45:11 CET 2018


On 12/17/2018 7:37 AM, Wenzhuo Lu wrote:
> Add below ops,
> ice_vlan_filter_set
> ice_vlan_offload_set
> ice_vlan_tpid_set
> ice_vlan_pvid_set
> 
> Signed-off-by: Wenzhuo Lu <wenzhuo.lu at intel.com>
> Signed-off-by: Qiming Yang <qiming.yang at intel.com>
> Signed-off-by: Xiaoyun Li <xiaoyun.li at intel.com>
> Signed-off-by: Jingjing Wu <jingjing.wu at intel.com>
> ---
>  doc/guides/nics/features/ice.ini |   3 +
>  doc/guides/nics/ice.rst          |  16 ++
>  drivers/net/ice/ice_ethdev.c     | 590 +++++++++++++++++++++++++++++++++++++++
>  3 files changed, 609 insertions(+)
> 
> diff --git a/doc/guides/nics/features/ice.ini b/doc/guides/nics/features/ice.ini
> index 759a036..5ac8e56 100644
> --- a/doc/guides/nics/features/ice.ini
> +++ b/doc/guides/nics/features/ice.ini
> @@ -12,6 +12,9 @@ MTU update           = Y
>  Jumbo frame          = Y
>  Unicast MAC filter   = Y
>  Multicast MAC filter = Y
> +VLAN filter          = Y
> +VLAN offload         = Y
> +QinQ offload         = Y

To claim VLAN & QINQ support, data path also needs to be updated, to set proper
flags and vlan_tci & vlan_tci_outer on Rx path and to check and use them in Tx path.

This patch does not updates data path.



More information about the dev mailing list