mbox series

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

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

Message

Chuck Lever June 14, 2023, 2 p.m. UTC
Here's a series that implements support for siw on tunnel devices,
based on suggestions from Jason Gunthorpe and Tom Talpey.

This series does not address a similar issue with rxe because RoCE
GID resolution behaves differently than it does for iWARP devices.
An independent solution is likely to be required for rxe.

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       | 12 ++++++++++++
 drivers/infiniband/core/cma.c         | 24 +++++++++++++++++++-----
 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, 42 insertions(+), 21 deletions(-)

--
Chuck Lever

Comments

Zhu Yanjun June 15, 2023, 11:59 a.m. UTC | #1
在 2023/6/14 22:00, Chuck Lever 写道:
> Here's a series that implements support for siw on tunnel devices,
> based on suggestions from Jason Gunthorpe and Tom Talpey.
> 
> This series does not address a similar issue with rxe because RoCE
> GID resolution behaves differently than it does for iWARP devices.
> An independent solution is likely to be required for rxe.

Thanks a lot for letting me know. Look forward to the independent 
solution for rxe.

Zhu Yanjun

> 
> 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       | 12 ++++++++++++
>   drivers/infiniband/core/cma.c         | 24 +++++++++++++++++++-----
>   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, 42 insertions(+), 21 deletions(-)
> 
> --
> Chuck Lever
>
Chuck Lever June 15, 2023, 1:28 p.m. UTC | #2
> On Jun 15, 2023, at 7:59 AM, Zhu Yanjun <yanjun.zhu@linux.dev> wrote:
> 
> 在 2023/6/14 22:00, Chuck Lever 写道:
>> Here's a series that implements support for siw on tunnel devices,
>> based on suggestions from Jason Gunthorpe and Tom Talpey.
>> This series does not address a similar issue with rxe because RoCE
>> GID resolution behaves differently than it does for iWARP devices.
>> An independent solution is likely to be required for rxe.
> 
> Thanks a lot for letting me know.

Ooops, I should have Cc'd you on this. I just mindlessly copied the
to/cc from the previous version. I will try to remember next time.


> Look forward to the independent solution for rxe.
> 
> Zhu Yanjun
> 
>> 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       | 12 ++++++++++++
>>  drivers/infiniband/core/cma.c         | 24 +++++++++++++++++++-----
>>  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, 42 insertions(+), 21 deletions(-)
>> --
>> Chuck Lever
> 

--
Chuck Lever