From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 6A20F1B2A8 for ; Mon, 5 Feb 2018 09:23:35 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Feb 2018 00:23:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,464,1511856000"; d="scan'208";a="15332412" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga007.fm.intel.com with ESMTP; 05 Feb 2018 00:23:34 -0800 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 5 Feb 2018 00:23:34 -0800 Received: from bgsmsx151.gar.corp.intel.com (10.224.48.42) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 5 Feb 2018 00:23:33 -0800 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.25]) by BGSMSX151.gar.corp.intel.com ([169.254.3.9]) with mapi id 14.03.0319.002; Mon, 5 Feb 2018 13:53:30 +0530 From: "Varghese, Vipin" To: "Varghese, Vipin" , 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+AgABiS4CABKHbwA== Date: Mon, 5 Feb 2018 08:23:30 +0000 Message-ID: <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D1947C0@BGSMSX101.gar.corp.intel.com> References: <1517422961-21284-1-git-send-email-vipin.varghese@intel.com> <021c3202-fa37-ba37-fc7d-96eb62e4ff95@6wind.com> <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D193FFA@BGSMSX101.gar.corp.intel.com> In-Reply-To: <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D193FFA@BGSMSX101.gar.corp.intel.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: Mon, 05 Feb 2018 08:23:36 -0000 SGkgUGFzY2FsLA0KDQpXYWl0aW5nIGZvciB5b3VyIGlucHV0cyBpbiBjaGFuZ2luZyB0aGUgZnVu Y3Rpb24gYXJndW1lbnQgZnJvbSBpbnQzMl90IHRvIHVpbnQ2NF90Lg0KDQpUaGFua3MNClZpcG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