aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2012-06-19 11:21:33 +0300
committerRoland Dreier <roland@purestorage.com>2012-07-08 18:05:05 -0700
commit752a50cab600c6d46c5a1921c6a6d2fb116c8a4b (patch)
treeb6b4fac3ff771523c737eeb0ad922903977b2ec8 /include/rdma
parentLinux 3.5-rc5 (diff)
downloadlinux-dev-752a50cab600c6d46c5a1921c6a6d2fb116c8a4b.tar.xz
linux-dev-752a50cab600c6d46c5a1921c6a6d2fb116c8a4b.zip
mlx4_core: Pass an invalid PCI id number to VFs
Currently, VFs have 0 in their dev->caps.function field. This is a valid pci id (usually of the PF). Instead, pass an invalid PCI id to the VF via QUERY_FW, so that if the value gets accessed in the VF driver, we'll catch the problem. Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions