From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id F42221B53 for ; Fri, 21 Sep 2018 02:39:03 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Sep 2018 17:39:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,282,1534834800"; d="scan'208";a="71688434" Received: from fyigit-mobl.ger.corp.intel.com (HELO [10.252.22.231]) ([10.252.22.231]) by fmsmga007.fm.intel.com with ESMTP; 20 Sep 2018 17:39:01 -0700 From: Ferruh Yigit To: Cian Ferriter Cc: dev@dpdk.org References: <1536594737-4341-1-git-send-email-cian.ferriter@intel.com> <073cb78e-0c5b-bdac-2beb-0c7b6af37a39@intel.com> Openpgp: preference=signencrypt Message-ID: <39e2262b-3a32-ee88-52ea-c8da2756f793@intel.com> Date: Fri, 21 Sep 2018 01:39:01 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <073cb78e-0c5b-bdac-2beb-0c7b6af37a39@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] net/pcap: Generate unique MAC addresses for interfaces 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, 21 Sep 2018 00:39:04 -0000 On 9/11/2018 12:36 PM, Ferruh Yigit wrote: > On 9/10/2018 4:52 PM, Cian Ferriter wrote: >> The MAC addresses are generated in a similar manner as in the TAP PMD, >> where the address is based on the number of PCAP ports created. >> >> This is useful for the purposes of debugging DPDK applications using >> PCAP devices instead of real devices where multiple devices should still >> have unique MAC addresses. This method was chosen over randomly >> assigning MAC addresses to make the creation of pcaps, specifically >> matching the destination ethernet address field to an interface, easier. >> >> Signed-off-by: Cian Ferriter > > Acked-by: Ferruh Yigit Applied to dpdk-next-net/master, thanks.