diff options
author | Eli Britstein <elibr@mellanox.com> | 2018-11-18 15:21:46 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-12-12 01:52:20 +0300 |
commit | 8c4dc42bf6e4ffeda49cf5e26bfc991b548fc0aa (patch) | |
tree | e90164d7dc5d82b5b4377d06984889951898dfc3 /include/linux/mlx5/cq.h | |
parent | 79baaec71989afa805a0f2dd532451a6103e11b4 (diff) | |
download | linux-8c4dc42bf6e4ffeda49cf5e26bfc991b548fc0aa.tar.xz |
net/mlx5e: Support multiple encapsulations for a TC flow
Currently a flow is associated with a single encap structure. The FW
extended destination features enables the driver to associate a flow
with multiple encap instances.
Change the encap id field from a flow scope to a per destination value
in the flow attributes struct. Use the encaps array to associate a flow
table entry with multiple encap entries.
Update the neigh logic to offload only if all encapsulations used in a
flow are connected, and un-offload upon the first one disconnected.
Note that the driver can now support up to two encap destinations.
Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux/mlx5/cq.h')
0 files changed, 0 insertions, 0 deletions