On Fri, 13 Feb 2026 at 18:03, Stephen Hemminger <[email protected]> wrote: > > Replace the 64K stack-allocated bounce buffer with a per-queue > buffer allocated from hugepages via rte_malloc at queue setup. > This is necessary because the buffer may be used in a secondary > process transmit path where the primary process allocated it. > > Fix error accounting: backpressure from pcap_sendpacket() (kernel > socket buffer full) was incorrectly counted as errors. Malformed > multi-segment mbufs where pkt_len exceeds actual data were silently > accepted; they are now detected via rte_pktmbuf_read() failure > and counted as errors. > > Add datapath debug logging macros (PMD_RX_LOG, PMD_TX_LOG) gated > on RTE_ETHDEV_DEBUG_RX/TX. Advertise RTE_ETH_TX_OFFLOAD_MULTI_SEGS > in device capabilities since the driver has always supported > multi-segment transmit. Add tx_queue_release to free the bounce > buffer. > > Fixes: fbbbf553f268 ("net/pcap: fix concurrent multiseg Tx") > Cc: [email protected] > > Signed-off-by: Stephen Hemminger <[email protected]>
It seems this commit does a lot more than fixing one issue. Please split. -- David Marchand

