[Intel-wired-lan] [PATCH intel-net v2] ice: fix reservation of resources for RDMA when disabled
Rinitha, SX
sx.rinitha at intel.com
Mon Mar 17 11:01:44 UTC 2025
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Jesse Brandeburg
> Sent: 06 March 2025 23:27
> To: intel-wired-lan at lists.osuosl.org
> Cc: Brandeburg, Jesse <jbrandeburg at cloudflare.com>; netdev at vger.kernel.org; kernel-team at cloudflare.com; jbrandeb at kernel.org; leon at kernel.org; Kitszel, Przemyslaw <przemyslaw.kitszel at intel.com>; Ertman, David M <david.m.ertman at intel.com>
> Subject: [Intel-wired-lan] [PATCH intel-net v2] ice: fix reservation of resources for RDMA when disabled
>
> From: Jesse Brandeburg <jbrandeburg at cloudflare.com>
>
> 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. The result of this change is a large savings in resources for older kernels, and a cleaner driver configuration for the IRDMA=n case for old and new kernels.
>
> Implement this by avoiding enabling the RDMA capability when scanning hardware capabilities.
>
> Note: Loading the out-of-tree irdma driver in connection to the in-kernel ice driver, is not supported, and should not be attempted, especially when disabling IRDMA in the kernel config.
>
> Fixes: d25a0fc41c1f ("ice: Initialize RDMA support")
> Signed-off-by: Jesse Brandeburg <jbrandeburg at cloudflare.com>
> Acked-by: Dave Ertman <david.m.ertman at intel.com>
> ---
> v2: resend with acks, add note about oot irdma (Leon), reword commit message
> v1: https://lore.kernel.org/netdev/20241114000105.703740-1-jbrandeb@kernel.org/
> ---
> drivers/net/ethernet/intel/ice/ice_common.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
Tested-by: Rinitha S <sx.rinitha at intel.com> (A Contingent worker at Intel)
More information about the Intel-wired-lan
mailing list