linux_dsm_epyc7002/drivers/infiniband/hw/mlx5
Leon Romanovsky 75c1657e1d IB/mlx5: Fix RC transport send queue overhead computation
Fix the RC QPs send queue overhead computation to take into account
two additional segments in the WQE which are needed for registration
operations.

The ATOMIC and UMR segments can't coexist together, so chose maximum out
of them.

The commit 9e65dc371b ("IB/mlx5: Fix RC transport send queue overhead
computation") was intended to update RC transport as commit messages
states, but added the code to UC transport.

Fixes: 9e65dc371b ("IB/mlx5: Fix RC transport send queue overhead computation")
Signed-off-by: Kamal Heib <kamalh@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-02-12 14:56:08 -05:00
..
ah.c IB/mlx5: Add RoCE fields to Address Vector 2015-12-23 12:07:37 -05:00
cq.c Initial roundup of 4.5 merge window patches 2016-01-23 18:45:06 -08:00
doorbell.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
Kconfig net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality 2015-05-30 18:24:51 -07:00
mad.c IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
main.c IB/mlx5: Fix reqlen validation in mlx5_ib_alloc_ucontext 2016-02-02 16:42:22 -05:00
Makefile IB/mlx5: Implement the ODP capability query verb 2014-12-15 18:19:02 -08:00
mem.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
mlx5_ib.h Initial roundup of 4.5 merge window patches 2016-01-23 18:45:06 -08:00
mr.c IB/mlx5: Postpone remove_keys under knowledge of coming preemption 2015-12-08 16:55:31 -05:00
odp.c IB/mlx5: Refactor mlx5_ib_qp to accommodate other QP types 2016-01-21 12:01:09 -05:00
qp.c IB/mlx5: Fix RC transport send queue overhead computation 2016-02-12 14:56:08 -05:00
srq.c IB/mlx5: Add CQE version 1 support to user QPs and SRQs 2016-01-21 12:01:08 -05:00
user.h IB/mlx5: Add create and destroy functionality for Raw Packet QP 2016-01-21 12:01:09 -05:00