On Sat, 2022-12-03 at 22:54 +0100, Gerhard Engleder wrote: > @@ -808,6 +809,16 @@ static void tsnep_tx_close(struct tsnep_tx *tx) > tsnep_tx_ring_cleanup(tx); > } > > +static inline unsigned int tsnep_rx_offset(struct tsnep_rx *rx) > +{ > + struct tsnep_adapter *adapter = rx->adapter; > + > + if (tsnep_xdp_is_enabled(adapter)) > + return XDP_PACKET_HEADROOM; > + > + return TSNEP_SKB_PAD; > +} please, no 'inline' in .c files, thanks! Paolo