On Mon, 9 Mar 2026 17:10:21 +0100
Xavier Guillaume <[email protected]> wrote:

> Derive max_rx_pktlen and max_mtu from the actual TPACKET ring
> frame size rather than the static RTE_ETHER_MAX_LEN (1518).
> This allows jumbo frame support when the user specifies a
> larger framesz devarg at vdev creation time, for example:
> 
>   --vdev=net_af_packet0,iface=eth0,framesz=9216
> 
> The advertised capabilities now accurately reflect what the
> configured ring can handle, avoiding both false limitations
> with large frames and false promises with small ones.
> 
> Signed-off-by: Xavier Guillaume <[email protected]>

I wonder if TPACKET header could go in mbuf headroom.
And also, could the copy on receive be avoided?

Reply via email to