DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Mitchell <scott.k.mitch1@gmail.com>
To: dev@dpdk.org
Cc: stephen@networkplumber.org, thomas@monjalon.net,
	david.marchand@redhat.com, mb@smartsharesystems.com,
	Scott Mitchell <scott.k.mitch1@gmail.com>
Subject: [PATCH v8 4/8] test/af_packet: add frame layout tests
Date: Wed,  2 Dec 2026 09:18:00 -0800	[thread overview]
Message-ID: <20261202171804.50287-5-scott.k.mitch1@gmail.com> (raw)
In-Reply-To: <20261202171804.50287-1-scott.k.mitch1@gmail.com>

Check that frames cross the ring intact in both directions when the
block size is not a multiple of the frame size, that the largest frame
that fits a ring slot is sent while one byte more is dropped, and that
a packet of the maximum Rx length is received intact.

Signed-off-by: Scott Mitchell <scott.k.mitch1@gmail.com>
---
 app/test/test_pmd_af_packet.c | 388 ++++++++++++++++++++++++++++++++++
 1 file changed, 388 insertions(+)

diff --git a/app/test/test_pmd_af_packet.c b/app/test/test_pmd_af_packet.c
index 81ab19031e..6a4806acc7 100644
--- a/app/test/test_pmd_af_packet.c
+++ b/app/test/test_pmd_af_packet.c
@@ -8,11 +8,13 @@
 #include <sys/ioctl.h>
 #include <sys/socket.h>
 #include <linux/if.h>
+#include <linux/if_packet.h>
 #include <linux/if_tun.h>
 #include <linux/sockios.h>
 #include <pthread.h>
 #include <stdbool.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <time.h>
 #include <unistd.h>
@@ -77,6 +79,18 @@ struct tag_count {
 #define AF_PACKET_DEV_NAME "net_af_packet_test"
 #define TAP_DEV_NAME "dpdkafptest"
 
+/* Frames built by fill_seq_frame(), with an IEEE local experimental EtherType */
+#define TEST_ETHER_TYPE 0x88B5
+#define TAP_READ_TIMEOUT_US 200000    /* 200ms to read frames from the TAP */
+#define SEQ_TX_BURST 8
+
+/* Frame layout tests: page-sized blocks leave an unused tail after the last frame */
+#define LAYOUT_FRAMESZ 1536
+#define LAYOUT_MIN_FRAMECNT 32
+#define LAYOUT_FRAME_LEN 1400
+/* Largest packet a LAYOUT_FRAMESZ frame holds on Tx */
+#define LAYOUT_TX_MAX_LEN (LAYOUT_FRAMESZ - (TPACKET2_HDRLEN - sizeof(struct sockaddr_ll)))
+
 static struct rte_mempool *mp;
 static uint16_t port_id = RTE_MAX_ETHPORTS;
 static int tap_fd = -1;
@@ -382,6 +396,269 @@ wait_for_stats_update(uint16_t pid, uint64_t expected_opackets,
 	return -1;
 }
 
+/* Helper: Stop, close and remove a port made by create_test_port(). */
+static void
+destroy_test_port(const char *name, uint16_t pid)
+{
+	rte_eth_dev_stop(pid);
+	rte_eth_dev_close(pid);
+	rte_vdev_uninit(name);
+}
+
+/*
+ * Helper: Format devargs for a ring of LAYOUT_FRAMESZ frames in page-sized
+ * blocks, with at least two blocks. Returns the frame count.
+ */
+static unsigned int
+layout_devargs(char *buf, size_t size, const char *extra)
+{
+	const unsigned int pagesize = getpagesize();
+	const unsigned int fpb = pagesize / LAYOUT_FRAMESZ;
+	const unsigned int framecnt = fpb * RTE_MAX(2u, LAYOUT_MIN_FRAMECNT / fpb);
+
+	snprintf(buf, size, "iface=%s,blocksz=%u,framesz=%d,framecnt=%u%s",
+		 TAP_DEV_NAME, pagesize, LAYOUT_FRAMESZ, framecnt, extra);
+	return framecnt;
+}
+
+/* Helper: Create, configure and start an extra af_packet port on the TAP. */
+static int
+create_test_port(const char *name, const char *args, uint64_t tx_offloads,
+		 uint16_t *pid)
+{
+	struct rte_eth_conf conf = { .txmode.offloads = tx_offloads };
+	int ret;
+
+	ret = create_af_packet_port(name, args, pid);
+	if (ret != 0)
+		return ret;
+
+	ret = rte_eth_dev_configure(*pid, 1, 1, &conf);
+	if (ret == 0)
+		ret = rte_eth_rx_queue_setup(*pid, 0, RING_SIZE,
+					     rte_eth_dev_socket_id(*pid), NULL, mp);
+	if (ret == 0)
+		ret = rte_eth_tx_queue_setup(*pid, 0, RING_SIZE,
+					     rte_eth_dev_socket_id(*pid), NULL);
+	if (ret == 0)
+		ret = rte_eth_dev_start(*pid);
+	if (ret != 0) {
+		printf("Failed to set up port '%s': %d\n", name, ret);
+		destroy_test_port(name, *pid);
+	}
+	return ret;
+}
+
+/*
+ * Helper: Build a TEST_ETHER_TYPE frame of len bytes carrying seq and a
+ * payload pattern derived from it.
+ */
+static void
+fill_seq_frame(uint8_t *frame, size_t len, const struct rte_ether_addr *src,
+	       uint32_t seq)
+{
+	struct rte_ether_hdr *eth = (struct rte_ether_hdr *)frame;
+	size_t i;
+
+	memset(&eth->dst_addr, 0xFF, RTE_ETHER_ADDR_LEN);
+	rte_ether_addr_copy(src, &eth->src_addr);
+	eth->ether_type = rte_cpu_to_be_16(TEST_ETHER_TYPE);
+	memcpy(frame + sizeof(*eth), &seq, sizeof(seq));
+	for (i = sizeof(*eth) + sizeof(seq); i < len; i++)
+		frame[i] = (uint8_t)(seq * 31 + i);
+}
+
+/*
+ * Helper: Check a frame built by fill_seq_frame().
+ * Returns its seq, -1 if it is some other frame, -2 if it is corrupt.
+ */
+static int64_t
+check_seq_frame(const uint8_t *frame, size_t len,
+		const struct rte_ether_addr *src, size_t expect_len)
+{
+	const struct rte_ether_hdr *eth = (const struct rte_ether_hdr *)frame;
+	uint32_t seq;
+	size_t i;
+
+	if (len < sizeof(*eth) + sizeof(seq) ||
+	    eth->ether_type != rte_cpu_to_be_16(TEST_ETHER_TYPE) ||
+	    !rte_is_same_ether_addr(&eth->src_addr, src))
+		return -1;
+
+	memcpy(&seq, frame + sizeof(*eth), sizeof(seq));
+	if (len != expect_len)
+		return -2;
+	for (i = sizeof(*eth) + sizeof(seq); i < len; i++)
+		if (frame[i] != (uint8_t)(seq * 31 + i))
+			return -2;
+	return seq;
+}
+
+/*
+ * Helper: Record a checked frame in seen[]. Returns false if it was corrupt.
+ */
+static bool
+record_seq(int64_t seq, bool *seen, unsigned int n, unsigned int *nb_seen)
+{
+	if (seq == -1)
+		return true;
+	if (seq < 0 || seq >= n) {
+		printf("Corrupt frame (seq %" PRId64 ")\n", seq);
+		return false;
+	}
+	if (!seen[seq]) {
+		seen[seq] = true;
+		(*nb_seen)++;
+	}
+	return true;
+}
+
+/* Helper: Discard frames queued on the (non-blocking) TAP fd. */
+static void
+tap_drain(void)
+{
+	uint8_t buf[RTE_MBUF_DEFAULT_BUF_SIZE];
+
+	while (read(tap_fd, buf, sizeof(buf)) > 0)
+		;
+}
+
+/*
+ * Helper: Read frames from the (non-blocking) TAP fd until want frames
+ * built by fill_seq_frame() have been seen, or timeout.
+ * Returns the number seen, -1 on a corrupt frame.
+ */
+static int
+tap_collect_seq(bool *seen, unsigned int n, unsigned int *nb_seen,
+		unsigned int want, size_t frame_len, uint64_t timeout_us)
+{
+	uint8_t buf[RTE_MBUF_DEFAULT_BUF_SIZE];
+	uint64_t elapsed = 0;
+	ssize_t len;
+
+	while (*nb_seen < want && elapsed < timeout_us) {
+		len = read(tap_fd, buf, sizeof(buf));
+		if (len > 0) {
+			if (!record_seq(check_seq_frame(buf, len, &DEV_MAC_TAG,
+							frame_len),
+					seen, n, nb_seen))
+				return -1;
+			continue;
+		}
+		rte_delay_us_block(STATS_POLL_INTERVAL_US);
+		elapsed += STATS_POLL_INTERVAL_US;
+	}
+	return *nb_seen;
+}
+
+/*
+ * Helper: Transmit n frames of frame_len bytes in small bursts and verify
+ * each one arrives intact on the TAP fd.
+ */
+static int
+check_tx_seq(uint16_t pid, unsigned int n, size_t frame_len)
+{
+	struct rte_mbuf *bufs[SEQ_TX_BURST];
+	unsigned int seq, i, burst, nb_seen = 0;
+	bool *seen;
+	int ret = TEST_FAILED;
+
+	seen = calloc(n, sizeof(*seen));
+	if (seen == NULL)
+		return TEST_FAILED;
+
+	for (seq = 0; seq < n; seq += burst) {
+		burst = RTE_MIN(n - seq, (unsigned int)SEQ_TX_BURST);
+		if (rte_pktmbuf_alloc_bulk(mp, bufs, burst) != 0) {
+			printf("Could not allocate mbufs\n");
+			goto out;
+		}
+		for (i = 0; i < burst; i++) {
+			uint8_t *data = (uint8_t *)rte_pktmbuf_append(bufs[i], frame_len);
+
+			if (data == NULL) {
+				rte_pktmbuf_free_bulk(bufs, burst);
+				goto out;
+			}
+			fill_seq_frame(data, frame_len, &DEV_MAC_TAG, seq + i);
+		}
+
+		if (do_tx_burst(pid, 0, bufs, burst) != burst) {
+			printf("TX burst at seq %u was short\n", seq);
+			goto out;
+		}
+		if (tap_collect_seq(seen, n, &nb_seen, seq + burst, frame_len,
+				    TAP_READ_TIMEOUT_US) != (int)(seq + burst)) {
+			printf("TX: %u of %u frames arrived intact\n", nb_seen, seq + burst);
+			goto out;
+		}
+	}
+	ret = TEST_SUCCESS;
+out:
+	free(seen);
+	return ret;
+}
+
+/*
+ * Helper: Write n frames of frame_len bytes to the TAP fd and verify each one
+ * is received intact on pid.
+ */
+static int
+check_rx_seq(uint16_t pid, unsigned int n, size_t frame_len)
+{
+	struct rte_mbuf *bufs[BURST_SIZE];
+	uint8_t frame[RTE_MBUF_DEFAULT_BUF_SIZE];
+	unsigned int seq, nb_seen = 0;
+	uint64_t elapsed;
+	uint16_t i, nb_rx;
+	bool *seen, ok = true;
+	int ret = TEST_FAILED;
+
+	if (frame_len > sizeof(frame))
+		return TEST_FAILED;
+	seen = calloc(n, sizeof(*seen));
+	if (seen == NULL)
+		return TEST_FAILED;
+
+	for (seq = 0; seq < n; seq++) {
+		fill_seq_frame(frame, frame_len, &FD_MAC_TAG, seq);
+		if (write(tap_fd, frame, frame_len) != (ssize_t)frame_len) {
+			printf("TAP write failed: %s\n", strerror(errno));
+			goto out;
+		}
+		if ((seq + 1) % SEQ_TX_BURST != 0 && seq + 1 != n)
+			continue;
+
+		for (elapsed = 0; ok && nb_seen < seq + 1 &&
+		     elapsed < TAP_READ_TIMEOUT_US;
+		     elapsed += STATS_POLL_INTERVAL_US) {
+			nb_rx = rte_eth_rx_burst(pid, 0, bufs, BURST_SIZE);
+			for (i = 0; i < nb_rx; i++) {
+				const uint8_t *data;
+
+				data = rte_pktmbuf_read(bufs[i], 0,
+					rte_pktmbuf_pkt_len(bufs[i]), frame);
+				ok = ok && data != NULL &&
+					record_seq(check_seq_frame(data,
+						rte_pktmbuf_pkt_len(bufs[i]),
+						&FD_MAC_TAG, frame_len),
+						seen, n, &nb_seen);
+			}
+			rte_pktmbuf_free_bulk(bufs, nb_rx);
+			if (nb_rx == 0)
+				rte_delay_us_block(STATS_POLL_INTERVAL_US);
+		}
+		if (!ok || nb_seen < seq + 1) {
+			printf("RX: %u of %u frames arrived intact\n", nb_seen, seq + 1);
+			goto out;
+		}
+	}
+	ret = TEST_SUCCESS;
+out:
+	free(seen);
+	return ret;
+}
+
 static int
 test_af_packet_setup(void)
 {
@@ -1382,6 +1659,115 @@ test_af_packet_ignore_outgoing_multi_queue(void)
 	return test_af_packet_ignore_outgoing(2, false);
 }
 
+/*
+ * Test: Frame addresses follow the kernel's block layout
+ *
+ * framesz=1536 in page-sized blocks leaves 1024 bytes unused after the last
+ * frame of each block, so sequential addressing (i * framesz) diverges from
+ * the kernel's layout from the second block on. Each frame must cross the
+ * ring intact.
+ */
+static int
+test_af_packet_frame_layout(void)
+{
+	const char *name = "net_af_packet_layout";
+	char devargs[256];
+	unsigned int framecnt;
+	uint16_t pid;
+	int flags, ret;
+
+	if (!tap_created) {
+		printf("SKIPPED: TAP interface not available (need root)\n");
+		return TEST_SKIPPED;
+	}
+
+	framecnt = layout_devargs(devargs, sizeof(devargs), "");
+	ret = create_test_port(name, devargs, 0, &pid);
+	TEST_ASSERT(ret == 0, "Failed to create port");
+
+	flags = fcntl(tap_fd, F_GETFL, 0);
+	fcntl(tap_fd, F_SETFL, flags | O_NONBLOCK);
+	tap_drain();
+
+	/* wrap around the ring three times */
+	ret = check_tx_seq(pid, 3 * framecnt, LAYOUT_FRAME_LEN);
+	if (ret == TEST_SUCCESS)
+		ret = check_rx_seq(pid, 3 * framecnt, LAYOUT_FRAME_LEN);
+
+	fcntl(tap_fd, F_SETFL, flags);
+	destroy_test_port(name, pid);
+	return ret;
+}
+
+/*
+ * Test: The largest frame that fits a ring slot is sent intact and one byte
+ * more is dropped and counted as an error. A frame of max_rx_pktlen is
+ * received intact.
+ */
+static int
+test_af_packet_frame_max_size(void)
+{
+	const char *name = "net_af_packet_maxsize";
+	struct rte_eth_dev_info dev_info;
+	struct rte_eth_stats stats;
+	struct rte_mbuf *m;
+	char devargs[256];
+	uint8_t *data;
+	const uint32_t max_len = LAYOUT_TX_MAX_LEN;
+	uint16_t pid;
+	int flags, ret;
+
+	if (!tap_created) {
+		printf("SKIPPED: TAP interface not available (need root)\n");
+		return TEST_SKIPPED;
+	}
+
+	/* Keep the slot below the TAP MTU so the kernel accepts the largest frame */
+	layout_devargs(devargs, sizeof(devargs), "");
+	ret = create_test_port(name, devargs, 0, &pid);
+	TEST_ASSERT(ret == 0, "Failed to create port");
+
+	flags = fcntl(tap_fd, F_GETFL, 0);
+	fcntl(tap_fd, F_SETFL, flags | O_NONBLOCK);
+	tap_drain();
+
+	ret = TEST_FAILED;
+	if (rte_eth_dev_info_get(pid, &dev_info) != 0)
+		goto out;
+	printf("framesz=%d max frame length: Tx %u Rx %u\n", LAYOUT_FRAMESZ, max_len,
+	       dev_info.max_rx_pktlen);
+
+	if (check_tx_seq(pid, 1, max_len) != TEST_SUCCESS ||
+	    check_rx_seq(pid, 1, dev_info.max_rx_pktlen) != TEST_SUCCESS)
+		goto out;
+
+	rte_eth_stats_reset(pid);
+	m = rte_pktmbuf_alloc(mp);
+	if (m == NULL)
+		goto out;
+	data = (uint8_t *)rte_pktmbuf_append(m, max_len + 1);
+	if (data == NULL) {
+		rte_pktmbuf_free(m);
+		goto out;
+	}
+	fill_seq_frame(data, max_len + 1, &DEV_MAC_TAG, 1);
+	if (do_tx_burst(pid, 0, &m, 1) != 1) {
+		printf("Oversized frame was not consumed\n");
+		goto out;
+	}
+	if (rte_eth_stats_get(pid, &stats) != 0 || stats.oerrors != 1 ||
+	    stats.opackets != 0) {
+		printf("Oversized frame: opackets=%" PRIu64 " oerrors=%" PRIu64 "\n",
+		       stats.opackets, stats.oerrors);
+		goto out;
+	}
+	ret = TEST_SUCCESS;
+out:
+	fcntl(tap_fd, F_SETFL, flags);
+	destroy_test_port(name, pid);
+	return ret;
+}
+
 static struct unit_test_suite af_packet_test_suite = {
 	.suite_name = "AF_PACKET PMD Unit Test Suite",
 	.setup = test_af_packet_setup,
@@ -1405,6 +1791,8 @@ static struct unit_test_suite af_packet_test_suite = {
 		TEST_CASE(test_af_packet_invalid_bad_iface),
 		TEST_CASE(test_af_packet_invalid_qpairs),
 		TEST_CASE(test_af_packet_frame_config),
+		TEST_CASE(test_af_packet_frame_layout),
+		TEST_CASE(test_af_packet_frame_max_size),
 		TEST_CASE(test_af_packet_qdisc_bypass),
 		TEST_CASE(test_af_packet_multi_queue),
 		TEST_CASE(test_af_packet_fanout_modes),
-- 
2.54.0 (Apple Git-157)


  parent reply	other threads:[~2026-12-02 17:19 UTC|newest]

Thread overview: 86+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-27 18:13 [PATCH v1 0/3] net/af_packet: correctness fixes and improvements scott.k.mitch1
2026-01-27 18:13 ` [PATCH v1 1/3] net/af_packet: fix thread safety and frame calculations scott.k.mitch1
2026-01-27 18:39   ` Stephen Hemminger
2026-01-28  1:35     ` Scott Mitchell
2026-01-27 18:13 ` [PATCH v1 2/3] net/af_packet: RX/TX rte_memcpy, bulk free, prefetch scott.k.mitch1
2026-01-27 18:54   ` Stephen Hemminger
2026-01-28  1:23     ` Scott Mitchell
2026-01-28  9:49       ` Morten Brørup
2026-01-28 15:37         ` Scott Mitchell
2026-01-28 16:57           ` Stephen Hemminger
2026-01-27 18:13 ` [PATCH v1 3/3] net/af_packet: software checksum and tx poll control scott.k.mitch1
2026-01-27 18:57   ` Stephen Hemminger
2026-01-28  7:05     ` Scott Mitchell
2026-01-28 17:36       ` Stephen Hemminger
2026-01-28 18:59         ` Scott Mitchell
2026-01-27 20:45   ` [REVIEW] " Stephen Hemminger
2026-01-28  9:36 ` [PATCH v2 0/4] af_packet correctness, performance, cksum scott.k.mitch1
2026-01-28  9:36   ` [PATCH v2 1/4] net/af_packet: fix thread safety and frame calculations scott.k.mitch1
2026-01-28 16:59     ` Stephen Hemminger
2026-01-28 18:00       ` Scott Mitchell
2026-01-28 18:28         ` Stephen Hemminger
2026-01-28  9:36   ` [PATCH v2 2/4] net/af_packet: RX/TX unlikely, bulk free, prefetch scott.k.mitch1
2026-01-28  9:36   ` [PATCH v2 3/4] net/af_packet: tx poll control scott.k.mitch1
2026-01-28  9:36   ` [PATCH v2 4/4] net/af_packet: software checksum scott.k.mitch1
2026-01-28 18:27     ` Stephen Hemminger
2026-01-28 19:08       ` Scott Mitchell
2026-01-28 19:10   ` [PATCH v3 0/4] af_packet correctness, performance, cksum scott.k.mitch1
2026-01-28 19:10     ` [PATCH v3 1/4] net/af_packet: fix thread safety and frame calculations scott.k.mitch1
2026-01-28 19:10     ` [PATCH v3 2/4] net/af_packet: RX/TX unlikely, bulk free, prefetch scott.k.mitch1
2026-01-29  1:07       ` Stephen Hemminger
2026-02-02  5:29         ` Scott Mitchell
2026-01-28 19:10     ` [PATCH v3 3/4] net/af_packet: tx poll control scott.k.mitch1
2026-01-28 19:10     ` [PATCH v3 4/4] net/af_packet: software checksum scott.k.mitch1
2026-01-28 21:57       ` [REVIEW] " Stephen Hemminger
2026-02-02  7:55         ` Scott Mitchell
2026-02-02 16:58           ` Stephen Hemminger
2026-02-02  8:14     ` [PATCH v4 0/4] af_packet correctness, performance, cksum scott.k.mitch1
2026-02-02  8:14       ` [PATCH v4 1/4] net/af_packet: fix thread safety and frame calculations scott.k.mitch1
2026-02-02  8:14       ` [PATCH v4 2/4] net/af_packet: RX/TX bulk free, unlikely hint scott.k.mitch1
2026-02-02  8:14       ` [PATCH v4 3/4] net/af_packet: tx poll control scott.k.mitch1
2026-02-02  8:14       ` [PATCH v4 4/4] net/af_packet: add software checksum offload support scott.k.mitch1
2026-02-02 17:00         ` Stephen Hemminger
2026-02-02 18:47         ` Stephen Hemminger
2026-02-03  6:41           ` Scott Mitchell
2026-02-02 18:53       ` [PATCH v4 0/4] af_packet correctness, performance, cksum Stephen Hemminger
2026-02-03  7:07       ` [PATCH v5 " scott.k.mitch1
2026-02-03  7:07         ` [PATCH v5 1/4] net/af_packet: fix thread safety and frame calculations scott.k.mitch1
2026-02-03  7:07         ` [PATCH v5 2/4] net/af_packet: RX/TX bulk free, unlikely hint scott.k.mitch1
2026-02-03  7:07         ` [PATCH v5 3/4] net/af_packet: tx poll control scott.k.mitch1
2026-02-03  7:07         ` [PATCH v5 4/4] net/af_packet: add software checksum offload support scott.k.mitch1
2026-02-03  8:20           ` Scott Mitchell
2026-02-03 14:12             ` Stephen Hemminger
2026-02-04  2:59               ` Scott Mitchell
2026-02-03 14:13           ` Stephen Hemminger
2026-02-04  1:39             ` Scott Mitchell
2026-02-05 21:27               ` Stephen Hemminger
2026-02-06  1:11         ` [PATCH v6 0/4] af_packet correctness, performance, cksum scott.k.mitch1
2026-02-06  1:11           ` [PATCH v6 1/4] net/af_packet: fix thread safety and frame calculations scott.k.mitch1
2026-02-06  1:11           ` [PATCH v6 2/4] net/af_packet: RX/TX bulk free, unlikely hint scott.k.mitch1
2026-02-06  1:11           ` [PATCH v6 3/4] net/af_packet: tx poll control scott.k.mitch1
2026-02-06  1:11           ` [PATCH v6 4/4] net/af_packet: add software checksum offload support scott.k.mitch1
2026-02-06  1:49           ` [PATCH v6 0/4] af_packet correctness, performance, cksum Stephen Hemminger
2026-02-06  4:45             ` Scott Mitchell
2026-02-06 14:36             ` Morten Brørup
2026-02-06 16:11               ` Stephen Hemminger
2026-12-01 22:24           ` [PATCH v7 0/4] net/af_packet: " Scott Mitchell
2026-12-01 22:24             ` [PATCH v7 1/4] net/af_packet: fix thread safety and frame calculations Scott Mitchell
2026-12-01 22:24             ` [PATCH v7 2/4] net/af_packet: RX/TX bulk free, unlikely hint Scott Mitchell
2026-12-01 22:24             ` [PATCH v7 3/4] net/af_packet: tx poll control Scott Mitchell
2026-12-01 22:24             ` [PATCH v7 4/4] net/af_packet: add software checksum offload support Scott Mitchell
2026-12-01 23:22               ` Scott Mitchell
2026-12-01 22:32             ` [PATCH v7 0/4] net/af_packet: correctness, performance, cksum Scott Mitchell
2026-12-02  7:09             ` Stephen Hemminger
2026-12-02  8:01             ` Morten Brørup
2026-12-02 16:11               ` Scott Mitchell
2026-12-02 17:17             ` [PATCH v8 0/8] net/af_packet fixes and Tx features Scott Mitchell
2026-12-02 17:17               ` [PATCH v8 1/8] net/af_packet: fix frame status memory ordering Scott Mitchell
2026-12-02 17:26                 ` Stephen Hemminger
2026-12-02 17:17               ` [PATCH v8 2/8] net/af_packet: fix frame address with unused block tail Scott Mitchell
2026-12-02 17:17               ` [PATCH v8 3/8] net/af_packet: fix maximum Rx packet length Scott Mitchell
2026-12-02 17:18               ` Scott Mitchell [this message]
2026-12-02 17:18               ` [PATCH v8 5/8] net/af_packet: reject invalid ring parameters at probe Scott Mitchell
2026-12-02 17:29                 ` Stephen Hemminger
2026-12-02 17:18               ` [PATCH v8 6/8] net/af_packet: clean up Tx and bulk free mbufs Scott Mitchell
2026-12-02 17:18               ` [PATCH v8 7/8] net/af_packet: do not block in Tx when the ring is full Scott Mitchell
2026-12-02 17:18               ` [PATCH v8 8/8] net/af_packet: add Tx checksum offload Scott Mitchell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261202171804.50287-5-scott.k.mitch1@gmail.com \
    --to=scott.k.mitch1@gmail.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=mb@smartsharesystems.com \
    --cc=stephen@networkplumber.org \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox