netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ahmed Zaki <ahmed.zaki@intel.com>
To: <netdev@vger.kernel.org>
Cc: <davem@davemloft.net>, <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, <pabeni@redhat.com>,
	<mkubecek@suse.cz>, "Chittim, Madhu" <madhu.chittim@intel.com>,
	"Samudrala, Sridhar" <sridhar.samudrala@intel.com>
Subject: [RFC] ethtool: raw packet filtering
Date: Tue, 5 Dec 2023 11:23:34 -0700	[thread overview]
Message-ID: <459ef75b-69dc-4baa-b7e4-6393b0b358ce@intel.com> (raw)

Hello,

We are planning to send a patch series that enables raw packet filtering 
for ice and iavf. However, ethtool currently allows raw filtering on 
only 8 bytes via "user-def":

   # ethtool -N eth0 flow-type user-def N [m N] action N


We are seeking the community's opinion on how to extend the ntuple 
interface to allow for up to 512 bytes of raw packet filtering. The 
direct approach is:

   # ethtool -N eth0 flow-type raw-fltr N [m N] action N

where N would be allowed to be 512 bytes. Would that be acceptable? Any 
concerns regarding netlink or other user-space/kernel comm?

Thank you.


             reply	other threads:[~2023-12-05 18:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-05 18:23 Ahmed Zaki [this message]
2023-12-06 16:16 ` [RFC] ethtool: raw packet filtering Jakub Kicinski
2023-12-06 22:47   ` Ahmed Zaki
2023-12-07  2:25     ` Jakub Kicinski
2023-12-11 23:34       ` Ahmed Zaki
2023-12-12  1:50         ` Jakub Kicinski

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=459ef75b-69dc-4baa-b7e4-6393b0b358ce@intel.com \
    --to=ahmed.zaki@intel.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=madhu.chittim@intel.com \
    --cc=mkubecek@suse.cz \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sridhar.samudrala@intel.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).