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 5A99C2BBD for ; Fri, 2 Feb 2018 10:49:43 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Feb 2018 01:49:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,448,1511856000"; d="scan'208";a="24355710" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by FMSMGA003.fm.intel.com with ESMTP; 02 Feb 2018 01:49:42 -0800 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 2 Feb 2018 01:49:42 -0800 Received: from bgsmsx106.gar.corp.intel.com (10.223.43.196) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 2 Feb 2018 01:49:41 -0800 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.25]) by BGSMSX106.gar.corp.intel.com ([169.254.1.43]) with mapi id 14.03.0319.002; Fri, 2 Feb 2018 15:19:38 +0530 From: "Varghese, Vipin" To: Pascal Mazon , "dev@dpdk.org" CC: "Yigit, Ferruh" , "Jain, Deepak K" Thread-Topic: [PATCH] net/tap: allow user MAC to be passed as args Thread-Index: AQHTmsCFtB0hDuz7OU+aLGBA3Nb9RKOQe0+AgABiS4A= Date: Fri, 2 Feb 2018 09:49:38 +0000 Message-ID: <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D193FFA@BGSMSX101.gar.corp.intel.com> References: <1517422961-21284-1-git-send-email-vipin.varghese@intel.com> <021c3202-fa37-ba37-fc7d-96eb62e4ff95@6wind.com> In-Reply-To: <021c3202-fa37-ba37-fc7d-96eb62e4ff95@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTM2YjUwNWQtMDdmMS00ZTNiLWFjZDItM2ExYjFiYmZiNWRjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJSSlFKTzVTaGJGb2k3dTU4Q2NRSjg0Y1ZvZ3VFZEZiTjZyQm5UV2FaSkt3ZWVGdnlWS0tQbk5ZVk9vQmQ4MTFIIn0= dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.223.10.10] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/tap: allow user MAC to be passed as args 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: Fri, 02 Feb 2018 09:49:43 -0000 SGkgUGFzY2FsLA0KDQpTaW5jZXJlIGFwb2xvZ2l6ZXMsIEkgdGhpbmsgSSBtaXNzZWQgb3V0IHNp bmNlIHJld29yayB3YXMgYXNrZWQuIFBsZWFzZSBmaW5kIG15IGFuc3dlcnMgaW5saW5lIHRvIHRo ZSBjb21tZW50DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogUGFzY2Fs IE1hem9uIFttYWls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