HomeFreeBSD

if_vlan: do not enable LRO for bridge interaces

Description

if_vlan: do not enable LRO for bridge interaces

If the parent interface is not a bridge and can do LRO and
checksum offloading on VLANs, then guess it may do LRO on VLANs.
False positive here cost nothing, while false negative may lead
to some confusions. According to Wikipedia:

"LRO should not operate on machines acting as routers, as it breaks
the end-to-end principle and can significantly impact performance."

The same reasoning applies to machines acting as bridges.

PR: 254596
MFC after: 3 weeks

Details

Provenance
Paul Vixie <paul@redbarn.org>Authored on Aug 11 2023, 6:17 PM
kpCommitted on Aug 11 2023, 10:50 PM
Parents
rG765ad5b28d3f: tmpfs: add the "pgread" mount option to the allowed options list for mount
Branches
Unknown
Tags
Unknown
Reverted By
rGfb69ed397e4f: Revert "if_vlan: do not enable LRO for bridge interaces"