diff options
author | Or Gerlitz <[email protected]> | 2018-08-08 15:48:07 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-08-08 19:07:37 -0700 |
commit | 816f670623692b5da2787f278cbfdb331ed29b8a (patch) | |
tree | 4857bc0a0eb41dee7e99380157f2522dc94d8357 /lib/test_overflow.c | |
parent | b13f9c6364373a1b9f71e9846dc4fb199296f926 (diff) |
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 <[email protected]>
Reported-by: Alaa Hleihel <[email protected]>
Tested-by: Alaa Hleihel <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions