From: Or Gerlitz <ogerlitz@mellanox.com>
To: Ben Hutchings <bhutchings@solarflare.com>
Cc: Rony Efraim <ronye@mellanox.com>, netdev <netdev@vger.kernel.org>,
Amir Vadai <amirv@mellanox.com>
Subject: setting flow spec rules under vswitch configuration
Date: Tue, 9 Oct 2012 11:37:55 +0200 [thread overview]
Message-ID: <5073F073.3060403@mellanox.com> (raw)
Hi Ben,
Looking on kernel ethtool flow steering APIs in the context of a device
which is used as the uplink of a virtual switch, the admin should be able
to provide flow specification and action (e.g drop) that relates to traffic
coming from a specific port of the switch e.g that relates to a certain
VM,etc.
For that end, we need to be able to specify both the L3/L4 attributes of
the flow and an L2 spec, that is the L2 spec containing the destination MAC
can't be assumed as the one of that device.
Specifically, in struct ethtool_rx_ntuple_flow_spec, I think we should
let the
to provide an ethhdr even when L3/L4 spec is given, make sense? if yes, how
would you like to see this change, add a union entry that contains both,
or in
another way?
Or.
next reply other threads:[~2012-10-09 9:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-09 9:37 Or Gerlitz [this message]
2012-10-09 16:48 ` setting flow spec rules under vswitch configuration Ben Hutchings
2012-10-10 14:16 ` Or Gerlitz
2012-10-10 14:28 ` Ben Hutchings
2012-10-10 14:31 ` Or Gerlitz
2012-10-10 17:27 ` Ben Hutchings
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=5073F073.3060403@mellanox.com \
--to=ogerlitz@mellanox.com \
--cc=amirv@mellanox.com \
--cc=bhutchings@solarflare.com \
--cc=netdev@vger.kernel.org \
--cc=ronye@mellanox.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