From: Cyril Chemparathy <cchemparathy-kv+TWInifGbQT0dZR+AlfA@public.gmane.org>
To: Thomas Monjalon
<thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: [PATCH 0/6] Extensions to test-pmd
Date: Fri, 16 May 2014 09:55:38 -0700 [thread overview]
Message-ID: <5376430A.8010707@tilera.com> (raw)
In-Reply-To: <2296399.R20Tya40om@xps13>
On 5/16/2014 7:22 AM, Thomas Monjalon wrote:
> Hi Cyril,
>
> 2014-04-03 10:30, Cyril Chemparathy:
>> This patch series contains a few minor extensions to test-pmd. These
>> changes have been added primarily for convenience while testing out various
>> scenarios with DPDK.
>>
>> Cyril Chemparathy (6):
>> test-pmd: add support for single port loopback topology
>> test-pmd: add support for auto-start when interactive
>> test-pmd: allow command line selection of forwarding mode
>> test-pmd: allow txpkts to be setup via command line
>> test-pmd: add mac swap forwarding mode
>> test-pmd: add flowgen forwarding engine
> Thanks for these new features.
>
> This is not the first time a new engine is added by copy/pasting the most part
> of an existing engine. For instance, the "mac-retry" engine was added by Intel
> as a copy/paste of the original "mac" one.
> This is acceptable but not the perfect way to implement engines.
> To address this issue, a new engine function could be introduced to setup some
> parameters to be used by "packet_fwd" function. This way, similar engines
> could be removed.
Agreed that it sucks to incessantly replicate code. Maybe some of the
packet_fwd code is common enough to bump into run_pkt_fwd_on_lcore()?
Most of these forwarding modes have similar looking code to
receive/transmit bursts and free the failed remnants of the burst.
Could this common code be bumped up into run_pkt_fwd_on_lcore() maybe?
> Acked-by: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
>
> Applied for version 1.7.0.
Thanks! Much appreciated.
-- Cyril.
next prev parent reply other threads:[~2014-05-16 16:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-03 17:30 [PATCH 0/6] Extensions to test-pmd Cyril Chemparathy
[not found] ` <1396546216-29200-1-git-send-email-cchemparathy-kv+TWInifGbQT0dZR+AlfA@public.gmane.org>
2014-04-03 17:30 ` [PATCH 1/6] test-pmd: add support for single port loopback topology Cyril Chemparathy
2014-04-03 17:30 ` [PATCH 2/6] test-pmd: add support for auto-start when interactive Cyril Chemparathy
2014-04-03 17:30 ` [PATCH 3/6] test-pmd: allow command line selection of forwarding mode Cyril Chemparathy
[not found] ` <1396546216-29200-4-git-send-email-cchemparathy-kv+TWInifGbQT0dZR+AlfA@public.gmane.org>
2014-04-04 8:21 ` Richardson, Bruce
[not found] ` <59AF69C657FD0841A61C55336867B5B01A9F8609-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-05-14 17:05 ` [PATCH] app/testpmd: list forwarding modes Thomas Monjalon
[not found] ` <1400087113-5270-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2014-05-15 9:35 ` [PATCH v2] " Thomas Monjalon
[not found] ` <1400146513-14283-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2014-05-15 16:08 ` [PATCH v3] app/testpmd: list forwarding engines Thomas Monjalon
[not found] ` <1400170121-2737-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2014-05-16 7:21 ` Ivan Boule
[not found] ` <5375BC79.1090309-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2014-05-16 14:24 ` Thomas Monjalon
2014-04-03 17:30 ` [PATCH 4/6] test-pmd: allow txpkts to be setup via command line Cyril Chemparathy
2014-04-03 17:30 ` [PATCH 5/6] test-pmd: add mac swap forwarding mode Cyril Chemparathy
2014-04-03 17:30 ` [PATCH 6/6] test-pmd: add flowgen forwarding engine Cyril Chemparathy
2014-05-16 14:22 ` [PATCH 0/6] Extensions to test-pmd Thomas Monjalon
2014-05-16 16:55 ` Cyril Chemparathy [this message]
[not found] ` <5376430A.8010707-kv+TWInifGbQT0dZR+AlfA@public.gmane.org>
2014-05-19 9:31 ` Thomas Monjalon
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=5376430A.8010707@tilera.com \
--to=cchemparathy-kv+twinifgbqt0dzr+alfa@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
--cc=thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.