This is a set of enhancements and tests to the PCAP PMD. It started out when looking at the handling of timestamps then realized lots of other cleanups were needed here.
Stephen Hemminger (12): net/pcap: avoid using rte_malloc and rte_memcpy net/pcap: support MTU set net/pcap: use bool for flags net/pcap: support Tx offloads net/pcap: support nanosecond timestamp precision net/pcap: remove global variables net/pcap: avoid use of volatile net/pcap: optimize calculation of receive timestamp net/pcap: report receive clock net/pcap: cleanup MAC address handling net/pcap: support MAC address set test: add test for pcap PMD app/test/meson.build | 2 + app/test/test_pmd_pcap.c | 1471 +++++++++++++++++++++++++ drivers/net/pcap/pcap_ethdev.c | 373 ++++--- drivers/net/pcap/pcap_osdep.h | 2 + drivers/net/pcap/pcap_osdep_freebsd.c | 60 +- drivers/net/pcap/pcap_osdep_linux.c | 51 +- drivers/net/pcap/pcap_osdep_windows.c | 5 + 7 files changed, 1830 insertions(+), 134 deletions(-) create mode 100644 app/test/test_pmd_pcap.c -- 2.51.0

