HomeFreeBSD

gve: Disallow MTUs within a problematic range

Description

gve: Disallow MTUs within a problematic range

If hardware LRO is enabled with GVE, then setting the driver's MTU to a
range of values around 8000 will cause dropped packets and drastically
degraded performance. While this issue is being investigated, we need
to prohibit the driver's MTU being set to a value within this range.

Signed-off-by: Jasper Tran O'Leary <jtranoleary@google.com>

Reviewed by: delphij, markj
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D48971

(cherry picked from commit 909e2d7b691f7418a78b1289a51d3b6c46860a9b)

Details

Provenance
jtranoleary_google.comAuthored on Feb 14 2025, 2:57 PM
markjCommitted on Fri, Mar 7, 10:51 PM
Reviewer
delphij
Differential Revision
D48971: gve: Disallow MTUs within a problematic range
Parents
rGd2e7a078ba6e: ssh: Remove reference to now-upstreamed patch
Branches
Unknown
Tags
Unknown