[PATCH rdma-next 00/16] MAD cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Let's clean MAD code a little bit.

It is based on
https://lore.kernel.org/linux-rdma/20191027070621.11711-1-leon@xxxxxxxxxx

Thanks

Leon Romanovsky (16):
  RDMA/mad: Delete never implemented functions
  RDMA/mad: Allocate zeroed MAD buffer
  RDMA/mlx4: Delete redundant zero memset
  RDMA/mlx5: Delete redundant zero memset
  RDMA/ocrdma: Clean MAD processing logic
  RDMA/qib: Delete redundant memset for MAD output buffer
  RDMA/hfi1: Delete unreachable code
  RDMA/mlx4: Delete unreachable code
  RDMA/mlx5: Delete unreachable code
  RDMA/mthca: Delete unreachable code
  RDMA/ocrdma: Simplify process_mad function
  RDMA/qib: Delete unreachable code
  RDMA/mlx5: Rewrite MAD processing logic to be readable
  RDMA/qib: Delete extra line
  RDMA/qib: Delete unused variable in process_cc call
  RDMA: Change MAD processing function to remove extra casting and
    parameter

 drivers/infiniband/core/mad.c               |  31 +----
 drivers/infiniband/core/sysfs.c             |  10 +-
 drivers/infiniband/hw/hfi1/mad.c            |  17 +--
 drivers/infiniband/hw/hfi1/verbs.h          |   5 +-
 drivers/infiniband/hw/mlx4/mad.c            |  30 ++---
 drivers/infiniband/hw/mlx4/mlx4_ib.h        |   7 +-
 drivers/infiniband/hw/mlx5/mad.c            | 124 +++++++++-----------
 drivers/infiniband/hw/mlx5/mlx5_ib.h        |   5 +-
 drivers/infiniband/hw/mthca/mthca_dev.h     |  12 +-
 drivers/infiniband/hw/mthca/mthca_mad.c     |  74 +++++-------
 drivers/infiniband/hw/ocrdma/ocrdma_ah.c    |  33 ++----
 drivers/infiniband/hw/ocrdma/ocrdma_ah.h    |  11 +-
 drivers/infiniband/hw/ocrdma/ocrdma_stats.c |   5 +-
 drivers/infiniband/hw/ocrdma/ocrdma_stats.h |   3 +-
 drivers/infiniband/hw/qedr/verbs.c          |  17 +--
 drivers/infiniband/hw/qedr/verbs.h          |   7 +-
 drivers/infiniband/hw/qib/qib_iba6120.c     |   1 -
 drivers/infiniband/hw/qib/qib_mad.c         |  38 +-----
 drivers/infiniband/hw/qib/qib_verbs.h       |   5 +-
 include/rdma/ib_mad.h                       |  40 -------
 include/rdma/ib_verbs.h                     |   7 +-
 21 files changed, 155 insertions(+), 327 deletions(-)

--
2.20.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux