introduce support for hairpin between two ports
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest5 patches 2 repliesIn review
- v55 patches 4 repliesSuperseded
- v45 patches 4 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 6 patches | 12 replies | Superseded | |
| v2 posting 2/2 | 6 patches | 6 replies | Superseded | |
| v2 RFC posting 1/2 | 4 patches | 9 replies | Superseded |
Changes in v6 from the cover letter
1. Coding style updates
2. Using "Rx" & "Tx" instead of the capital formats
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ethdev: add hairpin bind and unbind APIsdoc/ lib/ lib/ +2 more | +156 | 0 replies | |
| 2/5 | ethdev: add new attributes to hairpin configdoc/ doc/ lib/ +1 more | +40 | 0 replies | |
| 3/5 | ethdev: add API to get hairpin peer ports listdoc/ lib/ lib/ +2 more | +89 | 0 replies | |
| 4/5 | ethdev: add APIs for hairpin queue operationlib/ lib/ lib/ | +159 | 0 replies | |
| 5/5 | app/testpmd: change hairpin queues setupapp/ app/ app/ +1 more | +146 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Ori Kam | Thomas Monjalon |
|---|---|---|
| 1/5 | A-b | A-b |
| 2/5 | A-b | A-b |
| 3/5 | A-b | |
| 4/5 | A-b | |
| 5/5 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dpdk-dev] [PATCH v6 0/5] introduce support for hairpin between two ports
The patches contain the following changes:
1. new APIs to bind and unbind hairpin ports in manual binding mode.
2. new API to get the hairpin peer ports list.
3. new internal APIs for PMD to pass the queue information and configure the queue pair.
4. new attribute members in the hairpin queue configuraiton structure to specify the binding mode and enable explicit TX flow mode.
5. Testpmd support to configure the hairpin modes for two ports hairpin verification.
6. documents update.
---
v6:
1. Coding style updates
2. Using "Rx" & "Tx" instead of the capital formats
v5:
1. Change EINVAL to ENODEV if port id is invalid
2. Description fixes and other minor changes
v4:
1. squash documents update into patch
2. add more description of the hairpin conf attributes
v3:
1. add length to protect the pointer to the array from getting corrupted
2. change the direction from bool to unsigned int
v2:
1. add documents update
2. remove all peer ports logic from rte API
3. conf structure optimizing
4. new API to get the peer ports and testpmd change to support hot-plug / unplug case
---
Bing Zhao (5):
ethdev: add hairpin bind and unbind APIs
ethdev: add new attributes to hairpin config
ethdev: add API to get hairpin peer ports list
ethdev: add APIs for hairpin queue operation
app/testpmd: change hairpin queues setup
app/test-pmd/parameters.c | 15 +++ app/test-pmd/testpmd.c | 125 ++++++++++++++++++++- app/test-pmd/testpmd.h | 2 + doc/guides/prog_guide/rte_flow.rst | 3 + doc/guides/rel_notes/release_20_11.rst | 12 ++ doc/guides/testpmd_app_ug/run_app.rst | 8 ++ lib/librte_ethdev/rte_ethdev.c | 133 +++++++++++++++++++++- lib/librte_ethdev/rte_ethdev.h | 109 +++++++++++++++++- lib/librte_ethdev/rte_ethdev_driver.h | 186 +++++++++++++++++++++++++++++++ lib/librte_ethdev/rte_ethdev_version.map | 6 + 10 files changed, 590 insertions(+), 9 deletions(-)
Signature · 1 line
1.8.3.1