DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jerin Jacob <jerinjacobk@gmail.com>
To: Pavan Nikhilesh <pbhagavatula@marvell.com>
Cc: Jerin Jacob <jerinj@marvell.com>, dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] app/test-eventdev: add options to set mbuf and pkt size
Date: Mon, 23 Sep 2019 13:04:34 +0530	[thread overview]
Message-ID: <CALBAE1MJ_FGXz5YPrCRwnGvs8or2XyMX43zkiPuuFgcvpQQTQQ@mail.gmail.com> (raw)
In-Reply-To: <20190922051229.13928-1-pbhagavatula@marvell.com>

On Sun, Sep 22, 2019 at 10:42 AM <pbhagavatula@marvell.com> wrote:
>
> From: Pavan Nikhilesh <pbhagavatula@marvell.com>
>
> Add options to set mbuf size and max packet size which allow the user to
> enable jumbo frames and Rx/Tx scatter gather.
> Packet mbuf size can be modified by using `--mbuf_sz=N`.
> Max packet size can be modified by using `--max_pkt_sz=N`.
> These options are only applicable `pipeline_atq` and `pipeline_queue`
> tests.
>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
> ---
>  app/test-eventdev/evt_common.h           | 30 ++++++++++---------
>  app/test-eventdev/evt_options.c          | 28 ++++++++++++++++-
>  app/test-eventdev/evt_options.h          |  2 ++
>  app/test-eventdev/test_pipeline_common.c | 38 ++++++++++++++++++++++--


doc/guides/tools/testeventdev.rst doc update is mising.


>  4 files changed, 80 insertions(+), 18 deletions(-)
>
> diff --git a/app/test-eventdev/evt_common.h b/app/test-eventdev/evt_common.h
> index 1c3522ff4..f9d7378d3 100644
> --- a/app/test-eventdev/evt_common.h
> +++ b/app/test-eventdev/evt_common.h
> @@ -47,28 +47,30 @@ struct evt_options {

>         uint32_t deq_tmo_nsec;
> +       uint32_t q_priority:1;
> +       uint32_t fwd_latency:1;
> +       uint64_t nb_pkts;
> +       uint64_t nb_timers;
> +       uint64_t expiry_nsec;
> +       uint64_t max_tmo_nsec;
> +       uint64_t timer_tick_nsec;
> +       uint64_t optm_timer_tick_nsec;
>         enum evt_prod_type prod_type;
> -       uint8_t timdev_use_burst;
> -       uint8_t timdev_cnt;
>  };

Please add the reason for restructuring in git commit.

  reply	other threads:[~2019-09-23  7:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-22  5:12 pbhagavatula
2019-09-23  7:34 ` Jerin Jacob [this message]
2019-09-30 16:48 ` [dpdk-dev] [PATCH v2] " pbhagavatula
2019-10-02 15:19   ` Jerin Jacob
2019-10-03  3:32     ` Jerin Jacob

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=CALBAE1MJ_FGXz5YPrCRwnGvs8or2XyMX43zkiPuuFgcvpQQTQQ@mail.gmail.com \
    --to=jerinjacobk@gmail.com \
    --cc=dev@dpdk.org \
    --cc=jerinj@marvell.com \
    --cc=pbhagavatula@marvell.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).