]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Consider encapsulation properties when comparing destinations
authorEli Britstein <elibr@mellanox.com>
Sun, 18 Nov 2018 06:25:17 +0000 (08:25 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 11 Dec 2018 22:52:19 +0000 (14:52 -0800)
commit495ec8e8d34f3632413116588bb38ea0126ffeb6
tree2467bb1455f8262bd5845223c7d43206ce345501
parentb83343605d2eaa49ff84cc13cbfefb4a11fb7501
net/mlx5: Consider encapsulation properties when comparing destinations

Currently the driver identifies identical vport destinations by
comparing the vport ID. The FW extended destination feature enables the
driver to forward the packet to the same vport with multiple
encapsulation properties.

Change the vport destination comparison logic to compare
the encapsulation properties in addition to the vport ID.

Signed-off-by: Eli Britstein <elibr@mellanox.com>
Acked-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c