From: Jakub Kicinski <kuba@kernel.org>
To: Steffen Klassert <steffen.klassert@secunet.com>,
Feng Wang <wangfe@google.com>
Cc: Leon Romanovsky <leon@kernel.org>, <netdev@vger.kernel.org>,
<antony.antony@secunet.com>, <pabeni@redhat.com>
Subject: Re: [PATCH v7] xfrm: add SA information to the offloaded packet when if_id is set
Date: Tue, 10 Dec 2024 19:20:48 -0800 [thread overview]
Message-ID: <20241210192048.386d518a@kernel.org> (raw)
In-Reply-To: <Z1gMGlYPCywoqJK5@gauss3.secunet.de>
On Tue, 10 Dec 2024 10:38:34 +0100 Steffen Klassert wrote:
> > This patch was done based on our previous discussion. I did the
> > changes we agreed on.
>
> there is still no real packet offload support for netdev sim.
> And as said, this is at most the second best option.
>
> You need to prove that this works. I want a complete API,
> but I also want a working one.
>
> The easiest way to prove that this is implemented correctly
> is to upstream your driver. Everyting else is controversial
> and complicated.
Yes, I don't have full context but FWIW offload changes accompanied
by just netdevsim modifications raise a red flag:
Quoting documentation:
netdevsim
~~~~~~~~~
``netdevsim`` is a test driver which can be used to exercise driver
configuration APIs without requiring capable hardware.
Mock-ups and tests based on ``netdevsim`` are strongly encouraged when
adding new APIs, but ``netdevsim`` in itself is **not** considered
a use case/user. You must also implement the new APIs in a real driver.
We give no guarantees that ``netdevsim`` won't change in the future
in a way which would break what would normally be considered uAPI.
``netdevsim`` is reserved for use by upstream tests only, so any
new ``netdevsim`` features must be accompanied by selftests under
``tools/testing/selftests/``.
See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#netdevsim
next prev parent reply other threads:[~2024-12-11 3:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-09 20:28 [PATCH v7] xfrm: add SA information to the offloaded packet when if_id is set Feng Wang
2024-12-09 21:53 ` Leon Romanovsky
2024-12-09 23:44 ` Feng Wang
2024-12-10 9:38 ` Steffen Klassert
2024-12-11 3:20 ` Jakub Kicinski [this message]
2024-12-11 10:57 ` Steffen Klassert
2024-12-10 9:28 ` Steffen Klassert
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=20241210192048.386d518a@kernel.org \
--to=kuba@kernel.org \
--cc=antony.antony@secunet.com \
--cc=leon@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=steffen.klassert@secunet.com \
--cc=wangfe@google.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;
as well as URLs for NNTP newsgroup(s).