]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Refactor eswitch flow attr for destination specific properties
authorEli Britstein <elibr@mellanox.com>
Sat, 1 Dec 2018 07:40:43 +0000 (09:40 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 11 Dec 2018 22:52:19 +0000 (14:52 -0800)
commit9640d631e08755f2145bde979b4fab5f6d7085c4
treec56c3cb3aa69983c0ba360d5277ca97546ee79de
parentd66cf0954d78b764eabb6e041685044504efa38c
net/mlx5e: Refactor eswitch flow attr for destination specific properties

Currently the eswitch flow attr structure stores each destination
specific property in its own specific array.
Group them in an array of destination structures as a pre-step towards
adding additional destination specific field properties.

Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c