]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/bnxt_re: Report packet pacing capabilities when querying device
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Mon, 2 Feb 2026 13:34:10 +0000 (19:04 +0530)
committerLeon Romanovsky <leon@kernel.org>
Mon, 2 Feb 2026 13:37:59 +0000 (08:37 -0500)
commit13edc7d4e0aa4abb5d50a062b61b9bffb01b0327
tree80c3f0c29c91e16aeca7e708502b804f1d595d56
parente72d45d274d8edd8c1c365444403a02147f484a6
RDMA/bnxt_re: Report packet pacing capabilities when querying device

Enable the support 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.

The capabilities are exposed to user space through query_device.
The following capabilities are reported:

1. The maximum and minimum rate limit in kbps.
2. Bitmap showing which QP types support rate limit.

Signed-off-by: Damodharam Ammepalli <damodharam.ammepalli@broadcom.com>
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Link: https://patch.msgid.link/20260202133413.3182578-3-kalesh-anakkur.purayil@broadcom.com
Reviewed-by: Anantha Prabhu <anantha.prabhu@broadcom.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/bnxt_re/ib_verbs.c
include/uapi/rdma/bnxt_re-abi.h