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)
commitdf65a573eab28059e5dd1d5c32ad270dcf9cbf24
treec56c3cb3aa69983c0ba360d5277ca97546ee79de
parente85e02bad29e822c3ebde80e7c9e7428329c4a5b
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