From: Ferruh Yigit <ferruh.yigit@amd.com>
To: Stephen Hemminger <stephen@networkplumber.org>,
Gregory Etelson <getelson@nvidia.com>
Cc: aman.deep.singh@intel.com, david.marchand@redhat.com,
dev@dpdk.org, dsosnowski@nvidia.com, mkashani@nvidia.com,
thomas@monjalon.net, yuying.zhang@intel.com
Subject: Re: [PATCH v7] testpmd: add hairpin map parameter
Date: Fri, 1 Nov 2024 02:52:05 +0000 [thread overview]
Message-ID: <f0bcc9f9-9894-4f76-921a-3e099f3f6795@amd.com> (raw)
In-Reply-To: <20241031085141.5aee5ed4@hermes.local>
On 10/31/2024 3:51 PM, Stephen Hemminger wrote:
> On Thu, 31 Oct 2024 06:58:17 +0200
> Gregory Etelson <getelson@nvidia.com> wrote:
>
>> Hairpin offloads packet forwarding between ports.
>> Packet is expected on Rx port <rp>, Rx queue <rq> and is forwarded
>> to Tx port <tp> Tx queue <tq>.
>>
>> Testpmd implements a static hairpin configuration scheme.
>>
>> The new parameter allows explicit selection of Rx and Tx ports and
>> queues in hairpin configuration.
>> The new `hairpin-map` parameter is provided with 5 parameters,
>> separated by `:`
>>
>> `--hairpin-map=Rx port id:Rx queue:Tx port id:Tx queue:queues number`
>>
>> Testpmd operator can provide several `hairpin-map` parameters for
>> different hairpin maps.
>> Example:
>>
>> dpdk-testpmd <EAL params> -- \
>> <testpmd params> \
>> --rxq=2 --txq=2 --hairpinq=2 --hairpin-mode=0x12 \
>> --hairpin-map=0:2:1:2:1 \ # [1]
>> --hairpin-map=0:3:2:2:3 # [2]
>>
>> Hairpin map [1] binds Rx port 0, queue 2 with Tx port 1, queue 2.
>> Hairpin map [2] binds
>> Rx port 0, queue 3 with Tx port 2, queue 2,
>> Rx port 0, queue 4 with Tx port 2, queue 3,
>> Rx port 0, queue 5 with Tx port 2, queue 4.
>>
>> The new `hairpin-map` parameter is optional.
>> If omitted, testpmd will create "default" hairpin maps.
>>
>> Signed-off-by: Gregory Etelson <getelson@nvidia.com>
>> Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
>
> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
>
Applied to dpdk-next-net/main, thanks.
next prev parent reply other threads:[~2024-11-01 2:52 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-19 10:10 [PATCH] testpmd: add hairpin-map parameter Gregory Etelson
2023-09-20 12:22 ` [PATCH v2] " Gregory Etelson
2023-09-28 15:36 ` [PATCH v3] " Gregory Etelson
2023-12-14 8:06 ` Dariusz Sosnowski
2024-03-01 18:54 ` Ferruh Yigit
2024-03-05 3:04 ` Gregory Etelson
2024-09-22 6:50 ` [PATCH v5 1/1] " Gregory Etelson
2024-10-16 8:11 ` Ferruh Yigit
2024-10-28 10:23 ` Gregory Etelson
2024-10-29 21:51 ` Ferruh Yigit
2024-10-29 22:23 ` Stephen Hemminger
2024-10-30 7:37 ` [PATCH v6] testpmd: add hairpin map parameter Gregory Etelson
2024-10-30 19:37 ` Stephen Hemminger
2024-10-31 5:02 ` Etelson, Gregory
2024-10-31 4:58 ` [PATCH v7] " Gregory Etelson
2024-10-31 15:51 ` Stephen Hemminger
2024-11-01 2:52 ` Ferruh Yigit [this message]
2024-09-11 5:08 ` [PATCH v4 1/1] testpmd: add hairpin-map parameter Gregory Etelson
2024-09-20 13:48 ` Singh, Aman Deep
2024-09-22 9:33 ` Etelson, Gregory
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f0bcc9f9-9894-4f76-921a-3e099f3f6795@amd.com \
--to=ferruh.yigit@amd.com \
--cc=aman.deep.singh@intel.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=dsosnowski@nvidia.com \
--cc=getelson@nvidia.com \
--cc=mkashani@nvidia.com \
--cc=stephen@networkplumber.org \
--cc=thomas@monjalon.net \
--cc=yuying.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).