Amir Vadai
43a335e055
net/mlx5_core: Flow counters infrastructure
...
If a counter has the aging flag set when created, it is added to a list
of counters that will be queried periodically from a workqueue. query
result and last use timestamp are cached.
add/del counter must be very efficient since thousands of such
operations might be issued in a second.
There is only a single reference to counters without aging, therefore
no need for locks.
But, counters with aging enabled are stored in a list. In order to make
code as lockless as possible, all the list manipulation and access to
hardware is done from a single context - the periodic counters query
thread.
The hardware supports multiple counters per FTE, however currently we
are using one counter for each FTE.
Signed-off-by: Amir Vadai <amirva@mellanox.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2016-05-16 13:43:51 -04:00
..
2016-03-07 14:41:08 +02:00
2014-08-06 18:01:23 -07:00
2016-05-09 11:07:28 +02:00
2016-04-25 20:54:13 +02:00
2016-03-23 06:06:45 -07:00
2016-03-04 23:50:27 -06:00
2016-01-27 14:32:48 -08:00
2016-03-28 10:36:30 +01:00
2016-05-05 23:23:05 -04:00
2016-05-16 13:43:51 -04:00
2016-03-10 10:52:21 -08:00
2016-04-29 11:02:33 +02:00
2015-12-21 14:26:28 +05:30
2016-03-24 19:57:15 -07:00
2016-03-17 12:50:55 -07:00
2016-05-12 00:04:08 -04:00
2016-01-21 14:47:08 -08:00
2016-03-13 15:19:35 +07:00
2016-03-17 15:09:34 -07:00
2016-05-08 23:46:14 -04:00
2016-03-17 21:51:52 -07:00
2016-04-04 10:41:08 -07:00
2016-03-17 15:09:34 -07:00
2016-03-05 12:05:01 -08:00
2013-12-02 11:24:18 +00:00
2016-03-11 14:00:03 +02:00
2016-03-07 16:11:14 -08:00
2016-03-29 11:52:11 +02:00
2016-03-15 16:55:16 -07:00
2016-03-15 16:55:16 -07:00
2016-04-04 10:41:08 -07:00
2015-11-05 14:51:32 -08:00
2016-04-04 10:41:08 -07:00
2016-02-19 22:54:09 -05:00
2016-03-20 09:34:02 -06:00
2016-04-04 10:41:08 -07:00
2016-05-04 00:52:29 -04:00
2016-03-25 11:37:57 -04:00
2016-04-04 10:41:08 -07:00
2016-03-22 15:36:02 -07:00
2016-03-11 21:19:16 +08:00
2015-01-20 14:02:58 -07:00
2016-04-25 15:45:14 -04:00
2016-03-17 15:09:34 -07:00
2016-03-22 15:36:02 -07:00
2016-05-09 11:54:29 -07:00
2016-03-15 09:01:06 +01:00
2016-03-25 19:10:03 +01:00
2008-06-04 14:56:12 +01:00
2016-03-10 20:46:03 +01:00
2016-03-22 15:36:02 -07:00
2016-04-25 15:45:14 -04:00
2016-03-22 15:36:02 -07:00
2016-05-10 23:55:01 -04:00
2013-05-12 14:16:21 +02:00
2016-02-07 22:26:47 -08:00
2016-03-10 17:12:09 -05:00
2016-03-23 06:06:45 -07:00
2016-04-26 15:47:32 -07:00
2016-03-19 11:03:49 +01:00
2016-03-20 13:28:18 -07:00
2016-03-14 11:18:12 +05:30
2015-09-08 15:35:28 -07:00
2014-09-29 00:04:55 -04:00
2016-03-20 18:58:18 -07:00
2012-10-13 10:46:48 +01:00
2016-01-06 16:31:56 -05:00
2016-04-18 14:45:08 -04:00
2016-04-04 10:41:08 -07:00
2016-03-15 16:55:16 -07:00
2016-03-25 08:48:31 -07:00
2016-05-06 16:01:54 -04:00
2014-01-21 23:17:20 -08:00
2016-03-17 15:09:34 -07:00
2009-12-17 10:58:17 -05:00
2016-04-07 17:22:20 -07:00
2016-04-12 10:25:30 -07:00
2016-03-19 18:52:29 -07:00
2016-03-14 00:17:28 -04:00
2016-03-25 16:37:42 -07:00
2016-05-10 15:43:09 -04:00
2016-03-17 15:09:34 -07:00
2016-05-02 13:01:51 -07:00
2016-03-17 15:09:34 -07:00
2016-04-28 19:34:04 -07:00
2016-04-06 13:18:19 +02:00
2016-04-13 10:41:08 +02:00
2016-03-11 14:58:58 -05:00
2016-05-03 16:00:54 -04:00
2015-12-04 10:34:46 +01:00
2014-05-14 16:40:04 -07:00
2016-03-25 16:37:42 -07:00
2016-03-22 15:36:02 -07:00
2016-04-05 13:25:12 +02:00
2016-03-16 17:45:56 -07:00
2016-05-11 19:31:40 -04:00
2016-03-15 12:48:48 -07:00
2016-03-17 22:13:41 -07:00
2016-03-14 10:30:57 -04:00
2016-03-25 16:37:42 -07:00
2016-03-22 15:36:02 -07:00
2007-07-31 15:39:40 -07:00
2014-12-13 13:33:07 +01:00
2016-03-24 10:52:25 -07:00
2014-10-14 15:05:34 -04:00
2016-05-09 12:15:03 -04:00
2016-03-22 15:36:02 -07:00
2016-03-14 09:22:20 +01:00
2016-03-05 12:24:06 -08:00
2016-03-18 18:10:38 -07:00
2016-03-17 15:09:34 -07:00
2016-03-09 15:43:42 -08:00
2016-03-17 09:45:10 +01:00
2016-04-23 13:53:03 +02:00
2016-03-14 12:19:46 -04:00
2016-04-11 21:15:48 -04:00
2016-03-17 15:09:34 -07:00
2016-03-15 16:55:16 -07:00
2016-03-17 13:47:50 -07:00
2016-03-15 16:55:16 -07:00
2016-03-20 16:47:13 -04:00
2016-04-04 10:41:08 -07:00
2016-05-12 15:52:50 -07:00
2016-03-15 16:55:16 -07:00
2016-03-17 15:09:34 -07:00
2016-02-03 16:58:15 +10:30
2015-03-12 18:46:08 -07:00
2015-11-06 17:50:42 -08:00
2016-05-10 23:56:28 -04:00
2016-03-05 12:24:06 -08:00
2016-05-04 00:52:29 -04:00
2016-04-21 14:14:58 -04:00
2016-05-11 19:31:40 -04:00
2016-03-17 14:57:16 -04:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-25 15:09:11 -04:00
2016-03-23 12:34:17 +01:00
2012-12-11 17:22:27 -08:00
2016-03-21 19:30:06 -04:00
2016-04-27 23:40:02 +02:00
2016-03-25 16:37:42 -07:00
2013-03-29 17:54:33 -07:00
2016-03-15 16:55:16 -07:00
2016-03-15 16:55:16 -07:00
2016-03-17 15:09:34 -07:00
2016-03-17 15:09:34 -07:00
2016-05-05 17:38:53 -07:00
2016-04-04 10:41:08 -07:00
2012-10-13 10:46:48 +01:00
2016-03-15 08:52:28 -05:00
2016-03-07 11:39:16 -06:00
2016-04-15 13:00:11 -05:00
2016-04-07 21:04:26 -04:00
2016-03-14 15:43:11 -04:00
2016-05-10 15:06:19 -04:00
2016-03-17 02:32:04 +01:00
2016-04-14 09:01:47 -06:00
2016-03-15 16:55:16 -07:00
2016-03-17 15:09:34 -07:00
2016-03-02 17:13:02 -08:00
2016-03-10 09:43:36 -08:00
2016-03-03 14:23:43 -08:00
2016-03-17 15:09:34 -07:00
2016-03-17 15:09:34 -07:00
2016-04-14 21:14:03 -04:00
2016-04-23 18:51:33 -04:00
2016-03-15 13:50:29 -07:00
2016-03-05 21:30:41 +09:00
2016-01-25 10:58:44 +01:00
2016-04-05 10:56:32 +02:00
2015-11-02 14:23:38 -05:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-03-17 15:09:34 -07:00
2016-03-10 16:04:24 -08:00
2006-07-13 13:21:35 -07:00
2016-03-14 17:08:15 +01:00
2016-03-29 11:52:11 +02:00
2016-04-15 17:29:35 -04:00
2012-10-13 10:46:48 +01:00
2016-04-14 12:56:09 -07:00
2016-05-03 00:22:19 -04:00
2016-03-25 16:37:42 -07:00
2016-03-25 16:37:42 -07:00
2016-03-25 16:37:42 -07:00
2016-05-08 23:46:14 -04:00
2016-03-25 16:37:42 -07:00
2008-05-26 16:15:32 +02:00
2015-04-14 09:50:27 -07:00
2006-12-07 02:14:08 +01:00
2016-04-02 20:23:09 -04:00
2016-03-17 15:09:34 -07:00
2009-04-10 15:48:52 +02:00
2016-05-12 15:52:50 -07:00
2016-03-04 12:20:10 -05:00
2012-09-13 16:47:34 +02:00
2016-03-14 14:55:26 -04:00
2016-04-20 20:31:14 -07:00
2016-03-17 15:09:34 -07:00
2015-06-19 15:18:28 +02:00
2014-07-18 11:49:57 +02:00
2016-04-21 13:48:20 -04:00
2016-03-15 16:55:16 -07:00
2016-03-09 11:58:41 -05:00
2016-04-26 15:47:32 -07:00
2016-05-04 16:55:11 -04:00
2016-04-07 16:53:29 -04:00
2016-04-08 19:46:28 -04:00
2016-04-13 12:02:28 -07:00
2016-03-17 15:09:34 -07:00
2016-03-16 21:11:19 +01:00
2016-01-29 13:31:10 -05:00
2016-03-03 14:42:50 -07:00