lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <PH0PR11MB5013F63C43277D7466F4F95896AC2@PH0PR11MB5013.namprd11.prod.outlook.com>
Date: Tue, 1 Apr 2025 09:49:52 +0000
From: "Buvaneswaran, Sujai" <sujai.buvaneswaran@...el.com>
To: Simon Horman <horms@...nel.org>, Martyna Szapar-Mudlaw
	<martyna.szapar-mudlaw@...ux.intel.com>
CC: "intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>, Michal Swiatkowski
	<michal.swiatkowski@...ux.intel.com>
Subject: RE: [Intel-wired-lan] [PATCH iwl-next] ice: improve error message for
 insufficient filter space

Hi,

I tried to add tc rules to the HW beyond the maximum limit and still noticing the below error message instead of error message mentioned in the patch.

[root@...l-cnv-sut ~]# tc filter add dev ens5f0np0 ingress protocol ip prio 0 flower skip_sw dst_mac 00:f0:01:00:00:0E action mirred egress redirect dev ens5f0npf0vf0
Error: ice: Unable to add filter due to error.
We have an error talking to the kernel

[root@...l-cnv-sut ~]# tc filter show dev ens5f0np0 root | grep -c in_hw
16306

Please check it.

Thanks,
Sujai B

> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of
> Simon Horman
> Sent: Wednesday, March 19, 2025 5:48 PM
> To: Martyna Szapar-Mudlaw <martyna.szapar-mudlaw@...ux.intel.com>
> Cc: intel-wired-lan@...ts.osuosl.org; netdev@...r.kernel.org; Michal
> Swiatkowski <michal.swiatkowski@...ux.intel.com>
> Subject: Re: [Intel-wired-lan] [PATCH iwl-next] ice: improve error message for
> insufficient filter space
> 
> On Fri, Mar 14, 2025 at 09:11:11AM +0100, Martyna Szapar-Mudlaw wrote:
> > 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@...ux.intel.com>
> > Signed-off-by: Martyna Szapar-Mudlaw
> > <martyna.szapar-mudlaw@...ux.intel.com>
> 
> Reviewed-by: Simon Horman <horms@...nel.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ