On 12/10/2015 10:09 PM, Majd Dibbiny wrote:
This patchs adds support for Raw Packet QP for the mlx5 device.
Raw Packet QP, unlike other QP types, has no matching mlx5_core_qp
object but rather it is built of RQ/SQ/TIR/TIS/TD mlx5_core object.
The Raw Packet QP state changes are implemented by changing the
state of the sub-objects.
Since the SQ and RQ work-queue (WQ) buffers are not contiguous like
other QPs, we allocate separate buffers in the user-space and pass
the address of each one of them separately to the kernel.
Signed-off-by: Majd Dibbiny<[email protected]>
---
drivers/infiniband/hw/mlx5/main.c | 15 +-
drivers/infiniband/hw/mlx5/mlx5_ib.h | 52 +-
drivers/infiniband/hw/mlx5/qp.c | 894 ++++++++++++++++++---
drivers/infiniband/hw/mlx5/user.h | 1 +
drivers/net/ethernet/mellanox/mlx5/core/qp.c | 48 +-
drivers/net/ethernet/mellanox/mlx5/core/transobj.c | 39 +
include/linux/mlx5/mlx5_ifc.h | 11 +-
include/linux/mlx5/qp.h | 3 +-
include/linux/mlx5/transobj.h | 4 +
9 files changed, 913 insertions(+), 154 deletions(-)
Seems way too big for single patch, seek how to split to 2-3 patches
Or.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html