Files
android_kernel_xiaomi_sm8450/drivers/infiniband/core
Yamin Friedman f8fc8cd9c6 RDMA/nldev: Added configuration of RDMA dynamic interrupt moderation to netlink
Added parameter in ib_device for enabling dynamic interrupt moderation so
that it can be configured in userspace using rdma tool.

In order to set adaptive-moderation for an ib device the command is:
rdma dev set [DEV] adaptive-moderation [on|off]
Please set on/off.

rdma dev show
0: mlx5_0: node_type ca fw 16.26.0055 node_guid 248a:0703:00a5:29d0
sys_image_guid 248a:0703:00a5:29d0 adaptive-moderation on

rdma resource show cq
dev mlx5_0 cqn 0 cqe 1023 users 4 poll-ctx UNBOUND_WORKQUEUE
adaptive-moderation off comm [ib_core]

Signed-off-by: Yamin Friedman <yaminf@mellanox.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-07-08 16:37:22 -03:00
..
2015-06-12 14:49:18 -04:00
2018-12-12 07:40:16 -07:00
2019-05-03 10:56:56 -03:00
2008-07-14 23:48:44 -07:00
2019-03-27 15:52:01 -03:00
2018-12-12 07:40:16 -07:00
2016-03-03 10:20:25 -05:00
2019-04-25 12:27:11 -03:00
2018-12-12 07:40:16 -07:00
2016-03-03 10:20:25 -05:00
2019-04-25 12:27:11 -03:00