From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id AA5072C50 for ; Mon, 20 Feb 2017 22:23:06 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Feb 2017 13:23:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,187,1484035200"; d="scan'208";a="1113328640" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 20 Feb 2017 13:23:04 -0800 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 20 Feb 2017 13:23:04 -0800 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.230]) by fmsmsx117.amr.corp.intel.com ([169.254.3.34]) with mapi id 14.03.0248.002; Mon, 20 Feb 2017 13:23:04 -0800 From: "Wiles, Keith" To: Alex Kiselev CC: users Thread-Topic: [dpdk-users] a packet generator with traffic flow support Thread-Index: AQHSi6q4OSpyHhnA5UeC3PpinTDxTqFy7c8A Date: Mon, 20 Feb 2017 21:23:04 +0000 Message-ID: <136C2330-D66C-4F17-8F29-E6F3D6907B5A@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.255.93.69] Content-Type: text/plain; charset="us-ascii" Content-ID: <19A1F668A1251E4D8E617E34AF448766@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] a packet generator with traffic flow support X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2017 21:23:07 -0000 > On Feb 20, 2017, at 12:53 PM, Alex Kiselev wrote: >=20 > Hi! >=20 > I am working on some stress tests for my packet forwarding engine > and trying to figure out which packet generator tool can help me > to accomplish my tasks with minimum efforts from me. What I need is somet= hing > like PktGen but with a kind of traffic flow/session support. > The flow/session in my case is a traffic flow with the following properti= es: > - QinQ vids, src ip, dst ip etc > - time to live >=20 > In addition, it would ideal if a tool could support defining pps rate of = each > flow or just a total pps of all flows. >=20 > So, a packet generator should be able to start in parallel some number > of flows, then it should replace completed sessions whose ttl is > expired with new > ones until the goal (the given number of sessions or the given number > of packets) > is complete. >=20 > Maybe Warp17 is more close to the kind of tool that I need in terms of > flow support, but I don't need tcp/udp flows and I need a way to > define L2 packet headers. >=20 > Is it possible to code the flow logic that I need using PktGen > scripting language? The tool pktgen-dpdk does some of the items you want, but not all. Have you= looked a the different modes pktgen-dpdk can handle like pcap or range sup= port? Also T-Rex traffic generator may have some of the features you are looking = as it is a bit more programable using Python. Pktgen Lua scripting is reall= y used to control Pktgen and not generate packets on the fly. Pktgen has a = number of modes single, range, random, PCAP, sequence, which could be used = with an external switch to merge the different TX options to a single targe= t. I assume using an external switch maybe not work very well here. >=20 > I would appreciate any ideas. Thanks. >=20 > --=20 > -- > Kiselev Alexander Regards, Keith