aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorChris Mi <cmi@nvidia.com>2021-09-26 17:17:49 +0800
committerSaeed Mahameed <saeedm@nvidia.com>2021-10-04 18:10:54 -0700
commit2f8ec867b6c3dd4c236414e61d5a67e09f77ab4a (patch)
tree9530cf9753dd9c816f8905ca07efa108ef1714ac /lib/mpi/mpi-bit.c
parent3222efd4b3a37b68068fb1c7470248eea7123f19 (diff)
net/mlx5e: Specify out ifindex when looking up encap route
There is a use case that the local and remote VTEPs are in the same host. Currently, the out ifindex is not specified when looking up the encap route for offloads. So in this case, a local route is returned and the route dev is lo. Actual tunnel interface can be created with a parameter "dev" [1], which specifies the physical device to use for tunnel endpoint communication. Pass this parameter to driver when looking up encap route for offloads. So that a unicast route will be returned. [1] ip link add name vxlan1 type vxlan id 100 dev enp4s0f0 remote 1.1.1.1 dstport 4789 Signed-off-by: Chris Mi <cmi@nvidia.com> Reviewed-by: Maor Dickman <maord@nvidia.com> Reviewed-by: Roi Dayan <roid@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions