All of lore.kernel.org
 help / color / mirror / Atom feed
* [net-next 0/5][pull request] 100GbE Intel Wired LAN Driver Updates 2020-07-13
@ 2020-07-13 17:43 Tony Nguyen
  2020-07-13 17:43 ` [net-next 1/5] ice: add the virtchnl handler for AdminQ command Tony Nguyen
                   ` (4 more replies)
  0 siblings, 5 replies; 21+ messages in thread
From: Tony Nguyen @ 2020-07-13 17:43 UTC (permalink / raw)
  To: davem; +Cc: Tony Nguyen, netdev, nhorman, sassmann, jeffrey.t.kirsher

This series contains updates to ice driver and virtchnl header file.

The iproute2 and ethtool are evolving to expose the NIC hardware
capability. But these available orchestration methods in Linux kernel are
limited in their capability to exercise advanced functionality in the
hardware, since different vendors may have different data programming
method.

Intel Ethernet Adaptive Virtual Function (AVF) is the common hardware
interface for SR-IOV, it has the defined message format to talk with the
PF.

To make good use of the advanced functionality like Switch (Binary
Classifier). The ice PF driver introduces a DCF (Device Config Function)
mode to extend the AVF feature.

The DCF (Device Config Function) method wraps a raw flow admin queue
command in a virthcnl message and sends it to the PF to be executed. This
is required because it doesn't have the privilege level to issue the admin
queue commands, so it acts as a proxy PF. So that the user can customize
the AVF feature, and use their own programming language to translate the
flow rule management data into ice raw flow, these raw flows then can be
executed in PF's sandbox.

And the kernel PF driver fully controls the behavior of DCF for security,
like only the trusted VF with ID zero can run in DCF mode, and also for
being compatible with the common AVF feature, the VF needs to advertise and
acquire DCF capability first.

The following are changes since commit 94339443686b36d3223bc032b7947267474e2679:
  net: bridge: notify on vlan tunnel changes done via the old api
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 100GbE

Haiyue Wang (5):
  ice: add the virtchnl handler for AdminQ command
  ice: add DCF cap negotiation and state machine
  ice: support to get the VSI mapping
  ice: enable DDP package info querying
  ice: add switch rule management for DCF

 drivers/net/ethernet/intel/ice/Makefile       |   2 +-
 drivers/net/ethernet/intel/ice/ice.h          |   2 +
 .../net/ethernet/intel/ice/ice_adminq_cmd.h   |   6 +
 drivers/net/ethernet/intel/ice/ice_dcf.c      | 833 ++++++++++++++++++
 drivers/net/ethernet/intel/ice/ice_dcf.h      |  91 ++
 drivers/net/ethernet/intel/ice/ice_main.c     |   2 +
 drivers/net/ethernet/intel/ice/ice_switch.c   |  16 +-
 drivers/net/ethernet/intel/ice/ice_switch.h   |  27 +-
 drivers/net/ethernet/intel/ice/ice_type.h     |   9 +
 .../net/ethernet/intel/ice/ice_virtchnl_pf.c  | 366 ++++++++
 .../net/ethernet/intel/ice/ice_virtchnl_pf.h  |   1 +
 include/linux/avf/virtchnl.h                  |  63 ++
 12 files changed, 1392 insertions(+), 26 deletions(-)
 create mode 100644 drivers/net/ethernet/intel/ice/ice_dcf.c
 create mode 100644 drivers/net/ethernet/intel/ice/ice_dcf.h

-- 
2.26.2


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2020-08-26  2:53 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-13 17:43 [net-next 0/5][pull request] 100GbE Intel Wired LAN Driver Updates 2020-07-13 Tony Nguyen
2020-07-13 17:43 ` [net-next 1/5] ice: add the virtchnl handler for AdminQ command Tony Nguyen
2020-07-13 22:48   ` Jakub Kicinski
2020-07-14  1:29     ` Wang, Haiyue
2020-07-14 18:24       ` Jakub Kicinski
2020-07-15  1:17         ` Wang, Haiyue
2020-07-15 18:03           ` Jakub Kicinski
2020-07-15 18:18             ` Wang, Haiyue
2020-07-23  0:37             ` Venkataramanan, Anirudh
2020-07-23  1:07               ` Jakub Kicinski
2020-07-25 16:39                 ` Tom Herbert
2020-07-27 23:04                   ` Jakub Kicinski
2020-08-03 10:39                     ` Wang, Haiyue
2020-08-03 20:45                       ` Jakub Kicinski
2020-08-05  1:06                         ` Wang, Haiyue
2020-08-26  2:45                           ` Liang, Cunming
2020-08-26  2:53                           ` Liang, Cunming
2020-07-13 17:43 ` [net-next 2/5] ice: add DCF cap negotiation and state machine Tony Nguyen
2020-07-13 17:43 ` [net-next 3/5] ice: support to get the VSI mapping Tony Nguyen
2020-07-13 17:43 ` [net-next 4/5] ice: enable DDP package info querying Tony Nguyen
2020-07-13 17:43 ` [net-next 5/5] ice: add switch rule management for DCF Tony Nguyen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.