[dpdk-dev] [PATCH 0/4] introduce support for hairpin between two ports
Bing Zhao
bingz at nvidia.com
Thu Oct 1 02:25:58 CEST 2020
This patch set will add the support for hairpin between two ports.
In the meanwhile, the compatibility of the previous single port mode
is taken into consideration and kept.
The patches contain the following changes:
1. new APIs to bind and unbind hairpin ports in manual binding mode.
2. new internal APIs for PMD to pass the queue information and
configure the queue pair.
3. new attribute members in the hairpin queue configuraiton structure
to specify the binding mode and enable explicit TX flow mode.
4. Testpmd support to configure the hairpin modes for two ports
hairpin verification.
Bing Zhao (4):
ethdev: add hairpin bind and unbind APIs
ethdev: add new attributes to hairpin config
ethdev: add APIs for hairpin queue operation
app/testpmd: change hairpin queues setup
app/test-pmd/parameters.c | 15 +++
app/test-pmd/testpmd.c | 68 ++++++++++++-
app/test-pmd/testpmd.h | 2 +
lib/librte_ethdev/rte_ethdev.c | 162 +++++++++++++++++++++++++++++++
lib/librte_ethdev/rte_ethdev.h | 69 +++++++++++++
lib/librte_ethdev/rte_ethdev_driver.h | 160 ++++++++++++++++++++++++++++++
lib/librte_ethdev/rte_ethdev_version.map | 5 +
7 files changed, 477 insertions(+), 4 deletions(-)
--
2.5.5
More information about the dev
mailing list