[dpdk-dev] [PATCH v2] net/pcap: Generate unique MAC addresses for interfaces

Ferruh Yigit ferruh.yigit at intel.com
Fri Sep 21 02:39:01 CEST 2018


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 <cian.ferriter at intel.com>
> 
> Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list