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