diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2014-05-29 16:31:04 +0300 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-05-29 21:13:19 -0700 |
commit | 65fed8a8c155271cf647651bd62eecb5928ae3a4 (patch) | |
tree | 786147e4ce5f7a1e5d753a9fbf125f025879cc43 /drivers/fmc | |
parent | 99ec41d0a48cb6d14af25765f9449762f9d101f6 (diff) | |
download | blackbird-op-linux-65fed8a8c155271cf647651bd62eecb5928ae3a4.tar.gz blackbird-op-linux-65fed8a8c155271cf647651bd62eecb5928ae3a4.zip |
IB/mlx4: Add interface for selecting VFs to enable QP0 via MLX proxy QPs
This commit adds the sysfs interface for enabling QP0 on VFs for
selected VF/port.
By default, no VFs are enabled for QP0 operation.
To enable QP0 operation on a VF/port, under
/sys/class/infiniband/mlx4_x/iov/<b:d:f>/ports/x there are two new entries:
- smi_enabled (read-only). Indicates whether smi is currently
enabled for the indicated VF/port
- enable_smi_admin (rw). Used by the admin to request that smi
capability be enabled or disabled for the indicated VF/port.
0 = disable, 1 = enable.
The requested enablement will occur at the next reset of the
VF (e.g. driver restart on the VM which owns the VF).
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/fmc')
0 files changed, 0 insertions, 0 deletions