public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-next V3 0/4] RDMA: Cleanups and improvements
@ 2019-08-02  9:32 Kamal Heib
  2019-08-02  9:32 ` [PATCH for-next V3 1/4] RDMA: Introduce ib_port_phys_state enum Kamal Heib
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Kamal Heib @ 2019-08-02  9:32 UTC (permalink / raw)
  To: linux-rdma
  Cc: Jason Gunthorpe, Doug Ledford, Potnuri Bharat Teja, Selvin Xavier,
	Gal Pressman, Leon Romanovsky, Michal Kalderon,
	Christian Benvenuti, Moni Shoua, Bernard Metzler, Shiraz Saleem,
	Andrew Boyer, Kamal Heib

This series includes few cleanups and improvements, the first patch
introduce a new enum for describing the physical state values and use it
instead of using the magic numbers, patch 2-4 add support for a common
query port for iWARP drivers and remove the common code from the iWARP
drivers.

Changes from v2:
- Patch #1:
-- Update mlx4 and hns to use the new ib_port_phys_state enum.
- Patch #3:
-- Use rdma_protocol_iwarp() instead of rdma_node_get_transport().

Changes from v1 :
- Patch #3:
-- Delete __ prefix.
-- Add missing dev_put(netdev);
-- Initilize gid to {}.
-- Return error code directly.

Kamal Heib (4):
  RDMA: Introduce ib_port_phys_state enum
  RDMA/cxgb3: Use ib_device_set_netdev()
  RDMA/core: Add common iWARP query port
  RDMA/{cxgb3, cxgb4, i40iw}: Remove common code

 drivers/infiniband/core/device.c             | 87 ++++++++++++++++----
 drivers/infiniband/core/sysfs.c              | 24 ++++--
 drivers/infiniband/hw/bnxt_re/ib_verbs.c     |  4 +-
 drivers/infiniband/hw/cxgb3/iwch_provider.c  | 45 +++++-----
 drivers/infiniband/hw/cxgb4/provider.c       | 24 ------
 drivers/infiniband/hw/efa/efa_verbs.c        |  2 +-
 drivers/infiniband/hw/hns/hns_roce_device.h  | 10 ---
 drivers/infiniband/hw/hns/hns_roce_main.c    |  3 +-
 drivers/infiniband/hw/i40iw/i40iw_verbs.c    | 11 ---
 drivers/infiniband/hw/mlx4/main.c            |  3 +-
 drivers/infiniband/hw/mlx5/main.c            |  4 +-
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c  |  4 +-
 drivers/infiniband/hw/qedr/verbs.c           |  4 +-
 drivers/infiniband/hw/usnic/usnic_ib_verbs.c |  7 +-
 drivers/infiniband/sw/rxe/rxe.h              |  4 -
 drivers/infiniband/sw/rxe/rxe_param.h        |  2 +-
 drivers/infiniband/sw/rxe/rxe_verbs.c        |  6 +-
 drivers/infiniband/sw/siw/siw_verbs.c        |  3 +-
 include/rdma/ib_verbs.h                      | 10 +++
 19 files changed, 140 insertions(+), 117 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-08-07 10:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-02  9:32 [PATCH for-next V3 0/4] RDMA: Cleanups and improvements Kamal Heib
2019-08-02  9:32 ` [PATCH for-next V3 1/4] RDMA: Introduce ib_port_phys_state enum Kamal Heib
2019-08-02 19:26   ` [EXT] " Michal Kalderon
2019-08-05 15:18   ` Bernard Metzler
2019-08-06  9:56   ` Leon Romanovsky
2019-08-07 10:21     ` Kamal Heib
2019-08-02  9:32 ` [PATCH for-next V3 2/4] RDMA/cxgb3: Use ib_device_set_netdev() Kamal Heib
2019-08-02  9:32 ` [PATCH for-next V3 3/4] RDMA/core: Add common iWARP query port Kamal Heib
2019-08-02  9:32 ` [PATCH for-next V3 4/4] RDMA/{cxgb3, cxgb4, i40iw}: Remove common code Kamal Heib

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox