[Intel-wired-lan] [PATCH net v1] ice: do not reserve resources for RDMA when disabled

Przemek Kitszel przemyslaw.kitszel at intel.com
Fri Nov 15 08:51:01 UTC 2024


On 11/14/24 01:00, jbrandeb at kernel.org wrote:
> From: Jesse Brandeburg <jbrandeb at kernel.org>
> 
> If the CONFIG_INFINIBAND_IRDMA symbol is not enabled as a module or a
> built-in, then don't let the driver reserve resources for RDMA.
> 
> Do this by avoiding enabling the capability when scanning hardware
> capabilities.
> 
> Fixes: d25a0fc41c1f ("ice: Initialize RDMA support")
> CC: Dave Ertman <david.m.ertman at intel.com>
> Signed-off-by: Jesse Brandeburg <jbrandeb at kernel.org>
> ---

Hi Jesse, it's good to hear back from you :)

we are already working on resolving the issue of miss-allocating
too many resources (would be good to know what beyond MSI-x'es
you care about) for RDMA in the default (likely non-RDMA heavy) case. 
Here is a series from Michal that lets user to manage it a bit:
https://lore.kernel.org/netdev/20241114122009.97416-3-michal.swiatkowski@linux.intel.com/T/

and we want to post another one later that changes defaults from the
current "grab a lot when there are many CPUs" policy to more resonable


More information about the Intel-wired-lan mailing list