linux/drivers/infiniband/hw/mlx4
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
..
ah.c IB/mlx4: Replace mechanism for RoCE GID management 2015-08-30 18:12:21 -04:00
alias_GUID.c net/mlx4_core: Modify port values when generting EQEs for VFs 2015-05-24 23:05:09 -04:00
cm.c IB/mlx4: In mlx4_ib_demux_cm, print out GUID in host-endian order 2015-02-17 22:11:40 -08:00
cq.c IB/mlx4: Add support for CQ time-stamping 2015-06-12 14:49:10 -04:00
doorbell.c IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
Kconfig IB/mlx4: Add dependency INET 2014-01-19 15:14:05 -08:00
mad.c IB/mlx4: Fix use of flow-counters for process_mad 2015-07-14 13:20:14 -04:00
main.c IB/mlx4: Replace mechanism for RoCE GID management 2015-08-30 18:12:21 -04:00
Makefile
mcg.c IB/mlx4: Demote mcg message from warning to debug 2015-08-30 18:12:22 -04:00
mlx4_ib.h IB/mlx4: Replace mechanism for RoCE GID management 2015-08-30 18:12:21 -04:00
mr.c mlx4: Support ib_alloc_mr verb 2015-08-30 18:08:46 -04:00
qp.c IB/mlx4: Replace mechanism for RoCE GID management 2015-08-30 18:12:21 -04:00
srq.c IB/mlx4: Reset flow support for IB kernel ULPs 2015-02-09 14:03:53 -08:00
sysfs.c IB/mlx4: Forbid using sysfs to change RoCE pkeys 2015-08-30 18:12:22 -04:00
user.h