RE: [PATCH] net/mlx4: fix empty ETH spec with VLAN support

2021-11-23 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Xiaoyu Min > Sent: Monday, November 22, 2021 3:53 PM > To: Matan Azrad ; Slava Ovsiienko > ; Dekel Peled > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [PATCH] net/mlx4: fix empty ETH spec with VLAN support > > When the ETH spe

[PATCH] net/mlx4: fix empty ETH spec with VLAN support

2021-11-22 Thread Xiaoyu Min
When the ETH spec is empty MLX4 PMD doesn't allow match other criteria, which means the flow should be promisc one. Currently, PMD validates this by setting flow->promisc bit when ETH spec is empty and checking whether there is other rte_flow_item followed when flow->promisc is on. However, commi