DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Wiles, Keith" <keith.wiles@intel.com>
To: Kevin Wilson <wkevils@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Starting pktgen in Tx mode only, without calling RX handler - is it possible ?
Date: Sat, 9 Jun 2018 13:54:04 +0000	[thread overview]
Message-ID: <1B797D4F-048A-49ED-8531-7545A55E0D1C@intel.com> (raw)
In-Reply-To: <CAGXs5wVZxyj6FwWrHLCokKcoxMN=orJ_Cb_i=FLQw9M+fm0hyQ@mail.gmail.com>



> On Jun 9, 2018, at 2:32 AM, Kevin Wilson <wkevils@gmail.com> wrote:
> 
> Hi,
> Is it possible to configure dpdk-pktgen so that it will start only
> transmitting packets, without Rx mode ?
> I could not find a way to achieve it.
> 
> More specifically, I mean starting dpdk-pktgen so that it won't call
> rte_eth_rx_burst()   ?
> 
> (rte_eth_rx_burst() is called from pktgen_main_receive(), which is in
> turn invoked from pktgen_main_rxtx_loop() and from
> pktgen_main_rx_loop() in app/pktgen.c ?

No, at this time pktgen-dpdk will always attempt to do RX calls as some PMDs like bonding need that RX call for timing.

> 
> Regards,
> KW

Regards,
Keith

      reply	other threads:[~2018-06-09 13:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-09  7:32 Kevin Wilson
2018-06-09 13:54 ` Wiles, Keith [this message]

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=1B797D4F-048A-49ED-8531-7545A55E0D1C@intel.com \
    --to=keith.wiles@intel.com \
    --cc=dev@dpdk.org \
    --cc=wkevils@gmail.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).