lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 29 Mar 2017 17:22:48 -0700
From:   Sridhar Samudrala <>
Subject: [next-queue v6 PATCH 0/7] i40e: Add port representor and initial switchdev support

- 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
- Patch 4 adds a new type to metadata_dst to allow passing port id to lower
- 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.

- 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.
- Fix an issue with the link state sync patch.
- Make VFPR ndo_get_stats64 a void function to match with recent upstream
- 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
- 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(-)


Powered by blists - more mailing lists