From: Przemek Kitszel <przemyslaw.kitszel@intel.com>
To: Stefan Metzmacher <metze@samba.org>, <netdev@vger.kernel.org>
Cc: Tony Nguyen <anthony.l.nguyen@intel.com>,
Tatyana Nikolova <tatyana.e.nikolova@intel.com>,
Jacob Moroni <jmoroni@google.com>, Jiri Pirko <jiri@resnulli.us>,
Leon Romanovsky <leon@kernel.org>,
<intel-wired-lan@lists.osuosl.org>, <linux-rdma@vger.kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
"Jakub Kicinski" <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
Willem de Bruijn <willemb@google.com>,
Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
Andrew Lunn <andrew+netdev@lunn.ch>, <linux-doc@vger.kernel.org>
Subject: Re: [PATCH net-next 3/3] ice: support the enable_rdma devlink param in runtime cmode
Date: Tue, 1 Dec 2026 14:36:55 +0100 [thread overview]
Message-ID: <4b670823-da37-4114-bbfe-9c4a7b4827b0@intel.com> (raw)
In-Reply-To: <04b80a45d0b1544b0b32e9ee72223f09005fa51c.1796076486.git.metze@samba.org>
On 11/30/26 11:10 PM, Stefan Metzmacher wrote:
> The enable_rdma devlink param controls whether the RDMA auxiliary
> device (irdma) is instantiated, but only in driverinit cmode. Changing
> it requires a devlink reload, which also unregisters the netdev, so
> its addresses, routes and other configuration are lost.
>
> Add the runtime cmode, which only unplugs or plugs the RDMA auxiliary
> device and leaves the netdev alone:
>
> devlink dev param set pci/0000:03:00.0 name enable_rdma \
> value false cmode runtime
>
> Unlike setting both enable_roce and enable_iwarp to false, the
> selected RDMA protocol is kept, and the auxiliary device stays
> unplugged after a reset or when switching between RoCEv2 and iWARP,
> as ice_plug_aux_dev() checks the new ICE_FLAG_RDMA_RUNTIME_DIS.
>
> Enabling it at runtime requires it to be enabled in driverinit cmode
> and enable_roce or enable_iwarp to be set, and a reload resets it to
> the driverinit value, like for mlx5.
Looks nice, thank you. Given your test scenario from cover letter,
I think it "works enough" for ice to consider a pure improvement :)
Acked-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
(please carry the tag if you happen to change things slightly due
to other feedback, like flag rename, additional locking dance, etc)
sidenote: you could keep CC list from the commit msg under "---"
section to achieve the same w/o inflating the (merged) commit msg
prev parent reply other threads:[~2026-12-01 13:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 22:09 [PATCH net-next 0/3] devlink: support the enable_rdma param in runtime cmode for cxgb4, mlx5 and ice Stefan Metzmacher
2026-11-30 22:09 ` [PATCH net-next 1/3] cxgb4: support the enable_rdma devlink param in runtime cmode Stefan Metzmacher
2026-11-30 22:09 ` [PATCH net-next 2/3] net/mlx5: " Stefan Metzmacher
2026-11-30 22:10 ` [PATCH net-next 3/3] ice: " Stefan Metzmacher
2026-12-01 13:36 ` Przemek Kitszel [this message]
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=4b670823-da37-4114-bbfe-9c4a7b4827b0@intel.com \
--to=przemyslaw.kitszel@intel.com \
--cc=andrew+netdev@lunn.ch \
--cc=anthony.l.nguyen@intel.com \
--cc=corbet@lwn.net \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=jiri@resnulli.us \
--cc=jmoroni@google.com \
--cc=kuba@kernel.org \
--cc=leon@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=metze@samba.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rdunlap@infradead.org \
--cc=skhan@linuxfoundation.org \
--cc=tatyana.e.nikolova@intel.com \
--cc=willemb@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