From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EE860A0613 for ; Mon, 23 Sep 2019 09:34:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6B0E137B0; Mon, 23 Sep 2019 09:34:47 +0200 (CEST) Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) by dpdk.org (Postfix) with ESMTP id 280A237A2 for ; Mon, 23 Sep 2019 09:34:46 +0200 (CEST) Received: by mail-io1-f68.google.com with SMTP id c6so17852808ioo.13 for ; Mon, 23 Sep 2019 00:34:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4olrivJIK1CYQBxbJ6ZeYic7fFvI6T4RAIHxewtM6tQ=; b=lEvS5NO8UQTlXiBnzLBmV5M0fpHKCdim8GCWXjTs67ETspT0OQRmvLmF8s+dNHVKrg H9uJoWUc8iy6Ux+FFbBtAepuclcH39PLY03IYQ4+21ARFVSK8sOq1oumgcHKmtobTG9C dfANdNI79LB1J52BzoyFZwihVxmXjVlkPquFupzHIA/fUJKsD9aRyZQ6o4OAflTbcnte k4xho8JLaL1Fm5T2BJbBDnct/0DLGtsEuCHgfVTwQ/g7VV8cihdhAFSb3MqnlUKPXcar IJd3yEG0SbHAAmEqb/UVQYAHIrRYlFI2b0U9BV+jCreHUVClIjs6tjJsPMWZ8OYK5GjU pb+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4olrivJIK1CYQBxbJ6ZeYic7fFvI6T4RAIHxewtM6tQ=; b=m/dUwpvHDb+WyvgtP3EHapf3hEoZ0OiuidRQBGOfzHtBcS1vSLwRWCUAgZwF/YbdLW Zfp6VAEYhoo8GWUQFXOOURsbBLVFqMNFMhU6ivWa1aRD4OwKeQIIctDiQ5BmBSuGcMma 1wayWDW+5tqyfggtN6pycNXRg2kv31ae/4fCFGEMZnmktePfVYVGv48muOnntrl6POF6 kklEjV8ZbsVD1cT+ctvYXdxSSjghHtNk9hZWkQ/0A4XL459rHgorxKHxKi4WU2Q64Gpi ERZfeXNYCKGpEnsB3+Z1we444VjuTFAn0NPNfl5nC1AXVnwBMHxkwYFJzjy5SbsOaVnl bOpg== X-Gm-Message-State: APjAAAWof5MkvsWQ35do+256UT69bc4cnO6JiulXMZmGwgPrQcd+FlOD n6jK3pvGMZ76qgkYIbxy2HMCstbsK60V1KiqWNk= X-Google-Smtp-Source: APXvYqz0Ji/aloKDiR7EpxkT5E4N6emklD8+NyeGP0elmmcavcpRNxC9lZkgdi/NoTcSJPJS/WbRDGJHv7buHDEWQk8= X-Received: by 2002:a05:6602:c7:: with SMTP id z7mr22020486ioe.130.1569224085267; Mon, 23 Sep 2019 00:34:45 -0700 (PDT) MIME-Version: 1.0 References: <20190922051229.13928-1-pbhagavatula@marvell.com> In-Reply-To: <20190922051229.13928-1-pbhagavatula@marvell.com> From: Jerin Jacob Date: Mon, 23 Sep 2019 13:04:34 +0530 Message-ID: To: Pavan Nikhilesh Cc: Jerin Jacob , dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] app/test-eventdev: add options to set mbuf and pkt size X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Sun, Sep 22, 2019 at 10:42 AM wrote: > > From: Pavan Nikhilesh > > 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 > --- > 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.