]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Change vhca id valid bool field to bit flag
authorEli Britstein <elibr@mellanox.com>
Mon, 10 Dec 2018 21:15:15 +0000 (13:15 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 10 Dec 2018 22:00:08 +0000 (14:00 -0800)
commitd3f30d2e752ab964239bdc6b7cad1ed9fc99e2bb
tree73b83642ab72d6b5ba9f9ddffa4506a6a07b9b0f
parent2d598335bc2d3b41c1a529f73933072d60d910cf
net/mlx5: E-Switch, Change vhca id valid bool field to bit flag

Change the driver flow destination struct to use bit flags with the vhca
id valid being the 1st one. The flags field is more extendable and will
be used in downstream patch.

Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
include/linux/mlx5/fs.h