OSDN Git Service

net/mlx5e: Change parse attr struct to accommodate multiple tunnel infos
authorEli Britstein <elibr@mellanox.com>
Sun, 18 Nov 2018 11:16:52 +0000 (13:16 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 11 Dec 2018 22:52:20 +0000 (14:52 -0800)
commit98b66cb1c9ff6ffbc6133ed649b2731638520992
tree179342fd9ec45db3e2abf941751e2947e49d7ec6
parent1cc26d74bb98bd9693f0e630ee1cac87d5ba9f20
net/mlx5e: Change parse attr struct to accommodate multiple tunnel infos

Currently the driver can support only a single TC tunnel_set action.
Change the tunnel info fields to arrays, as a pre-step to support
multiple encapsulations for a single flow, with no functional change.

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