net/mlx5e: Allow association of a flow to multiple encaps
authorEli Britstein <elibr@mellanox.com>
Sun, 2 Dec 2018 07:44:13 +0000 (09:44 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 11 Dec 2018 22:52:20 +0000 (14:52 -0800)
commit79baaec71989afa805a0f2dd532451a6103e11b4
treeb16a6691a7d31ad84e5159c921793b6e427aca92
parent98b66cb1c9ff6ffbc6133ed649b2731638520992
net/mlx5e: Allow association of a flow to multiple encaps

Currently a flow can be associated with a single encap entry. The
extended destination feature enables the driver to configure multiple
encap entries per flow.

Change the encap flow association field to array as a pre-step towards
supporting multiple encap destinations. Use only the first array
element, 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