From: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
To: John Fastabend <john.fastabend@gmail.com>
Cc: netdev@vger.kernel.org, davem@davemloft.net,
hariprasad@chelsio.com, leedom@chelsio.com,
nirranjan@chelsio.com, indranil@chelsio.com
Subject: Re: [PATCH net-next v2 3/5] cxgb4: add parser to translate u32 filters to internal spec
Date: Sat, 17 Sep 2016 14:10:19 +0530 [thread overview]
Message-ID: <20160917084018.GA6429@chelsio.com> (raw)
In-Reply-To: <57DAAFCC.8000207@gmail.com>
On Thursday, September 09/15/16, 2016 at 07:27:24 -0700, John Fastabend wrote:
> On 16-09-13 04:42 AM, Rahul Lakkireddy wrote:
> > Parse information sent by u32 into internal filter specification.
> > Add support for parsing several fields in IPv4, IPv6, TCP, and UDP.
> >
> > Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
> > Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
> > ---
>
> Looks good to me. Also curious if you would find it worthwhile to
> have a cls_u32 mode that starts at L2 instead of the IP header? The
> use case would be to use cls_u32 with various encapsulation protocols
> in front of the IP header.
>
> Reviewed-by: John Fastabend <john.r.fastabend@intel.com>
Thanks for the review John. Yes, we are also looking for getting u32
to start from L2 header in order to allow matching encapsulation
protocols in front of IP header.
In addition, our hardware also keeps track of per-filter statistics
such as number of times the filter has been hit and number of bytes
that hit the filter. Hence, we are also looking for exposing these
per-filter stats to u32.
Thanks,
Rahul
next prev parent reply other threads:[~2016-09-17 8:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-13 11:42 [PATCH net-next v2 0/5] cxgb4: add support for offloading TC u32 filters Rahul Lakkireddy
2016-09-13 11:42 ` [PATCH net-next v2 1/5] cxgb4: move common filter code to separate file Rahul Lakkireddy
2016-09-13 11:42 ` [PATCH net-next v2 2/5] cxgb4: add common api support for configuring filters Rahul Lakkireddy
2016-09-16 0:18 ` David Miller
2016-09-13 11:42 ` [PATCH net-next v2 3/5] cxgb4: add parser to translate u32 filters to internal spec Rahul Lakkireddy
2016-09-15 14:27 ` John Fastabend
2016-09-17 8:40 ` Rahul Lakkireddy [this message]
2016-09-13 11:42 ` [PATCH net-next v2 4/5] cxgb4: add support for offloading u32 filters Rahul Lakkireddy
2016-09-13 11:42 ` [PATCH net-next v2 5/5] cxgb4: add support for drop and redirect actions Rahul Lakkireddy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160917084018.GA6429@chelsio.com \
--to=rahul.lakkireddy@chelsio.com \
--cc=davem@davemloft.net \
--cc=hariprasad@chelsio.com \
--cc=indranil@chelsio.com \
--cc=john.fastabend@gmail.com \
--cc=leedom@chelsio.com \
--cc=netdev@vger.kernel.org \
--cc=nirranjan@chelsio.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).