]> 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)
commitdd51c961a59be31e22171b6b8a01b26758e486d3
treec56c3cb3aa69983c0ba360d5277ca97546ee79de
parent771ac8f95f08a7503872ef85199b524e0b940f89
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