From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 4FC7E293B for ; Mon, 3 Apr 2017 20:58:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491245909; x=1522781909; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=41sQtQGoyAznM8lEtS7KD8JI/NjNSTwDieRjCJqcrMc=; b=rGbCPf3MdeESMiZQqt408n/sxKj8OapQVCK057Gkp91Jv2jWiHQampX9 t28hrfkCLwABfKDHq6bTqi0YujpJKA==; Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Apr 2017 11:58:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,271,1486454400"; d="scan'208";a="83811911" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga005.fm.intel.com with ESMTP; 03 Apr 2017 11:58:27 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 3 Apr 2017 11:58:03 -0700 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.235]) by fmsmsx123.amr.corp.intel.com ([169.254.7.244]) with mapi id 14.03.0319.002; Mon, 3 Apr 2017 11:58:03 -0700 From: "Wiles, Keith" To: Chris Hall CC: "users@dpdk.org" Thread-Topic: [dpdk-users] PKTGEN option to limit sending packets per second Thread-Index: AQHSrJukZrjqXtMh00+bxNVAP8UUGKG0XDkA//+TcfqAAITmgA== Date: Mon, 3 Apr 2017 18:58:02 +0000 Message-ID: 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.16.49] Content-Type: text/plain; charset="utf-8" Content-ID: <0106E2B54B9484499A650E29B08047A6@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-users] PKTGEN option to limit sending packets per second 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, 03 Apr 2017 18:58:30 -0000 DQo+IE9uIEFwciAzLCAyMDE3LCBhdCAxOjAyIFBNLCBDaHJpcyBIYWxsIDxjaHJpcy5oYWxsQHN0 YWNrcGF0aC5jb20+IHdyb3RlOg0KPiANCj4gSGkgS2VpdGgsIA0KPiAgDQo+IEp1c3QgZmlndXJl ZCBJIHdvdWxkIGFzay4g77+977+9DQo+IEkgd2FzIGFibGUgdG8gd2hpcCB1cCBzb21lIExVQSB0 aGF0IHNlZW1zIHRvIHdvcmsgdGh1cyBmYXIuIA0KDQoNCkJUVywgdGhlIGN1cnJlbnQgdmVyc2lv biBvZiBQa3RnZW4gMy4yLnggaGFzIHN1cHBvcnQgZm9yIGRlY2ltYWwgbnVtYmVycyBpbiB0aGUg cmF0ZSB2YWx1ZXMuIGUuZy4gMTAuMSwgMC4wMSwgOTMuNCwgLi4uDQoNCj4gDQo+IGZ3aXcsIExV QSBzbmlwcGV0OiANCj4gDQo+IC0tID8/IG1heSBhZGQgbG9naWMgdG8gYWRqdXN0IHRoZXNlIHZh bHVlcyBvdmVyIGVhY2ggaW50ZXJhdGlvbihzKSA/PyAqc2hydWcqDQo+IHBrdGdlbi5zZXQoc2Vu ZHBvcnQsICdyYXRlJywgMSk7DQo+IHBrdGdlbi5zZXQoc2VuZHBvcnQsICdidXJzdCcsIDMyKTsN Cj4gDQo+IOKApuKApg0KPiANCj4gbG9jYWwgdG90YWxfcnQgID0gNjA7ICAgLS0gdG90YWwgc2Ny aXB0IHJ1bnRpbWUNCj4gbG9jYWwgbG9vcF9ydCAgID0gM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