From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 83A8A2952 for ; Fri, 22 Apr 2016 03:57:42 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 21 Apr 2016 18:57:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,515,1455004800"; d="scan'208";a="690232869" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by FMSMGA003.fm.intel.com with ESMTP; 21 Apr 2016 18:57:42 -0700 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 21 Apr 2016 18:57:41 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 21 Apr 2016 18:57:41 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.229]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.155]) with mapi id 14.03.0248.002; Fri, 22 Apr 2016 09:57:38 +0800 From: "Zhang, Helin" To: Igor Ryzhov CC: Sergey Balabanov , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] kni: set kni mac on ioctl_create Thread-Index: AQHQ4ZJzQgVsaiiD40CSlprdQ8XX559fs/GwgDXEVgCAATkKsA== Date: Fri, 22 Apr 2016 01:57:38 +0000 Message-ID: References: <1440767187-19120-1-git-send-email-balabanovsv@ecotelecom.ru> <27DE54DB-C30D-4395-BE26-089622582178@nfware.com> In-Reply-To: <27DE54DB-C30D-4395-BE26-089622582178@nfware.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] kni: set kni mac on ioctl_create 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: Fri, 22 Apr 2016 01:57:43 -0000 DQoNCkZyb206IElnb3IgUnl6aG92IFttYWlsdG86aXJ5emhvdkBuZndhcmUuY29tXSANClNlbnQ6 IFRodXJzZGF5LCBBcHJpbCAyMSwgMjAxNiAxMToxNiBQTQ0KVG86IFpoYW5nLCBIZWxpbg0KQ2M6 IFNlcmdleSBCYWxhYmFub3Y7IGRldkBkcGRrLm9yZw0KU3ViamVjdDogUmU6IFtkcGRrLWRldl0g W1BBVENIXSBrbmk6IHNldCBrbmkgbWFjIG9uIGlvY3RsX2NyZWF0ZQ0KDQpIZWxsby4NCg0KSSBy ZWJhc2VkIGEgcGF0Y2ggYW5kIGFkZGVkIFN1Z2dlc3RlZC1ieSBzdHJpbmcuDQpDaGVjayBpdCwg cGxlYXNlOsKgaHR0cDovL2RwZGsub3JnL2Rldi9wYXRjaHdvcmsvcGF0Y2gvMTIxODgvLg0KW0hl bGluXSBpcyB0aGF0IHRoZSB2MiB2ZXJzaW9uPyBJdCBzZWVtcyB0aGF0IEkgY2Fubm90IGZpbmQg dGhhdC4NCg0KQmVzdCByZWdhcmRzLA0KSWdvcg0KDQoxOCDQvNCw0YDRgtCwIDIwMTYg0LMuLCDQ siA1OjE0LCBaaGFuZywgSGVsaW4gPGhlbGluLnpoYW5nQGludGVsLmNvbT4g0L3QsNC/0LjRgdCw 0Lso0LApOg0KDQpIaSBTZXJnZXkNCg0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJv bTogZGV2IFttYWlsdG86ZGV2LWJvdW5jZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBTZXJnZXkg QmFsYWJhbm92DQpTZW50OiBGcmlkYXksIEF1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