]> git.baikalelectronics.ru Git - 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)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 29 Oct 2019 23:27:17 +0000 (16:27 -0700)
commit09ca465341c1e16c35a74a3be47547df215ec25d
treef5eb2a30c00b6a31d335b5e49cd29315a1ec82ac
parentcfdb9eba02599563befc2bafe0ec6ae5bcb80df1
net/mlx5: Fix flow counter list auto bits struct

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: 391b67947990 ("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>
include/linux/mlx5/mlx5_ifc.h