]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r359654:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 13 Apr 2020 08:33:49 +0000 (08:33 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 13 Apr 2020 08:33:49 +0000 (08:33 +0000)
commit414a374af79b39f45d9bcb01724645616e6dae77
treea3e0aef3b7292893e93bd7b89147e94dcc69c7b7
parent4cd6bad68a3cc732e9328c87c14539da7308363e
MFC r359654:
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.

Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@359847 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/mlx5/mlx5_en/mlx5_en_main.c