On 6/1/19 12:54 AM, Zhu Yanjun wrote:
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:a:7a31 fe80::2:c903:a: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.Tested-by: RDS CI <[email protected]>
Please add some valid email id or drop above. Its expected that with SOB, patches are tested before testing.
Signed-off-by: Zhu Yanjun <[email protected]> --- include/uapi/linux/rds.h | 2 ++ net/rds/ib.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h index 5d0f76c..fd6b5f6 100644 --- a/include/uapi/linux/rds.h +++ b/include/uapi/linux/rds.h @@ -250,6 +250,7 @@ struct rds_info_rdma_connection { __u32 rdma_mr_max; __u32 rdma_mr_size; __u8 tos; + __u32 cache_allocs;
Some of this header file changes, how is taking care of backward compatibility with tooling ? This was one of the reason, the all the fields are not updated. Regards, Santosh
