[dpdk-dev] [PATCH 00/31] Support VFD and DPDK PF + kernel VF on i40e

Wenzhuo Lu wenzhuo.lu at intel.com
Fri Dec 2 01:11:42 CET 2016


1, VF Daemon (VFD)
VFD is an idea to control all the VFs from PF.
As we need to support the scenario kernel PF + DPDK VF, DPDK follows the interface
between kernel PF + kernel VF. We don't want to introduce too many new messages
between PF and VF. So this patch set adds some new APIs to control VFs directly
from PF.
The new APIs include,
1) set VF MAC anti-spoofing
2) set VF VLAN anti-spoofing
3) set TX loopback
4) set VF unicast promiscuous mode
5) set VF multicast promiscuous mode
6) set VF MTU
7) get/reset VF stats
8) set VF MAC address
9) set VF VLAN stripping
10) VF VLAN insertion
12) set VF broadcast mode
12) set VF VLAN tag
13) set VF VLAN filter
VFD also includes VF to PF mailbox message management by APP. When PF receives mailbox
messages from VF, PF should call the callback provided by APP to know if they're
permitted to be processed.

2, Implement VF MAC address setting on VF.

3, Support the scenario DPDK PF + kernel VF.

Bernard Iremonger (8):
  net/i40e: add set VF VLAN insert function
  net/i40e: set VF broadcast mode from PF
  net/i40e: set VF VLAN tag from PF
  net/i40e: set VF VLAN filter from PF
  app/testpmd: add command to test VF broadcast mode on i40e
  app/testpmd: add command to test VF VLAN tag on i40e
  app/testpmd: handle i40e in VF VLAN filter command
  app/testpmd: initialize receive mode for VMDq

Chen Jing D(Mark) (6):
  net/i40e: add VF vlan strip func
  net/i40e: change version number to support Linux VF
  net/i40e: return correct vsi_id
  net/i40e: parse more VF parameter and configure
  net/i40e: support Linux VF to configure IRQ link list
  i40e: enhance in sanity check of mac

Ferruh Yigit (3):
  net/i40e: set VF MAC from PF support
  net/i40e: set VF MAC from VF support
  net/i40e: fix VF MAC address assignment

Qi Zhang (4):
  net/i40e: enable VF MTU change
  rte: add APIs for VF stats get/reset
  net/i40e: implement ops for VF stats get/reset
  net/i40e: fix VF reset flow

Wenzhuo Lu (10):
  net/i40e: support link status notification
  net/i40e: add callback to user on VF to PF mbox msg
  net/i40e: set VF MAC anti-spoofing from PF
  net/i40e: set VF VLAN anti-spoofing from PF
  net/i40e: set TX loopback from PF
  net/i40e: set VF unicast promisc mode from PF
  net/i40e: set VF multicast promisc mode from PF
  app/testpmd: use VFD APIs on i40e
  app/testpmd: use unicast promiscuous mode on i40e
  app/testpmd: use multicast promiscuous mode on i40e

 app/test-pmd/cmdline.c                      | 438 ++++++++++++++-
 app/test-pmd/config.c                       |  17 +-
 app/test-pmd/testpmd.c                      |   5 +-
 app/test/Makefile                           |   8 +
 app/test/test_pmd_i40e.c                    |  96 ++++
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |  30 +
 drivers/net/i40e/Makefile                   |   4 +-
 drivers/net/i40e/i40e_ethdev.c              | 835 +++++++++++++++++++++++++++-
 drivers/net/i40e/i40e_ethdev.h              |   5 +-
 drivers/net/i40e/i40e_ethdev_vf.c           |  81 ++-
 drivers/net/i40e/i40e_pf.c                  | 415 ++++++++++++--
 drivers/net/i40e/i40e_pf.h                  |   9 +-
 drivers/net/i40e/rte_pmd_i40e.h             | 287 ++++++++++
 drivers/net/i40e/rte_pmd_i40e_version.map   |  17 +
 lib/librte_ether/rte_ethdev.c               |  47 ++
 lib/librte_ether/rte_ethdev.h               |  47 ++
 16 files changed, 2255 insertions(+), 86 deletions(-)
 create mode 100644 app/test/test_pmd_i40e.c
 create mode 100644 drivers/net/i40e/rte_pmd_i40e.h

-- 
1.9.3



More information about the dev mailing list