aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_virtchnl.c
diff options
context:
space:
mode:
authorJesse Brandeburg <[email protected]>2025-03-06 17:56:34 +0000
committerTony Nguyen <[email protected]>2025-03-18 16:38:15 +0000
commit7fd71f317288d5150d353ce9d65b1e2abf99a8e2 (patch)
tree5aa4b597e43e52c0e1609883b32d4e1236ea636b /drivers/net/ethernet/intel/ice/ice_virtchnl.c
parentice: ensure periodic output start time is in the future (diff)
downloadkernel-7fd71f317288d5150d353ce9d65b1e2abf99a8e2.tar.gz
kernel-7fd71f317288d5150d353ce9d65b1e2abf99a8e2.zip
ice: fix reservation of resources for RDMA when disabled
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 <[email protected]> Acked-by: Dave Ertman <[email protected]> Reviewed-by: Aleksandr Loktionov <[email protected]> Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_virtchnl.c')
0 files changed, 0 insertions, 0 deletions