mbox

[0/5] net/enic: add SR-IOV VF representor

Message ID 20200909135656.18892-1-hyonkim@cisco.com (mailing list archive)
Headers

Message

Hyong Youb Kim Sept. 9, 2020, 1:56 p.m. UTC
This series adds VF representors to the driver. It enables
single-queue representors and implements enough flow features to run
OVS-DPDK offload for default vlan+mac based switching.

The flow API handlers and devcmd functions (firmware commands) are now
aware of representors. Representors reserve PF Tx/Rx queues for their
implicit paths to/from VFs. Packet forwarding rules for these implicit
paths are set up using firmware's Flow Manager (flowman), which is
also used for rte_flow API.

Thanks.
-Hyong

Hyong Youb Kim (5):
  net/enic: extend vnic dev API for VF representors
  net/enic: add minimal VF representor
  net/enic: add single-queue Tx and Rx to VF representor
  net/enic: extend flow handler to support VF representors
  net/enic: enable flow API for VF representor

 doc/guides/rel_notes/release_20_11.rst |   4 +
 drivers/net/enic/base/vnic_dev.c       | 112 +++-
 drivers/net/enic/base/vnic_dev.h       |   4 +
 drivers/net/enic/enic.h                | 116 ++++
 drivers/net/enic/enic_ethdev.c         | 107 +++-
 drivers/net/enic/enic_fm_flow.c        | 487 +++++++++++++++--
 drivers/net/enic/enic_main.c           | 114 +++-
 drivers/net/enic/enic_vf_representor.c | 729 +++++++++++++++++++++++++
 drivers/net/enic/meson.build           |   1 +
 9 files changed, 1602 insertions(+), 72 deletions(-)
 create mode 100644 drivers/net/enic/enic_vf_representor.c