]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9288765ad42350c4fb5c548823ca3f199995b351
treeb16a6691a7d31ad84e5159c921793b6e427aca92
parentc55a7b7e54675da3f31f5075e3180ff369458f78
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