mbox series

[v6,0/4] Handle ARPHRD_NONE devices for siw

Message ID 168960662017.3007.17697555924773191374.stgit@manet.1015granger.net (mailing list archive)
Headers show
Series Handle ARPHRD_NONE devices for siw | expand

Message

Chuck Lever July 17, 2023, 3:12 p.m. UTC
Here's a series that implements support for siw on tunnel devices,
based on suggestions from Jason Gunthorpe and Tom Talpey.


Changes since v5:
- Refine comment in cma_validate_port()

Changes since v4:
- Address review comments from Tom Talpey

Changes since v3:
- Clean up RCU dereference in cma_validate_port()

Changes since v2:
- Split into multiple patches
- Pre-initialize gid_attr::ndev for iWARP devices

---

Chuck Lever (4):
      RDMA/siw: Fabricate a GID on tun and loopback devices
      RDMA/core: Set gid_attr.ndev for iWARP devices
      RDMA/cma: Deduplicate error flow in cma_validate_port()
      RDMA/cma: Avoid GID lookups on iWARP devices


 drivers/infiniband/core/cache.c       | 11 +++++++++
 drivers/infiniband/core/cma.c         | 32 ++++++++++++++++++++++-----
 drivers/infiniband/sw/siw/siw.h       |  1 +
 drivers/infiniband/sw/siw/siw_main.c  | 22 +++++++-----------
 drivers/infiniband/sw/siw/siw_verbs.c |  4 ++--
 5 files changed, 49 insertions(+), 21 deletions(-)

--
Chuck Lever

Comments

Jason Gunthorpe July 21, 2023, 7:08 p.m. UTC | #1
On Mon, Jul 17, 2023 at 11:12:05AM -0400, Chuck Lever wrote:
> Here's a series that implements support for siw on tunnel devices,
> based on suggestions from Jason Gunthorpe and Tom Talpey.
> 
> 
> Changes since v5:
> - Refine comment in cma_validate_port()
> 
> Changes since v4:
> - Address review comments from Tom Talpey
> 
> Changes since v3:
> - Clean up RCU dereference in cma_validate_port()
> 
> Changes since v2:
> - Split into multiple patches
> - Pre-initialize gid_attr::ndev for iWARP devices
> 
> ---
> 
> Chuck Lever (4):
>       RDMA/siw: Fabricate a GID on tun and loopback devices
>       RDMA/core: Set gid_attr.ndev for iWARP devices
>       RDMA/cma: Deduplicate error flow in cma_validate_port()
>       RDMA/cma: Avoid GID lookups on iWARP devices

Applied to for-next, thanks

Jason