linux/drivers/net/ethernet/mellanox/mlx4
Jack Morgenstein 105c320f6a mlx4_core: Allow guests to have IB ports
Modify mlx4_dev_cap to allow IB support when SR-IOV is active.  Modify
mlx4_slave_cap to set the "rdma-supported" bit in its flags area, and
pass that to the guests (this is done in QUERY_FUNC_CAP and its
wrapper).

However, we don't activate IB support quite yet -- we leave the error
return at the start of mlx4_ib_add in the mlx4_ib driver.

In addition, set "protected fmr supported" bit to zero in the
QUERY_FUNC_CAP wrapper.

Finally, in the QUERY_FUNC_CAP wrapper, we needed to add code which
checks for the port type (IB or Ethernet).  Previously, this was not
an issue, since only Ethernet ports were supported.

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>
2012-07-11 11:51:37 -07:00
..
alloc.c mlx4_core: Change bitmap allocator to work in round-robin fashion 2012-05-14 13:44:38 -07:00
catas.c mlx4_core: adjust catas operation for SRIOV mode 2011-12-13 13:56:08 -05:00
cmd.c net/mlx4_core: Fixes for VF / Guest startup flow 2012-05-31 18:18:16 -04:00
cq.c mlx4_core: removed function index from vf. 2012-01-22 15:08:43 -05:00
en_cq.c mlx4_en: Moving to Interrupts for TX completions 2012-04-23 22:34:02 -04:00
en_dcb_nl.c drivers/net: fix unresolved 64bit math in mellanox/mlx4/en_dcb_nl.c 2012-04-16 02:12:11 -04:00
en_ethtool.c mlx4_en: Added Ethtool support for TX Interrupt coalescing 2012-04-23 22:34:02 -04:00
en_main.c mlx4: Use port management change event instead of smp_snoop 2012-07-10 09:47:10 -07:00
en_netdev.c net/mlx4_en: Release QP range in free_resources 2012-06-25 16:30:12 -07:00
en_port.c mlx4: Ethernet port management modifications 2011-12-13 13:56:07 -05:00
en_port.h net/mlx4_core: set port QoS attributes 2012-04-05 05:08:03 -04:00
en_resources.c net/mlx4_en: Force user priority by QP attribute 2012-04-05 05:08:03 -04:00
en_rx.c net/mlx4_en: Force user priority by QP attribute 2012-04-05 05:08:03 -04:00
en_selftest.c mlx4_core: Add "native" argument to mlx4_cmd and its callers (where needed) 2011-12-13 13:56:05 -05:00
en_tx.c net/mlx4_en: num cores tx rings for every UP 2012-05-17 16:17:50 -04:00
eq.c mlx4: Use port management change event instead of smp_snoop 2012-07-10 09:47:10 -07:00
fw.c mlx4_core: Allow guests to have IB ports 2012-07-11 11:51:37 -07:00
fw.h mlx4_core: Add second capabilities flags field 2012-05-08 11:54:32 -07:00
icm.c mlx4_core: Add "native" argument to mlx4_cmd and its callers (where needed) 2011-12-13 13:56:05 -05:00
icm.h
intf.c mlx4: Use port management change event instead of smp_snoop 2012-07-10 09:47:10 -07:00
Kconfig net/mlx4_en: DCB QoS support 2012-04-05 05:08:04 -04:00
main.c mlx4_core: Allow guests to have IB ports 2012-07-11 11:51:37 -07:00
Makefile net/mlx4_en: DCB QoS support 2012-04-05 05:08:04 -04:00
mcg.c net/mlx4: Address build warnings on set but not used variables 2012-05-16 00:56:58 -04:00
mlx4_en.h net/mlx4_en: Release QP range in free_resources 2012-06-25 16:30:12 -07:00
mlx4.h mlx4: Use port management change event instead of smp_snoop 2012-07-10 09:47:10 -07:00
mr.c net/mlx4_core: Change SYNC_TPT to be native (not wrapped) 2012-05-16 00:56:58 -04:00
pd.c net/mlx4_core: Add XRC domains and counters to resource tracker 2012-05-16 00:56:59 -04:00
port.c mlx4_core: Fix setting VL_cap in mlx4_SET_PORT wrapper flow 2012-06-06 10:07:54 -07:00
profile.c net/mlx4_core: Fix number of EQs used in ICM initialisation 2012-05-31 18:18:16 -04:00
qp.c mlx4_core: remove buggy sched_queue masking 2012-03-06 14:43:50 -05:00
reset.c
resource_tracker.c net/mlx4_core: Fixed error flow in rem_slave_eqs 2012-05-16 00:56:59 -04:00
sense.c mlx4_core: Add "native" argument to mlx4_cmd and its callers (where needed) 2011-12-13 13:56:05 -05:00
srq.c mlx4_core: removed function index from vf. 2012-01-22 15:08:43 -05:00