[PATCH v2 0/2] af_packet: cleanup and test

Stephen Hemminger stephen at networkplumber.org
Tue Apr 14 17:52:57 CEST 2026


A couple of small patches for the af_packet PMD.
Fix indentation and add a basic test.

v2 - fix test to always check write() return value

Stephen Hemminger (2):
  net/af_packet: whitespace cleanup
  test: add test for af_packet

 app/test/meson.build                      |    1 +
 app/test/test_pmd_af_packet.c             | 1166 +++++++++++++++++++++
 drivers/net/af_packet/rte_eth_af_packet.c |   64 +-
 3 files changed, 1199 insertions(+), 32 deletions(-)
 create mode 100644 app/test/test_pmd_af_packet.c

-- 
2.53.0



More information about the dev mailing list