Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Przemek Kitszel
Tue, 01 Dec 2026 13:36
Re: [PATCH net-next 3/3] ice: support the enable_rdma devlink param in runtime cmode
Author: Przemek Kitszel
Date: Tue, 01 Dec 2026 13:36
Date: Tue, 01 Dec 2026 13:36
32 lines
21666 bytes
21666 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads