]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net/mlx5: Fix flow counter list auto bits struct
authorRoi Dayan <roid@mellanox.com>
Wed, 11 Sep 2019 11:44:50 +0000 (14:44 +0300)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 12 Nov 2019 17:47:41 +0000 (18:47 +0100)
commitc1020db547047dde2b5cc0b29ecf6d48b6fb29b5
tree934ee26d13f253f3dce2222457c1bc3a6b7acdf8
parent5e0e05bea64789226f2d81f15f24e3c8ff133eb3
net/mlx5: Fix flow counter list auto bits struct

BugLink: https://bugs.launchpad.net/bugs/1852111
[ Upstream commit 6dfef396ea13873ae9066ee2e0ad6ee364031fe2 ]

The union should contain the extended dest and counter list.
Remove the resevered 0x40 bits which is redundant.
This change doesn't break any functionally.
Everything works today because the code in fs_cmd.c is using
the correct structs if extended dest or the basic dest.

Fixes: 1b115498598f ("net/mlx5: Introduce extended destination fields")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
include/linux/mlx5/mlx5_ifc.h