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]
Date:	Tue, 07 Sep 2010 15:43:57 +0100
From:	Ben Hutchings <bhutchings@...arflare.com>
To:	Dimitris Michailidis <dm@...lsio.com>
Cc:	Peter Waskiewicz <peter.p.waskiewicz.jr@...el.com>,
	netdev@...r.kernel.org, David Miller <davem@...emloft.net>
Subject: Re: (Lack of) specification for RX n-tuple filtering

On Thu, 2010-07-22 at 14:50 -0700, Dimitris Michailidis wrote:
> Ben Hutchings wrote:
> > The n-tuple filtering facility is half-baked at present.  There is an
> > interface to add filters but none to remove them!  And ETHTOOL_GRXNTUPLE
> > is not at all symmetric with ETHTOOL_SRXNTUPLE (which I complained about
> > at the time it was added, to no avail).
> 
> It's a bit worse than that.  Currently one can only append filters, not 
> insert at a given position, as ethtool_rx_ntuple doesn't have an index 
> field.  For devices that use TCAMs, where position matters, it's quite an 
> obstacle.  It also means one cannot modify an existing filter by specifying 
> a new filter for the same index.

It looks like drivers for devices that use TCAMs should implement the
RXNFC interface instead.

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ