From: Ferruh Yigit Subject: Re: [PATCH v2] net/pcap: Generate unique MAC addresses for interfaces Date: Tue, 11 Sep 2018 12:36:03 +0100 Message-ID: <073cb78e-0c5b-bdac-2beb-0c7b6af37a39@intel.com> References: <1536594737-4341-1-git-send-email-cian.ferriter@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Cian Ferriter Return-path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 1A10B4C91 for ; Tue, 11 Sep 2018 13:36:05 +0200 (CEST) In-Reply-To: <1536594737-4341-1-git-send-email-cian.ferriter@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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