[Midnightbsd-cvs] [MidnightBSD/src] 2e3f2f: Ensure a minimum inline size of 16 bytes in mlx5en...

Lucas Holt noreply at github.com
Sat Nov 21 01:05:53 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 2e3f2f63a7065d58b422f14b8769af3a931d6270
      https://github.com/MidnightBSD/src/commit/2e3f2f63a7065d58b422f14b8769af3a931d6270
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-21 (Sat, 21 Nov 2020)

  Changed paths:
    M sys/dev/mlx5/mlx5_en/mlx5_en_main.c

  Log Message:
  -----------
  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.

Obtained from: FreeBSD




More information about the Midnightbsd-cvs mailing list