From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id EF10BB62 for ; Tue, 29 Sep 2015 17:09:23 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 29 Sep 2015 08:07:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,608,1437462000"; d="scan'208";a="815371243" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by fmsmga002.fm.intel.com with ESMTP; 29 Sep 2015 08:06:16 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.84]) by IRSMSX109.ger.corp.intel.com ([169.254.13.137]) with mapi id 14.03.0248.002; Tue, 29 Sep 2015 16:06:15 +0100 From: "Kulasek, TomaszX" To: "Kulasek, TomaszX" , Tetsuya Mukawa , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCHv4 3/9] null: extend number of virtual queues Thread-Index: AQHQ+l4B9r5vX1CDhEWG0x+26AjzXZ5TQSQw///+MgCAACaB0IAAM9jw Date: Tue, 29 Sep 2015 15:06:15 +0000 Message-ID: <3042915272161B4EB253DA4D77EB373A14DF7CB7@IRSMSX102.ger.corp.intel.com> References: <1435589444-1988-1-git-send-email-tomaszx.kulasek@intel.com> <1436981189-3320-1-git-send-email-tomaszx.kulasek@intel.com> <1436981189-3320-4-git-send-email-tomaszx.kulasek@intel.com> <5609F667.2010800@igel.co.jp> <3042915272161B4EB253DA4D77EB373A14DF7A5F@IRSMSX102.ger.corp.intel.com> <560A6934.6010904@igel.co.jp> <3042915272161B4EB253DA4D77EB373A14DF7B06@IRSMSX102.ger.corp.intel.com> In-Reply-To: <3042915272161B4EB253DA4D77EB373A14DF7B06@IRSMSX102.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCHv4 3/9] null: extend number of virtual queues X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 15:09:24 -0000 SGkgVGV0c3V5YSwNCg0KQ2FuIHlvdSBjaGVjayBwYXRjaCBiZWxvdz8NCg0KVGhhbmtzLA0KVG9t YXN6Lg0KLS0tDQoNCkZyb20gZDUwYjA1OTRmYTM0YTU3NjYwMmM0NTdiNTFjYWM4MGU3ZDQ2MmVl ZCBNb24gU2VwIDE3IDAwOjAwOjAwIDIwMDENCkZyb206IFRvbWFzeiBLdWxhc2VrIDx0b21hc3p4 Lmt1bGFzZWtAaW50ZWwuY29tPg0KRGF0ZTogVHVlLCAyOSBTZXAgMjAxNSAxNjo1MjoxMiArMDIw MA0KU3ViamVjdDogW1BBVENIIDIvNF0gbnVsbDogZXh0ZW5kIG51bWJlciBvZiB2aXJ0dWFsIHF1 ZXVlcw0KDQotLS0NCiBkcml2ZXJzL25ldC9udWxsL3J0ZV9ldGhfbnVsbC5jIHwgICAyOCArKysr KysrKysrKysrKysrKysrLS0tLS0tLS0tDQogMSBmaWxlIGNoYW5nZWQsIDE5IGluc2VydGlvbnMo KyksIDkgZGVsZXRpb25zKC0pDQoNCmRpZmYgLS1naXQgYS9kcml2ZXJzL25ldC9udWxsL3J0ZV9l dGhfbnVsbC5jIGIvZHJpdmVycy9uZXQvbnVsbC9ydGVfZXRoX251bGwuYw0KaW5kZXggYjQ5OGVm MS4uNjhjYjcyMyAxMDA2NDQNCi0tLSBhL2RyaXZlcnMvbmV0L251bGwvcnRlX2V0aF9udWxsLmMN CisrKyBiL2RyaXZlcnMvbmV0L251bGwvcnRlX2V0aF9udWxsLmMNCkBAIC03MSw4ICs3MSw4IEBA IHN0cnVjdCBwbWRfaW50ZXJuYW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