linux/drivers/infiniband/hw/mlx4
Yuval Shaia 350b4c8ac1 IB/mlx4: Utilize macro to calculate SQ spare size
The macro MLX4_IB_SQ_HEADROOM calculates the spare room needed to be
left. Use it instead of hard-coding the HW prefetch size.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-12-18 14:24:34 -07:00
..
ah.c IB/mlx4: Create slave AH's directly 2018-06-26 14:37:26 -06:00
alias_GUID.c RDMA: Start use ib_device_ops 2018-12-12 07:40:16 -07:00
cm.c IB/mlx4: Fix CM REQ retries in paravirt mode 2017-07-20 11:20:50 -04:00
cq.c IB/mlx: Set slid to zero in Ethernet completion struct 2018-02-28 12:10:32 -07:00
doorbell.c IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
Kconfig RDMA: Fix dependencies for rdma_user_mmap_io 2018-09-26 13:50:40 -06:00
mad.c IB/mlx4: Add port and TID to MAD debug print 2018-10-16 14:23:33 -04:00
main.c RDMA/mlx4: Initialize ib_device_ops struct 2018-12-11 15:15:08 -07:00
Makefile IB/mlx4: Add iov directory in sysfs under the ib device 2012-09-30 20:33:39 -07:00
mcg.c IB/mlx4: Remove unnecessary parentheses 2018-09-21 12:00:50 -04:00
mlx4_ib.h mlx4: trigger IB events needed by SMC 2018-11-22 11:57:31 -07:00
mr.c IB/mlx4: Fix an error handling path in 'mlx4_ib_rereg_user_mr()' 2018-06-11 12:43:41 -06:00
qp.c IB/mlx4: Utilize macro to calculate SQ spare size 2018-12-18 14:24:34 -07:00
srq.c RDMA, core and ULPs: Declare ib_post_send() and ib_post_recv() arguments const 2018-07-30 20:09:34 -06:00
sysfs.c mlx4: Use snprintf instead of complicated strcpy 2018-12-06 20:23:06 -07:00