From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id C70F21D6BC for ; Sat, 9 Jun 2018 15:54:06 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jun 2018 06:54:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,494,1520924400"; d="scan'208";a="55510058" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga002.fm.intel.com with ESMTP; 09 Jun 2018 06:54:05 -0700 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sat, 9 Jun 2018 06:54:05 -0700 Received: from fmsmsx117.amr.corp.intel.com ([169.254.3.220]) by FMSMSX110.amr.corp.intel.com ([169.254.14.41]) with mapi id 14.03.0319.002; Sat, 9 Jun 2018 06:54:05 -0700 From: "Wiles, Keith" To: Kevin Wilson CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] Starting pktgen in Tx mode only, without calling RX handler - is it possible ? Thread-Index: AQHT/8QGOmSde7cGAUG8gorVx1M+oKRYaHgA Date: Sat, 9 Jun 2018 13:54:04 +0000 Message-ID: <1B797D4F-048A-49ED-8531-7545A55E0D1C@intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.107.99] Content-Type: text/plain; charset="us-ascii" Content-ID: <4E5BEF30527FBB428CAA57E2795D36A9@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] Starting pktgen in Tx mode only, without calling RX handler - is it possible ? 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: , X-List-Received-Date: Sat, 09 Jun 2018 13:54:08 -0000 > On Jun 9, 2018, at 2:32 AM, Kevin Wilson wrote: >=20 > 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. >=20 > More specifically, I mean starting dpdk-pktgen so that it won't call > rte_eth_rx_burst() ? >=20 > (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 PMD= s like bonding need that RX call for timing. >=20 > Regards, > KW Regards, Keith