On Wed, Feb 23, 2022 at 8:55 PM Jakub Kicinski [off-list ref] wrote:
On Fri, 18 Feb 2022 15:45:34 -0800 Dimitris Michailidis wrote:
quoted
+ if (unlikely(skb->len < FUN_TX_MIN_LEN)) {
+ FUN_QSTAT_INC(q, tx_len_err);
+ return 0;
+ }
Is there something in the standards that says 32 byte frames are
invalid? __skb_put_padto() is your friend.
I'll remove this altogether. FW has its own handling for this case,
which also covers small packets from the XDP path.