linux_dsm_epyc7002/include/linux/mlx5
Parav Pandit e1f24a79f4 IB/mlx5: Support congestion related counters
This patch adds support to query the congestion related hardware counters
through new command and links them with other hw counters being available
in hw_counters sysfs location.

In order to reuse existing infrastructure it renames related q_counter
data structures to more generic counters to reflect q_counters and
congestion counters and maybe some other counters in the future.

New hardware counters:
 * rp_cnp_handled - CNP packets handled by the reaction point
 * rp_cnp_ignored - CNP packets ignored by the reaction point
 * np_cnp_sent    - CNP packets sent by notification point to respond to
                     CE marked RoCE packets
 * np_ecn_marked_roce_packets - CE marked RoCE packets received by
                                notification point

It also avoids returning ENOSYS which is specific for invalid
system call and produces the following checkpatch.pl warning.

WARNING: ENOSYS means 'invalid syscall nr' and nothing else
+		return -ENOSYS;

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-04-21 12:29:31 -04:00
..
cmd.h
cq.h IB/mlx5: Support 4k UAR for libmlx5 2017-01-09 20:25:09 +02:00
device.h net/mlx5: Fix static checker warnings 2017-02-06 11:21:34 +02:00
doorbell.h IB/mlx5: Use blue flame register allocator in mlx5_ib 2017-01-09 20:25:08 +02:00
driver.h net/mlx5e: Single bfreg (UAR) for all mlx5e SQs and netdevs 2017-03-24 19:11:45 -07:00
fs.h net/mlx5: Refactor create flow table method to accept underlay QP 2017-04-17 11:08:29 -04:00
mlx5_ifc.h IB/mlx5: Support congestion related counters 2017-04-21 12:29:31 -04:00
port.h net/mlx5: Add DCBX firmware commands support 2016-11-28 15:09:35 -05:00
qp.h net/mlx5e: IPoIB, Xmit flow 2017-04-17 11:08:31 -04:00
srq.h net/mlx5: Ensure SRQ physical address structure endianness 2016-10-30 15:43:10 +02:00
transobj.h
vport.h net/mlx5: Push min-inline mode resolution helper into the core 2017-01-24 21:14:05 +02:00