[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2c35ef3950756f0ea04fb61246b2c9b22859d3d4.camel@intel.com>
Date: Sat, 14 Nov 2020 00:15:46 +0000
From: "Nguyen, Anthony L" <anthony.l.nguyen@...el.com>
To: "alexander.duyck@...il.com" <alexander.duyck@...il.com>
CC: "Cao, Chinh T" <chinh.t.cao@...el.com>,
"kuba@...nel.org" <kuba@...nel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"Valiquette, Real" <real.valiquette@...el.com>,
"davem@...emloft.neti" <davem@...emloft.neti>,
"Bokkena, HarikumarX" <harikumarx.bokkena@...el.com>,
"sassmann@...hat.com" <sassmann@...hat.com>
Subject: Re: [net-next v2 03/15] ice: initialize ACL table
On Fri, 2020-11-13 at 14:59 -0800, Alexander Duyck wrote:
> On Fri, Nov 13, 2020 at 1:36 PM Tony Nguyen <
> anthony.l.nguyen@...el.com> wrote:
> >
> > From: Real Valiquette <real.valiquette@...el.com>
> >
> > ACL filtering can be utilized to expand support of ntuple rules by
> > allowing
> > mask values to be specified for redirect to queue or drop.
> >
> > Implement support for specifying the 'm' value of ethtool ntuple
> > command
> > for currently supported fields (src-ip, dst-ip, src-port, and dst-
> > port).
> >
> > For example:
> >
> > ethtool -N eth0 flow-type tcp4 dst-port 8880 m 0x00ff action 10
> > or
> > ethtool -N eth0 flow-type tcp4 src-ip 192.168.0.55 m 0.0.0.255
> > action -1
> >
> > At this time the following flow-types support mask values: tcp4,
> > udp4,
> > sctp4, and ip4.
>
> So you spend all of the patch description describing how this might
> be
> used in the future. However there is nothing specific to the ethtool
> interface as far as I can tell anywhere in this patch. With this
> patch
> the actual command called out above cannot be performed, correct?
>
> > Begin implementation of ACL filters by setting up structures,
> > AdminQ
> > commands, and allocation of the ACL table in the hardware.
>
> This seems to be what this patch is actually doing. You may want to
> rewrite this patch description to focus on this and explain that you
> are enabling future support for ethtool ntuple masks. However save
> this feature description for the patch that actually enables the
> functionality.
Thanks for the feedback Alex. I believe you're still reviewing the
patches, I'l look through and make changes accordingly or get responses
as neeeded.
Thanks,
Tony
Powered by blists - more mailing lists