pcap: cleanup pcap PMD and add test
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 1 replyIn review
- v112 patches 5 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | net/pcap: avoid using rte_malloc and rte_memcpydrivers/ | +4 | 0 replies | |
| 2/9 | net/pcap: support MTU setdrivers/ drivers/ drivers/ +2 more | +104 | 0 replies | |
| 3/9 | net/pcap: use bool for flagsdrivers/ | +29 | 0 replies | |
| 4/9 | net/pcap: support Tx offloadsdrivers/ | +8 | 0 replies | |
| 5/9 | net/pcap: support nanosecond timestamp precisiondrivers/ | +109 | 0 replies | |
| 6/9 | net/pcap: remove global variablesdrivers/ | +5 | 0 replies | |
| 7/9 | net/pcap: avoid use of volatiledrivers/ | +9 | 0 replies | |
| 8/9 | net/pcap: support MAC address setdrivers/ drivers/ drivers/ +1 more | +69 | 0 replies | |
| 9/9 | test: add test for pcap PMDapp/ app/ | +1848 | 0 replies |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | Marat Khalili |
|---|---|
| 1/9 | |
| 2/9 | |
| 3/9 | |
| 4/9 | |
| 5/9 | |
| 6/9 | A-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.
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