linux/drivers/infiniband/hw/mlx5
Meny Yossefi 3efd9a1121 IB/mlx5: Modify MAD reading counters method to use counter registers
Modify mlx5_ib_process_mad to use PPCNT and query_vport commands
instead of MAD_IFC, as MAD_IFC is deprecated on new firmware
versions (and doesn't support RoCE anyway).

Traffic counters exist in both 32-bit and 64-bit forms.
Declaring support of extended coutners results in traffic counters
to be read in their 64-bit form only via the query_vport command.
Error counters exist only in 32-bit form and read via PPCNT command.

This commit also adds counters support in RoCE.

Signed-off-by: Meny Yossefi <menyy@mellanox.com>
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-03-01 10:57:15 -05:00
..
ah.c IB/mlx5: Add RoCE fields to Address Vector 2015-12-23 12:07:37 -05:00
cq.c Initial roundup of 4.5 merge window patches 2016-01-23 18:45:06 -08:00
doorbell.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
Kconfig net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality 2015-05-30 18:24:51 -07:00
mad.c IB/mlx5: Modify MAD reading counters method to use counter registers 2016-03-01 10:57:15 -05:00
main.c IB/mlx5: Fix reqlen validation in mlx5_ib_alloc_ucontext 2016-02-02 16:42:22 -05:00
Makefile IB/mlx5: Implement the ODP capability query verb 2014-12-15 18:19:02 -08:00
mem.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
mlx5_ib.h Initial roundup of 4.5 merge window patches 2016-01-23 18:45:06 -08:00
mr.c IB/mlx5: Postpone remove_keys under knowledge of coming preemption 2015-12-08 16:55:31 -05:00
odp.c IB/mlx5: Refactor mlx5_ib_qp to accommodate other QP types 2016-01-21 12:01:09 -05:00
qp.c IB/mlx5: Fix RC transport send queue overhead computation 2016-02-12 14:56:08 -05:00
srq.c IB/mlx5: Add CQE version 1 support to user QPs and SRQs 2016-01-21 12:01:08 -05:00
user.h IB/mlx5: Add create and destroy functionality for Raw Packet QP 2016-01-21 12:01:09 -05:00