aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/cq.c
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2015-07-30 17:34:23 +0300
committerDoug Ledford <dledford@redhat.com>2015-08-30 18:12:22 -0400
commit2b135db3e81301d0452e6aa107349abe67b097d6 (patch)
treeba54c6a19f12f68c88c5209a52abb2101168ce86 /drivers/infiniband/hw/mlx4/cq.c
parentIB/mlx4: Demote mcg message from warning to debug (diff)
downloadlinux-dev-2b135db3e81301d0452e6aa107349abe67b097d6.tar.xz
linux-dev-2b135db3e81301d0452e6aa107349abe67b097d6.zip
IB/mlx4: Forbid using sysfs to change RoCE pkeys
The pkey mapping for RoCE must remain the default mapping: VFs: virtual index 0 = mapped to real index 0 (0xFFFF) All others indices: mapped to a real pkey index containing an invalid pkey. PF: virtual index i = real index i. Don't allow users to change these mappings using files found in sysfs. Fixes: c1e7e466120b ('IB/mlx4: Add iov directory in sysfs under the ib device') Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/cq.c')
0 files changed, 0 insertions, 0 deletions