From: Sridhar Samudrala <sridhar.samudrala@intel.com>
To: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org,
alexander.h.duyck@intel.com, anjali.singhai@intel.com,
jakub.kicinski@netronome.com, gerlitz.or@gmail.com,
jiri@resnulli.us, sridhar.samudrala@intel.com
Subject: [next-queue v6 PATCH 0/7] i40e: Add port representor and initial switchdev support
Date: Wed, 29 Mar 2017 17:22:48 -0700 [thread overview]
Message-ID: <1490833375-2788-1-git-send-email-sridhar.samudrala@intel.com> (raw)
- Patch 1 introduces devlink interface to get/set the mode of switch.
- Patch 2 adds support to create control plane port representor netdevs
associated with dataplane PF and VFs that can be used to control/configure
PF/VFs even when they are in a different namespace.
- Patch 3 enables syncing link state between PF/VFs and associated Port
representors.
- Patch 4 adds a new type to metadata_dst to allow passing port id to lower
device.
- Patch 5 adds TX and RX support to port netdevs.
- Patch 6 enables HW and SW Port statistics to be exposed via netlink on
Port netdevs.
- Patch 7 adds support to get switch id and port number for Port netdevs.
v6:
- Port representor netdevs are created and supported for PFs too.
- Broadcast filters are not disabled by default on VFs in switchdev mode.
Instead, offload_fwd_mark is set on skb's that are forwarded to Port
netdevs to indicate that the HW has done the forwarding.
- Random mac addresses are assigned to Port netdevs.
v5:
- Fix an issue with the link state sync patch.
v4:
- Make VFPR ndo_get_stats64 a void function to match with recent upstream
change.
v3:
- misc. error handling fixes suggested by Scott Peterson
- introduce switchdev_ops and add support to get switch id and port no.
for VFPR netdevs. Suggested by Or Gerlitz
v2:
- handle i40e_alloc_vfpr_netdev() failures.
- minor comment/commit msg updates.
Jakub Kicinski (1):
net: store port/representator id in metadata_dst
Sridhar Samudrala (6):
i40e: Introduce devlink interface
i40e: Introduce Port Representor netdevs and switchdev mode.
i40e: Sync link state between PF/VFs and Port representor netdevs
i40e: Add TX and RX support over port netdev's in switchdev mode
i40e: Add support for exposing switch port statistics via port netdevs
i40e: Add support to get switch id and port number for port netdevs
drivers/net/ethernet/intel/Kconfig | 1 +
drivers/net/ethernet/intel/i40e/i40e.h | 37 ++
drivers/net/ethernet/intel/i40e/i40e_main.c | 609 ++++++++++++++++++++-
drivers/net/ethernet/intel/i40e/i40e_txrx.c | 170 +++++-
drivers/net/ethernet/intel/i40e/i40e_txrx.h | 2 +
drivers/net/ethernet/intel/i40e/i40e_type.h | 3 +
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 34 +-
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h | 7 +
include/net/dst_metadata.h | 41 +-
net/core/dst.c | 15 +-
net/core/filter.c | 1 +
net/ipv4/ip_tunnel_core.c | 6 +-
net/openvswitch/flow_netlink.c | 4 +-
13 files changed, 899 insertions(+), 31 deletions(-)
--
1.8.3.1
next reply other threads:[~2017-03-30 0:22 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-30 0:22 Sridhar Samudrala [this message]
2017-03-30 0:22 ` [next-queue v6 PATCH 1/7] i40e: Introduce devlink interface Sridhar Samudrala
2017-03-30 0:22 ` [next-queue v6 PATCH 2/7] i40e: Introduce Port Representor netdevs and switchdev mode Sridhar Samudrala
2017-03-30 9:17 ` Or Gerlitz
[not found] ` <CAJ3xEMgVeri17KceKhnFUCCFj00yWXKtjwP4r36Pb-CSZiOTng@mail.gmail.com>
[not found] ` <58E2974B.30503@intel.com>
2017-04-04 11:58 ` Or Gerlitz
2017-04-04 15:29 ` [Intel-wired-lan] " Alexander Duyck
2017-04-05 13:41 ` Or Gerlitz
2017-03-30 0:22 ` [next-queue v6 PATCH 3/7] i40e: Sync link state between PF/VFs and Port representor netdevs Sridhar Samudrala
2017-03-30 0:22 ` [next-queue v6 PATCH 4/7] net: store port/representator id in metadata_dst Sridhar Samudrala
2017-03-30 0:22 ` [next-queue v6 PATCH 5/7] i40e: Add TX and RX support over port netdev's in switchdev mode Sridhar Samudrala
2017-03-30 9:26 ` Or Gerlitz
2017-04-03 18:52 ` Samudrala, Sridhar
2017-04-14 16:47 ` [Intel-wired-lan] " Alexander Duyck
2017-04-14 18:26 ` Samudrala, Sridhar
2017-03-30 0:22 ` [next-queue v6 PATCH 6/7] i40e: Add support for exposing switch port statistics via port netdevs Sridhar Samudrala
2017-03-30 0:22 ` [next-queue v6 PATCH 7/7] i40e: Add support to get switch id and port number for " Sridhar Samudrala
2017-03-30 21:45 ` Jakub Kicinski
2017-03-30 22:31 ` Alexander Duyck
2017-03-31 1:16 ` 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=1490833375-2788-1-git-send-email-sridhar.samudrala@intel.com \
--to=sridhar.samudrala@intel.com \
--cc=alexander.h.duyck@intel.com \
--cc=anjali.singhai@intel.com \
--cc=gerlitz.or@gmail.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=jakub.kicinski@netronome.com \
--cc=jiri@resnulli.us \
--cc=netdev@vger.kernel.org \
/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).