Support VFD and DPDK PF + kernel VF on i40e
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest29 patches 33 repliesIn review
- v429 patches 1 replySuperseded
Changes in v5 from the cover letter
- fix testpmd build error(s)
- fix i40e vf_rx_vlan
- remove redundant memset on dev_info
- add functions to .map file sorted
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/29 | net/i40e: support link status notificationdrivers/ drivers/ drivers/ +3 more | +101 | 0 replies | |
| 2/29 | net/i40e: add callback to user on VF to PF mbox msgdrivers/ drivers/ | +216 | 0 replies | |
| 3/29 | net/i40e: set VF MAC anti-spoofing from PFdrivers/ drivers/ drivers/ | +83 | 0 replies | |
| 4/29 | net/i40e: set VF VLAN anti-spoofing from PFdrivers/ drivers/ drivers/ +1 more | +135 | 0 replies | |
| 5/29 | net/i40e: set Tx loopback from PFdrivers/ drivers/ drivers/ | +236 | 0 replies | |
| 6/29 | net/i40e: set VF unicast promisc mode from PFdrivers/ drivers/ drivers/ | +56 | 0 replies | |
| 7/29 | net/i40e: set VF multicast promisc mode from PFdrivers/ drivers/ drivers/ | +56 | 0 replies | |
| 8/29 | net/i40e: enable VF MTU changedrivers/ | +33 | 0 replies | |
| 9/29 | net/i40e: fix VF reset flowdrivers/ drivers/ | +4 | 0 replies | |
| 10/29 | net/i40e: set VF MAC from PF supportdrivers/ drivers/ drivers/ | +60 | 0 replies | |
| 11/29 | net/i40e: set VF MAC from VF supportdrivers/ drivers/ | +45 | 0 replies | |
| 12/29 | net/i40e: fix VF MAC address assignmentdrivers/ | +2 | 0 replies | |
| 13/29 | net/i40e: add VF VLAN strip funcdrivers/ drivers/ drivers/ | +46 | 0 replies | |
| 14/29 | net/i40e: add set VF VLAN insert functiondrivers/ drivers/ drivers/ | +73 | 0 replies | |
| 15/29 | net/i40e: set VF broadcast mode from PFdrivers/ drivers/ drivers/ | +63 | 0 replies | |
| 16/29 | net/i40e: set VF VLAN tag from PFdrivers/ drivers/ drivers/ | +78 | 0 replies | |
| 17/29 | net/i40e: set VF VLAN filter from PFdrivers/ drivers/ drivers/ | +75 | 0 replies | |
| 18/29 | app/testpmd: use VFD APIs on i40eapp/ app/ | +121 | 5 replies | |
| 19/29 | app/testpmd: use unicast promiscuous mode on i40eapp/ doc/ | +101 | 2 replies | |
| 20/29 | app/testpmd: use multicast promiscuous mode on i40eapp/ doc/ | +101 | 0 replies | |
| 21/29 | app/testpmd: add command to test VF broadcast mode on i40eapp/ doc/ | +98 | 0 replies | |
| 22/29 | app/testpmd: add command to test VF VLAN tag on i40eapp/ doc/ | +104 | 0 replies | |
| 23/29 | app/testpmd: handle i40e in VF VLAN filter commandapp/ app/ app/ | +33 | 2 replies | |
| 24/29 | net/i40e: change version number to support Linux VFdrivers/ | +13 | 0 replies | |
| 25/29 | net/i40e: return correct VSI iddrivers/ | +1 | 0 replies | |
| 26/29 | net/i40e: parse more VF parameter and configuredrivers/ | +3 | 0 replies | |
| 27/29 | net/i40e: support Linux VF to configure IRQ link listdrivers/ | +138 | 0 replies | |
| 28/29 | net/i40e: enhance in sanity check of MACdrivers/ | +2 | 0 replies | |
| 29/29 | net/i40e: set/clear VF stats from PFdrivers/ drivers/ drivers/ | +119 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH v5 00/29] Support VFD and DPDK PF + kernel VF on i40e
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.
v5:
- fix testpmd build error(s)
- fix i40e vf_rx_vlan
- remove redundant memset on dev_info
- add functions to .map file sorted
v4:
- rebase on latest next-net
- move patch 10/29 testpmd part to patch 18/29
v3:
- fix issue that VF does not work for i40e
- remove patch for VDMq receive mode init
- move get/reset VF stats API into rte_pmd_i40
v2:
- fix the compile issues.
- fix the checkpatch warning and typo.
- update the commit log of some patches.
- fix the invalid port ID issue of testpmd.
Bernard Iremonger (7):
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
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 net/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 (3):
net/i40e: enable VF MTU change
net/i40e: fix VF reset flow
net/i40e: set/clear VF stats from PF
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/Makefile | 2 + app/test-pmd/cmdline.c | 560 ++++++++++++++++-- app/test-pmd/config.c | 13 - app/test-pmd/testpmd.h | 2 - doc/guides/testpmd_app_ug/testpmd_funcs.rst | 32 ++ drivers/net/i40e/Makefile | 4 +- drivers/net/i40e/i40e_ethdev.c | 847 +++++++++++++++++++++++++++- drivers/net/i40e/i40e_ethdev.h | 5 +- drivers/net/i40e/i40e_ethdev_vf.c | 82 ++- drivers/net/i40e/i40e_pf.c | 417 ++++++++++++-- drivers/net/i40e/i40e_pf.h | 9 +- drivers/net/i40e/rte_pmd_i40e.h | 328 +++++++++++ drivers/net/i40e/rte_pmd_i40e_version.map | 20 + 13 files changed, 2191 insertions(+), 130 deletions(-) create mode 100644 drivers/net/i40e/rte_pmd_i40e.h
Signature · 1 line
2.9.3