HomeFreeBSD

Ensure a minimum inline size of 16 bytes in mlx5en(4).

Description

Ensure a minimum inline size of 16 bytes in mlx5en(4).

This includes 14 bytes of ethernet header and 2 bytes of VLAN header.

This allows for making assumptions about the inline size limit
in the fast transmit path later on.

Use a signed integer variable to catch underflow.

MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS359653: Count number of times transmit ring is out of buffers in mlx5en(4).
Branches
Unknown
Tags
Unknown