diff options
author | Bodong Wang <bodong@mellanox.com> | 2016-12-01 13:43:13 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-13 13:39:50 -0500 |
commit | d949167d68b304c0a00331cf33ef49a29b65d85f (patch) | |
tree | 88e16c2330da162bfdb5d7fd75dbdd29d3cf67da /include/rdma | |
parent | ca5b91d63192ceaa41a6145f8c923debb64c71fa (diff) | |
download | linux-d949167d68b304c0a00331cf33ef49a29b65d85f.tar.gz linux-d949167d68b304c0a00331cf33ef49a29b65d85f.tar.bz2 linux-d949167d68b304c0a00331cf33ef49a29b65d85f.zip |
IB/mlx5: Report mlx5 packet pacing capabilities when querying device
Enable mlx5 based hardware to report packet pacing capabilities
from kernel to user space. Packet pacing allows to limit the rate to any
number between the maximum and minimum, based on user settings.
The capabilities are exposed to user space through query_device by uhw.
The following capabilities are reported:
1. The maximum and minimum rate limit in kbps supported by packet pacing.
2. Bitmap showing which QP types are supported by packet pacing operation.
Signed-off-by: Bodong Wang <bodong@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions