Skip to content

RDMA/cxgb: Fine-tuning for several function implementations

SF Markus Elfring kernel-janitors linux-rdma lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14RDMA/cxgb3: Use kcalloc() in cxio_create_qp()drivers/infiniband/hw/cxgb3/cxio_hal.c+2 -20 replies
2/14RDMA/cxgb3: Rename jump labels in cxio_create_qp()drivers/infiniband/hw/cxgb3/cxio_hal.c+8 -81 reply
3/14RDMA/cxgb4: Use kcalloc() in two functionsdrivers/infiniband/hw/cxgb4/device.c+2 -20 replies
4/14RDMA/cxgb4: Use common error handling code in recover_queues()drivers/infiniband/hw/cxgb4/device.c+4 -41 reply
5/14RDMA/cxgb4: Return an error code only as a constant in ep_open()drivers/infiniband/hw/cxgb4/device.c+9 -130 replies
6/14RDMA/cxgb4: Return an error code only as a constant in stag_open()drivers/infiniband/hw/cxgb4/device.c+9 -130 replies
7/14RDMA/cxgb4: Adjust three checks for null pointersdrivers/infiniband/hw/cxgb4/device.c+3 -30 replies
8/14RDMA/cxgb4: Adjust construction of two error messages in recover_lost_dbs()drivers/infiniband/hw/cxgb4/device.c+8 -80 replies
9/14RDMA/cxgb4: Use common error handling code in recover_lost_dbs()drivers/infiniband/hw/cxgb4/device.c+2 -31 reply
10/14RDMA/cxgb4: Use kmalloc_array() in c4iw_id_table_alloc()drivers/infiniband/hw/cxgb4/id_table.c+3 -20 replies
11/14RDMA/cxgb4: Use kcalloc() in create_qp()drivers/infiniband/hw/cxgb4/qp.c+6 -40 replies
12/14RDMA/cxgb4: Delete an unnecessary variable initialisation in create_qp()drivers/infiniband/hw/cxgb4/qp.c+1 -11 reply
13/14RDMA/cxgb4: Rename jump labels in c4iw_create_qp()drivers/infiniband/hw/cxgb4/qp.c+16 -160 replies
14/14RDMA/cxgb4: Rename jump labels in rdma_init()drivers/infiniband/hw/cxgb4/qp.c+2 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/14] RDMA/cxgb: Fine-tuning for several function implementations

From: Markus Elfring <[email protected]>
Date: Wed, 8 Feb 2017 22:00:10 +0100

Several update suggestions were taken into account from static source code analysis.

Markus Elfring (14):
Use kcalloc() in cxio_create_qp()
Rename jump labels in cxio_create_qp()
Use kcalloc() in two functions
Use common error handling code in recover_queues() Return an error code only as a constant in ep_open() Return an error code only as a constant in stag_open() Adjust three checks for null pointers
Adjust construction of two error messages in recover_lost_dbs() Use common error handling code in recover_lost_dbs() Use kmalloc_array() in c4iw_id_table_alloc()
Use kcalloc() in create_qp()
Delete an unnecessary variable initialisation in create_qp() Rename jump labels in c4iw_create_qp()
Rename jump labels in rdma_init()

 drivers/infiniband/hw/cxgb3/cxio_hal.c | 20 ++++----
 drivers/infiniband/hw/cxgb4/device.c   | 83 +++++++++++++++-------------------
 drivers/infiniband/hw/cxgb4/id_table.c |  5 +-
 drivers/infiniband/hw/cxgb4/qp.c       | 48 ++++++++++----------
 4 files changed, 75 insertions(+), 81 deletions(-)
Signature · 1 line
2.11.1