diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2018-08-09 01:48:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-09 05:07:37 +0300 |
commit | 816f670623692b5da2787f278cbfdb331ed29b8a (patch) | |
tree | 4857bc0a0eb41dee7e99380157f2522dc94d8357 /drivers/net/plip | |
parent | b13f9c6364373a1b9f71e9846dc4fb199296f926 (diff) | |
download | linux-816f670623692b5da2787f278cbfdb331ed29b8a.tar.xz |
net/mlx5e: Properly check if hairpin is possible between two functions
The current check relies on function BDF addresses and can get
us wrong e.g when two VFs are assigned into a VM and the PCI
v-address is set by the hypervisor.
Fixes: 5c65c564c962 ('net/mlx5e: Support offloading TC NIC hairpin flows')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reported-by: Alaa Hleihel <alaa@mellanox.com>
Tested-by: Alaa Hleihel <alaa@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/plip')
0 files changed, 0 insertions, 0 deletions