diff options
author | Li Zhijian <[email protected]> | 2022-09-07 02:48:20 +0000 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2022-09-08 11:03:15 +0300 |
commit | e2edba67fcd514f92401e073a624fbdeb37ce0db (patch) | |
tree | 6e25550bd605f1f09fb0de3b73e5f6bc241c36b0 /scripts/bpf_doc.py | |
parent | db77d84cfe3608eac938302f8f7178e44415bcba (diff) |
RDMA/rxe: use %u to print u32 variables
struct ib_qp_cap {
u32 max_send_wr;
u32 max_recv_wr;
u32 max_send_sge;
u32 max_recv_sge;
u32 max_inline_data;
...
To avoid getting a negative value from dmesg:
[410580.579965] rdma_rxe: invalid send sge = 65535 > 32
[410580.583818] rdma_rxe: invalid send wr = -1 > 1048576
[410582.771323] rdma_rxe: invalid recv sge = 65535 > 32
[410582.775310] rdma_rxe: invalid recv wr = -1 > 1048576
Signed-off-by: Li Zhijian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions