On Wed, Feb 17, 2021 at 11:29 AM Andrew Lunn <and...@lunn.ch> wrote: > > > + /* Pad out to at least 60 bytes */ > > + if (unlikely(eth_skb_pad(skb))) > > + return NULL; > > The core will do the padding for you. Turn on .tail_tag in > dsa_device_ops. >
Please don't. .tail_tag does far more than just padding.