diff options
| author | Max Gurtovoy <[email protected]> | 2018-03-05 18:09:48 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-03-07 03:08:39 +0000 |
| commit | d3b9e8ad425cfd5b9116732e057f1b48e4d3bcb8 (patch) | |
| tree | bd1ad4f3cdc6ef1c8bd1e1affd3f4e392ebd1010 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | IB/mlx5: Fix an error code in __mlx5_ib_modify_qp() (diff) | |
| download | kernel-d3b9e8ad425cfd5b9116732e057f1b48e4d3bcb8.tar.gz kernel-d3b9e8ad425cfd5b9116732e057f1b48e4d3bcb8.zip | |
RDMA/core: Reduce poll batch for direct cq polling
Fix warning limit for kernel stack consumption:
drivers/infiniband/core/cq.c: In function 'ib_process_cq_direct':
drivers/infiniband/core/cq.c:78:1: error: the frame size of 1032 bytes
is larger than 1024 bytes [-Werror=frame-larger-than=]
Using smaller ib_wc array on the stack brings us comfortably below that
limit again.
Fixes: 246d8b184c10 ("IB/cq: Don't force IB_POLL_DIRECT poll context for ib_process_cq_direct")
Reported-by: Arnd Bergmann <[email protected]>
Reviewed-by: Sergey Gorenko <[email protected]>
Signed-off-by: Max Gurtovoy <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
