[PATCH v6 12/13] app/dumpcap: use port mirror instead of pdump

Stephen Hemminger stephen at networkplumber.org
Wed Jul 23 21:26:31 CEST 2025


On Wed, 23 Jul 2025 07:16:07 +0400 (+04)
Ivan Malov <ivan.malov at arknetworks.am> wrote:

> > +	/* overlay new header */
> > +	nh = (struct rte_ether_hdr *)
> > +		rte_pktmbuf_prepend(m, sizeof(struct rte_vlan_hdr));  
> 
> Prepend? But what if this is an indirect mbuf. Is it OK? Just asking.
> 
> Thank you.


Dumpcap doesn't use indirect for reasons mentioned in earlier mail.


More information about the dev mailing list