Skip to content

pcap: cleanup pcap PMD and add test

Stephen Hemminger dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 1 replyIn review
  2. v112 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9net/pcap: avoid using rte_malloc and rte_memcpydrivers/net/pcap/pcap_osdep_freebsd.c+4 -70 replies
2/9net/pcap: support MTU setdrivers/net/pcap/pcap_ethdev.c drivers/net/pcap/pcap_osdep.h drivers/net/pcap/pcap_osdep_freebsd.c +2 more+104 -430 replies
3/9net/pcap: use bool for flagsdrivers/net/pcap/pcap_ethdev.c+29 -380 replies
4/9net/pcap: support Tx offloadsdrivers/net/pcap/pcap_ethdev.c+8 -00 replies
5/9net/pcap: support nanosecond timestamp precisiondrivers/net/pcap/pcap_ethdev.c+109 -330 replies
6/9net/pcap: remove global variablesdrivers/net/pcap/pcap_ethdev.c+5 -20 replies
7/9net/pcap: avoid use of volatiledrivers/net/pcap/pcap_ethdev.c+9 -90 replies
8/9net/pcap: support MAC address setdrivers/net/pcap/pcap_ethdev.c drivers/net/pcap/pcap_osdep.h drivers/net/pcap/pcap_osdep_freebsd.c +1 more+69 -40 replies
9/9test: add test for pcap PMDapp/test/meson.build app/test/test_pmd_pcap.c+1848 -00 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchMarat Khalili
1/9
2/9
3/9
4/9
5/9
6/9A-b
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/9] pcap: cleanup pcap PMD and add test

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.

v2 - review feedback
- consolidate patches

Stephen Hemminger (9):
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: support MAC address set
test: add test for pcap PMD

 app/test/meson.build                  |    2 +
 app/test/test_pmd_pcap.c              | 1846 +++++++++++++++++++++++++
 drivers/net/pcap/pcap_ethdev.c        |  353 +++--
 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, 2184 insertions(+), 135 deletions(-)
 create mode 100644 app/test/test_pmd_pcap.c
Signature · 1 line
2.51.0