Zhu Yanjun
fe3475af3b
net: rds: add per rds connection cache statistics
...
The variable cache_allocs is to indicate how many frags (KiB) are in one
rds connection frag cache.
The command "rds-info -Iv" will output the rds connection cache
statistics as below:
"
RDS IB Connections:
LocalAddr RemoteAddr Tos SL LocalDev RemoteDev
1.1.1.14 1.1.1.14 58 255 fe80::2:c903🅰️ 7a31 fe80::2:c903🅰️ 7a31
send_wr=256, recv_wr=1024, send_sge=8, rdma_mr_max=4096,
rdma_mr_size=257, cache_allocs=12
"
This means that there are about 12KiB frag in this rds connection frag
cache.
Since rds.h in rds-tools is not related with the kernel rds.h, the change
in kernel rds.h does not affect rds-tools.
rds-info in rds-tools 2.0.5 and 2.0.6 is tested with this commit. It works
well.
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2019-06-05 17:07:06 -07:00
..
2019-01-28 08:13:52 +01:00
2018-12-17 08:26:24 +01:00
2019-05-31 18:02:41 +02:00
2019-04-24 09:46:34 -04:00
2019-03-18 12:18:28 +00:00
2019-05-29 21:43:54 -07:00
2019-04-25 19:33:34 +02:00
2019-04-15 18:14:01 -04:00
2019-03-07 18:32:01 -08:00
2019-03-25 09:31:35 +01:00
2019-03-25 10:01:13 +01:00
2019-01-04 13:13:47 -08:00
2019-03-07 18:32:01 -08:00
2019-01-24 11:11:42 -07:00
2019-05-24 18:58:37 -07:00
2019-05-14 10:05:18 +02:00
2019-04-29 19:02:29 +02:00
2019-02-25 14:13:30 +01:00
2019-06-04 14:21:40 -07:00
2019-02-20 23:24:55 -05:00
2019-03-20 21:11:22 -04:00
2019-02-01 13:56:58 +00:00
2019-02-14 11:51:51 -05:00
2019-05-22 17:46:28 -07:00
2019-02-07 16:43:23 +01:00
2018-12-20 19:13:07 +01:00
2019-03-20 18:49:06 -04:00
2019-03-27 13:30:07 -07:00
2019-05-14 09:47:50 -07:00
2019-04-24 17:05:07 +02:00
2019-04-18 16:58:37 -07:00
2019-01-22 12:04:14 -08:00
2019-06-05 13:04:29 -07:00
2019-01-22 12:04:14 -08:00
2019-03-21 13:19:15 -07:00
2018-12-19 15:58:01 -08:00
2019-04-19 13:58:17 -07:00
2019-01-22 17:18:09 -08:00
2019-03-03 21:05:10 -08:00
2019-01-22 17:18:08 -08:00
2019-02-12 13:35:57 -05:00
2019-05-13 15:21:48 -07:00
2019-01-24 00:38:39 -08:00
2019-05-02 14:08:54 -06:00
2019-05-31 18:23:52 +02:00
2019-03-28 17:27:42 +01:00
2019-03-05 21:07:14 -08:00
2019-03-19 15:36:51 -05:00
2019-05-15 23:41:43 +02:00
2019-03-07 18:31:59 -08:00
2019-04-22 13:02:53 -04:00
2018-12-19 09:40:13 +01:00
2019-02-13 19:17:53 -05:00
2019-04-22 11:35:43 -04:00
2019-04-22 11:19:56 -04:00
2019-03-28 02:07:54 +09:00
2019-02-18 17:49:30 +01:00
2019-03-20 18:49:06 -04:00
2019-02-21 13:05:05 -08:00
2019-02-21 13:05:05 -08:00
2019-01-04 13:13:47 -08:00
2019-01-29 22:09:31 -08:00
2018-12-16 12:15:25 -08:00
2018-12-18 15:59:29 -08:00
2019-05-28 21:37:30 -07:00
2019-04-25 14:18:14 -04:00
2019-04-26 13:02:11 +02:00
2019-02-20 07:22:05 -07:00
2019-03-29 13:29:15 -07:00
2019-05-13 18:34:48 -05:00
2019-01-21 17:00:57 -03:00
2019-05-29 21:43:54 -07:00
2019-05-01 11:58:51 -04:00
2019-01-22 10:21:45 +01:00
2019-01-29 22:11:49 +01:00
2019-04-16 23:05:21 +02:00
2019-04-08 14:36:16 +08:00
2019-01-08 16:22:56 -05:00
2019-06-05 17:07:06 -07:00
2019-05-28 21:37:30 -07:00
2019-05-24 17:27:11 +02:00
2019-05-07 14:31:03 +02:00
2019-01-30 00:44:06 -08:00
2019-04-30 16:12:00 -06:00
2019-04-29 16:30:59 +02:00
2019-05-30 13:41:26 -07:00
2019-04-19 14:07:40 -07:00
2019-04-17 17:20:01 -05:00
2019-01-04 13:13:47 -08:00
2019-03-23 21:50:05 -04:00
2019-03-05 14:08:26 -08:00
2019-02-14 11:51:51 -05:00
2019-02-07 00:13:28 +01:00
2019-05-20 20:16:08 -04:00
2019-03-19 13:56:17 -07:00
2019-04-19 14:59:05 -07:00
2019-03-20 11:02:05 -07:00
2019-05-22 10:36:35 -07:00
2019-04-22 10:25:36 -04:00
2019-03-28 01:55:18 +09:00
2019-04-24 14:18:51 +02:00
2019-04-24 14:18:51 +02:00
2018-12-19 18:23:49 -05:00
2018-12-19 18:23:49 -05:00
2019-04-25 11:05:33 -04:00
2018-12-19 18:23:49 -05:00
2019-01-24 10:15:42 -05:00
2019-04-11 17:00:10 +02:00
2019-02-05 15:29:48 -05:00
2019-01-25 01:50:03 +01:00