]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ice: improve error message for insufficient filter space
authorMartyna Szapar-Mudlaw <martyna.szapar-mudlaw@linux.intel.com>
Fri, 14 Mar 2025 08:11:11 +0000 (09:11 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 11 Apr 2025 18:58:57 +0000 (11:58 -0700)
commit6cb10c063d6c2b4ae659f8221f4dc70343185319
tree4f97540ab7c27876fcf3f46f4f59770b6c5fded6
parente2193f9f9ec989d7d3e5ff1fd96f71abc4426fc5
ice: improve error message for insufficient filter space

When adding a rule to switch through tc, if the operation fails
due to not enough free recipes (-ENOSPC), provide a clearer
error message: "Unable to add filter: insufficient space available."

This improves user feedback by distinguishing space limitations from
other generic failures.

Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Signed-off-by: Martyna Szapar-Mudlaw <martyna.szapar-mudlaw@linux.intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_tc_lib.c