]> 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)
commitae4b5e486e1912e68164e36e8491f07f09fc1dc5
treef5eb2a30c00b6a31d335b5e49cd29315a1ec82ac
parente257c49dee4d04aae7ef94ea67af1312adc19253
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: 2d598335bc2d ("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