From: "D. Wythe" <alibuda@linux.alibaba.com>
To: Alexandra Winter <wintera@linux.ibm.com>,
Karsten Graul <kgraul@linux.ibm.com>,
Tony Lu <tonylu@linux.alibaba.com>
Cc: kgraul@linux.ibm.com, kuba@kernel.org, davem@davemloft.net,
netdev@vger.kernel.org, linux-s390@vger.kernel.org,
linux-rdma@vger.kernel.org
Subject: Re: [RFC net-next] net/smc:introduce 1RTT to SMC
Date: Wed, 1 Jun 2022 14:33:09 +0800 [thread overview]
Message-ID: <7d57f299-115f-3d34-a45e-1c125a9a580a@linux.alibaba.com> (raw)
In-Reply-To: <64439f1c-9817-befd-c11b-fa64d22620a9@linux.ibm.com>
在 2022/5/25 下午9:42, Alexandra Winter 写道:
> We need to carefully evaluate them and make sure everything is compatible
> with the existing implementations of SMC-D and SMC-R v1 and v2. In the
> typical s390 environment ROCE LAG is propably not good enough, as the card
> is still a single point of failure. So your ideas need to be compatible
> with link redundancy. We also need to consider that the extension of the
> protocol does not block other desirable extensions.
>
> Your prototype is very helpful for the understanding. Before submitting any
> code patches to net-next, we should agree on the details of the protocol
> extension. Maybe you could formulate your proposal in plain text, so we can
> discuss it here?
>
> We also need to inform you that several public holidays are upcoming in the
> next weeks and several of our team will be out for summer vacation, so please
> allow for longer response times.
>
> Kind regards
> Alexandra Winter
>
Hi alls,
In order to achieve signle-link compatibility, we must
complete at least once negotiation. We wish to provide
higher scalability while meeting this feature. There are
few ways to reach this.
1. Use the available reserved bits. According to
the SMC v2 protocol, there are at least 28 reserved octets
in PROPOSAL MESSAGE and at least 10 reserved octets in
ACCEPT MESSAGE are available. We can define an area in which
as a feature area, works like bitmap. Considering the subsequent
scalability, we MAY use at least 2 reserved ctets, which can support
negotiation of at least 16 features.
2. Unify all the areas named extension in current
SMC v2 protocol spec without reinterpreting any existing field
and field offset changes, including 'PROPOSAL V1 IP Subnet Extension',
'PROPOSAL V2 Extension', 'PROPOSAL SMC-DV2 EXTENSION' .etc. And provides
the ability to grow dynamically as needs expand. This scheme will use
at least 10 reserved octets in the PROPOSAL MESSAGE and at least 4
reserved octets in ACCEPT MESSAGE and CONFIRM MESSAGE. Fortunately, we
only need to use reserved fields, and the current reserved fields are
sufficient. And then we can easily add a new extension named SIGNLE
LINK. Limited by space, the details will be elaborated after the scheme
is finalized.
But no matter what scheme is finalized, the workflow should be similar to:
Allow Single-link:
client server
proposal with Single-link feature bit or extension
-------->
accept with Single-link feature bit extension
<--------
confirm
-------->
Deny or not recognized:
client server
proposal with Single-link feature bit or extension
-------->
rkey confirm
<------
------>
accept without Single-link feature bit or extension
<------
rkey confirm
------->
<------
confirm
------->
Look forward to your advice and comments.
Thanks.
next prev parent reply other threads:[~2022-06-01 6:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-24 6:52 [RFC net-next] net/smc:introduce 1RTT to SMC D. Wythe
2022-05-24 7:49 ` Tony Lu
2022-05-25 13:42 ` Alexandra Winter
2022-05-26 3:47 ` D. Wythe
2022-05-26 7:04 ` Tony Lu
2022-06-01 6:33 ` D. Wythe [this message]
2022-06-01 9:24 ` Tony Lu
2022-06-01 11:35 ` Alexandra Winter
2022-06-02 3:26 ` D. Wythe
2022-06-16 13:49 ` D. Wythe
2022-06-23 11:59 ` Alexandra Winter
2022-06-23 12:50 ` D. Wythe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7d57f299-115f-3d34-a45e-1c125a9a580a@linux.alibaba.com \
--to=alibuda@linux.alibaba.com \
--cc=davem@davemloft.net \
--cc=kgraul@linux.ibm.com \
--cc=kuba@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=tonylu@linux.alibaba.com \
--cc=wintera@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox