numam-dpdk/drivers/net/pcap
Cian Ferriter 48329b0403 net/pcap: generate unique MAC addresses for interfaces
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@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-09-28 01:41:02 +02:00
..
Makefile net/pcap: convert license headers to SPDX tags 2018-01-16 18:47:49 +01:00
meson.build net/pcap: simplify dependency checking using meson 2018-03-12 16:29:27 +01:00
rte_eth_pcap.c net/pcap: generate unique MAC addresses for interfaces 2018-09-28 01:41:02 +02:00
rte_pmd_pcap_version.map pcap: move drivers/net/ 2015-05-22 16:06:22 +02:00