linux/drivers/infiniband/hw
Jack Morgenstein 2b135db3e8 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: c1e7e46612 ('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>
2015-08-30 18:12:22 -04:00
..
cxgb3 cxgb3: Support ib_alloc_mr verb 2015-08-30 18:08:47 -04:00
cxgb4 iw_cxgb4: Support ib_alloc_mr verb 2015-08-30 18:08:47 -04:00
ehca IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
mlx4 IB/mlx4: Forbid using sysfs to change RoCE pkeys 2015-08-30 18:12:22 -04:00
mlx5 mlx5: Drop mlx5_ib_alloc_fast_reg_mr 2015-08-30 18:08:46 -04:00
mthca mlx4, mlx5, mthca: Expose max_sge_rd correctly 2015-08-28 23:02:10 -04:00
nes nes: Support ib_alloc_mr verb 2015-08-30 18:08:48 -04:00
ocrdma RDMA/ocrdma: Incorporate the moving of GID Table mgmt to IB/Core 2015-08-30 18:12:21 -04:00
qib qib: Support ib_alloc_mr verb 2015-08-30 18:08:48 -04:00
usnic IB/core: Pass hardware specific data in query_device 2015-06-12 14:49:10 -04:00
Makefile RDMA/amso1100: Deprecate the amso1100 driver and move to staging 2015-08-28 22:54:49 -04:00