[dpdk-stable] [PATCH] [18.11] net/mlx5: fix match on empty VLAN item in DV mode

Kevin Traynor ktraynor at redhat.com
Tue Dec 8 11:51:06 CET 2020


On 08/12/2020 09:23, Viacheslav Ovsiienko wrote:
> From: Dekel Peled <dekelp at mellanox.com>
> 
> From: Dekel Peled <dekelp at mellanox.com>
> 

Removed duplicate From: ^ as it was embedding in commit msg.

Please add upstream commit info for backports. For this one I added

[ upstream commit 92818d839e8eb0ce479db826f00aa6d62384fc92 ]

> In existing implementation, using wild card VLAN item is not allowed.
> A VLAN item in flow pattern must include VLAN ID (vid) value.
> This obligation contradict the flow API specification.
> 
> This patch updates the VLAN item validation and translation, to allow
> wild card VLAN item, without VLAN ID value.
> User guide and release notes are updated accordingly.
> 
> Fixes: 3d79e4f2d563 ("net/mlx5: fix VLAN match for DV mode")
> 

Changed to fixed commit on main branch
Fixes: 00f75a40576b ("net/mlx5: fix VLAN match for DV mode")

If it's a backport where the main branch commit fixes something on main,
then we keep that Fixes: tag. If is fixing an LTS only issue then can
use the LTS branch commit id in the Fixes:.

> Signed-off-by: Dekel Peled <dekelp at mellanox.com>
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
> --->  doc/guides/nics/mlx5.rst        | 24 +++++++++++++
>  drivers/net/mlx5/mlx5_flow_dv.c | 74 ++++++++++++++++++++++++++++++++++++-----
>  2 files changed, 90 insertions(+), 8 deletions(-)
> 

Applied, thanks.



More information about the stable mailing list