diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2018-08-08 15:48:07 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-08 19:07:37 -0700 |
commit | 816f670623692b5da2787f278cbfdb331ed29b8a (patch) | |
tree | 4857bc0a0eb41dee7e99380157f2522dc94d8357 /drivers/dma/of-dma.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 <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/dma/of-dma.c')
0 files changed, 0 insertions, 0 deletions