Re: [dpdk-dev] [PATCH v2] net/mlx5: fix validation of push VLAN without full mask

2020-04-15 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Xiaoyu Min > Sent: Monday, April 13, 2020 6:33 AM > To: Raslan Darawsheh ; Matan Azrad > ; Shahaf Shuler ; Slava > Ovsiienko > Cc: dev@dpdk.org; sta...@dpdk.org; Dekel Peled > Subject: [PATCH v2] net/mlx5: fix validation of push VLAN without full mask >

[dpdk-dev] [PATCH v2] net/mlx5: fix validation of push VLAN without full mask

2020-04-12 Thread Xiaoyu Min
Due the limitation of HW, when PMD create push VLAN action it needs to know what exactly the value of VID/PCP. PMD try to figure out them via: - of_set_vlan_vid/pcp actions - VLAN item in pattern If none of above is provided, default value - zero is used. However user will write rule like [1]