Skip to content

IB/ehca: support for user space small queues, support more than 4k queue pairs, generate last WQE reached

Stefan Roscher linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7IB/ehca: Small QP userspace support and fixesdrivers/infiniband/hw/ehca/ehca_qp.c drivers/infiniband/hw/ehca/ipz_pt_fn.c+5 -50 replies
2/7IB/ehca: Ensure non-existing queues aren't made small queuesdrivers/infiniband/hw/ehca/ehca_qp.c+6 -40 replies
3/7IB/ehca: Add 1 is not longer needed because of firmware interface changedrivers/infiniband/hw/ehca/hcp_if.c+2 -20 replies
4/7IB/ehca: Support more than 4k QPs for userspace and kernelspacedrivers/infiniband/hw/ehca/ehca_cq.c drivers/infiniband/hw/ehca/ehca_qp.c drivers/infiniband/hw/ehca/ehca_uverbs.c+23 -120 replies
5/7IB/ehca: map 4k firmware context of cq, qp to user spacedrivers/infiniband/hw/ehca/ehca_classes.h drivers/infiniband/hw/ehca/ehca_cq.c drivers/infiniband/hw/ehca/ehca_qp.c +1 more+10 -40 replies
6/7IB/ehca: Generate last WQE reached, when base QP for SRQ has entered error statedrivers/infiniband/hw/ehca/ehca_irq.c+31 -170 replies
7/7IB/ehca: Prevent overwriting QP init attributes given by callerdrivers/infiniband/hw/ehca/ehca_qp.c+5 -92 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] IB/ehca: support for user space small queues, support more than 4k queue pairs, generate last WQE reached

Here is a patch set against Roland's git, branch for-2.6.23 for ehca. It enables userspace support for small QP feature and make some fixes for it. Also there is add the mapping of 4k firmware context to user space.

They are in details:
[1/7] add support for userspace small queues and make some fixes [2/7] ensure that a non-existing queues in case of SRQs are not interprete as small queues
[3/7] we have no longer to add 1 to the number of requestet wqes, because firmware does now
[4/7] make changes to ehca_mmap() to support more than 4k queues [5/7] map 4k firmware context of cq, qp to user space
[6/7] generate last WQE reached, when base QP for SRQ has entered error state [7/7] prevent overwriting QP init attributes given by caller

The patches should apply cleanly, in order, against Roland's git. Please review the changes and apply the patches if they are okay.

Regards,
Stefan