mbox series

[net-next,00/11] net/smc: introduce SMC-Rv2 support

Message ID 20211012101743.2282031-1-kgraul@linux.ibm.com (mailing list archive)
Headers show
Series net/smc: introduce SMC-Rv2 support | expand

Message

Karsten Graul Oct. 12, 2021, 10:17 a.m. UTC
Please apply the following patch series for smc to netdev's net-next tree.

SMC-Rv2 support (see https://www.ibm.com/support/pages/node/6326337)
provides routable RoCE support for SMC-R, eliminating the current
same-subnet restriction, by exploiting the UDP encapsulation feature
of the RoCE adapter hardware.

Patch 1 ("net/smc: improved fix wait on already cleared link") is
already applied on netdevs net tree but its changes are needed for
this series on net-next. The patch is unchanged compared to the
version on the net tree.

Karsten Graul (11):
  net/smc: improved fix wait on already cleared link
  net/smc: save stack space and allocate smc_init_info
  net/smc: prepare for SMC-Rv2 connection
  net/smc: add SMC-Rv2 connection establishment
  net/smc: add listen processing for SMC-Rv2
  net/smc: add v2 format of CLC decline message
  net/smc: retrieve v2 gid from IB device
  net/smc: add v2 support to the work request layer
  net/smc: extend LLC layer for SMC-Rv2
  net/smc: add netlink support for SMC-Rv2
  net/smc: stop links when their GID is removed

 include/uapi/linux/smc.h |  17 +-
 net/smc/af_smc.c         | 431 +++++++++++++++++-------
 net/smc/smc.h            |  20 +-
 net/smc/smc_cdc.c        |   7 +-
 net/smc/smc_clc.c        | 147 +++++++--
 net/smc/smc_clc.h        |  55 +++-
 net/smc/smc_core.c       | 193 +++++++----
 net/smc/smc_core.h       |  50 ++-
 net/smc/smc_ib.c         | 160 ++++++++-
 net/smc/smc_ib.h         |  16 +-
 net/smc/smc_llc.c        | 684 ++++++++++++++++++++++++++++++---------
 net/smc/smc_llc.h        |  12 +-
 net/smc/smc_pnet.c       |  41 ++-
 net/smc/smc_tx.c         |  22 +-
 net/smc/smc_wr.c         | 237 ++++++++++++--
 net/smc/smc_wr.h         |  22 ++
 16 files changed, 1691 insertions(+), 423 deletions(-)

Comments

Jakub Kicinski Oct. 14, 2021, 4:09 p.m. UTC | #1
On Tue, 12 Oct 2021 12:17:32 +0200 Karsten Graul wrote:
> Please apply the following patch series for smc to netdev's net-next tree.
> 
> SMC-Rv2 support (see https://www.ibm.com/support/pages/node/6326337)
> provides routable RoCE support for SMC-R, eliminating the current
> same-subnet restriction, by exploiting the UDP encapsulation feature
> of the RoCE adapter hardware.
> 
> Patch 1 ("net/smc: improved fix wait on already cleared link") is
> already applied on netdevs net tree but its changes are needed for
> this series on net-next. The patch is unchanged compared to the
> version on the net tree.

This series as marked as "Needs ACK" in patchwork, I think my Dave.
Maybe it is because of the RoCE part, is there a reason not to CC
linux-rdma on it?
Karsten Graul Oct. 14, 2021, 4:32 p.m. UTC | #2
On 14/10/2021 18:09, Jakub Kicinski wrote:
> On Tue, 12 Oct 2021 12:17:32 +0200 Karsten Graul wrote:
>> Please apply the following patch series for smc to netdev's net-next tree.
>>
>> SMC-Rv2 support (see https://www.ibm.com/support/pages/node/6326337)
>> provides routable RoCE support for SMC-R, eliminating the current
>> same-subnet restriction, by exploiting the UDP encapsulation feature
>> of the RoCE adapter hardware.
>>
>> Patch 1 ("net/smc: improved fix wait on already cleared link") is
>> already applied on netdevs net tree but its changes are needed for
>> this series on net-next. The patch is unchanged compared to the
>> version on the net tree.
> 
> This series as marked as "Needs ACK" in patchwork, I think my Dave.
> Maybe it is because of the RoCE part, is there a reason not to CC
> linux-rdma on it?

There is no reason for that, I was not aware that I should CC linux-rdma.
I can send a v2 with an extended CC list.
Jakub Kicinski Oct. 14, 2021, 4:36 p.m. UTC | #3
On Thu, 14 Oct 2021 18:32:37 +0200 Karsten Graul wrote:
> On 14/10/2021 18:09, Jakub Kicinski wrote:
> > On Tue, 12 Oct 2021 12:17:32 +0200 Karsten Graul wrote:  
> >> Please apply the following patch series for smc to netdev's net-next tree.
> >>
> >> SMC-Rv2 support (see https://www.ibm.com/support/pages/node/6326337)
> >> provides routable RoCE support for SMC-R, eliminating the current
> >> same-subnet restriction, by exploiting the UDP encapsulation feature
> >> of the RoCE adapter hardware.
> >>
> >> Patch 1 ("net/smc: improved fix wait on already cleared link") is
> >> already applied on netdevs net tree but its changes are needed for
> >> this series on net-next. The patch is unchanged compared to the
> >> version on the net tree.  
> > 
> > This series as marked as "Needs ACK" in patchwork, I think my Dave.
> > Maybe it is because of the RoCE part, is there a reason not to CC
> > linux-rdma on it?  
> 
> There is no reason for that, I was not aware that I should CC linux-rdma.
> I can send a v2 with an extended CC list.

Yeah, let's do that. I'm not sure what the reason for the patchwork
designation was so let's repost with linux-rdma and if nobody complains
we can merge tomorrow morning. Thanks!