Files
linux/include/linux
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
..
2017-03-07 14:30:38 +01:00
2017-01-24 12:37:43 -08:00
2016-07-08 16:23:11 +02:00
2016-12-22 22:58:37 -05:00
2016-10-19 14:34:36 -04:00
2017-02-10 15:52:24 -05:00
2017-01-25 13:17:47 -05:00
2017-04-11 14:38:43 -04:00
2016-08-11 09:41:35 -06:00
2016-12-08 16:37:33 -08:00
2017-02-24 17:46:55 -08:00
2017-02-04 00:47:59 +01:00
2016-12-05 19:01:16 -05:00
2016-10-28 08:48:16 -06:00
2016-05-17 15:48:12 -04:00
2017-02-27 10:07:47 -08:00
2016-12-05 19:01:16 -05:00
2016-12-25 17:21:22 +01:00
2017-03-22 00:18:22 -07:00
2017-02-11 20:59:41 -05:00
2016-02-11 09:59:22 -05:00
2017-03-22 16:16:17 +01:00
2016-09-14 09:18:09 -06:00
2017-01-05 15:01:55 -06:00
2016-05-11 22:37:54 +02:00
2016-01-28 14:19:12 -08:00
2017-02-01 09:13:45 +01:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2015-07-28 08:50:42 +01:00
2016-12-12 18:55:06 -08:00
2016-12-25 17:21:23 +01:00
2016-01-15 17:56:32 -08:00
2017-02-24 17:46:57 -08:00
2016-09-27 12:33:47 +02:00
2016-12-06 11:05:46 +01:00
2017-01-12 16:48:26 -05:00
2016-07-29 12:17:52 -07:00
2016-11-16 18:32:02 -05:00
2016-04-25 15:09:11 -04:00
2016-02-16 13:04:58 -05:00
2016-12-12 18:55:07 -08:00
2016-12-06 10:17:03 +02:00
2017-04-11 11:16:03 -04:00
2016-02-11 18:35:48 -08:00
2016-03-14 15:43:11 -04:00
2016-10-31 16:18:30 -04:00
2016-10-14 11:36:59 -07:00
2016-07-12 19:25:38 -07:00
2016-09-27 21:52:00 -04:00
2016-11-15 16:34:27 -08:00
2016-03-17 15:09:34 -07:00
2017-02-13 21:44:09 -05:00
2016-07-06 10:51:14 +01:00
2016-03-22 15:36:02 -07:00
2016-06-14 10:54:40 -07:00
2017-02-27 18:43:46 -08:00
2016-01-04 16:11:11 -05:00
2017-01-09 16:07:38 -05:00
2016-10-05 18:23:36 -04:00
2017-03-22 12:15:15 -07:00
2017-02-03 11:19:34 -05:00
2016-12-25 17:21:22 +01:00
2017-01-10 18:31:55 -08:00
2015-10-01 09:57:59 -07:00
2016-07-19 17:43:38 +03:00
2017-02-03 10:17:02 +01:00
2017-02-10 16:34:17 +00:00
2017-03-21 14:41:46 -07:00
2016-12-12 18:55:08 -08:00
2017-01-11 09:21:41 +01:00
2015-12-03 07:24:29 -08:00
2017-02-02 15:22:18 -05:00
2015-09-08 15:35:28 -07:00