OSDN Git Service

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)
commitaa39c2c0e44d16b5804f8fb6b5350cdf4e33b4c3
tree73b83642ab72d6b5ba9f9ddffa4506a6a07b9b0f
parent1b115498598f25d578cfc0df7b7aea9772bae0a1
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