aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/amd/include
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2026-01-16 12:32:13 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2026-01-16 12:36:53 +0000
commitbbd30927b1af44226c8de0512912a7fedfce2824 (patch)
treef1cb6c926b9065cf96a0c94a82b211470dacc1c2 /usr.sbin/amd/include
parent77a6992bf5329e32b0b77608421dafccb125ad37 (diff)
bge: disable TXCSUM if UDP transmit checksum offloading is disabledHEADmain
The bge interface is special with respect to transmit checksumi offloading. In the default settings, an bge interface announces TXCSUM capabilities, but only supports TCP/IPv4 and not UDP/IPv4 due to limitations of some of the NICs. This results in problems when the bge interface becomes a member of a bridge. Since currently only the TXCSUM capabilities are synced when a member is added to a bridge and not the protocol specific capabilities, this can result in a situation where UDP packets are sent out using a bge interface without having a correct checksum. To mitigate this problem, initially don't announce TXCSUM capabilities, when UDP transmit checksum is disabled. It is still possible to enable TXCSUM capabilities via ifconfig. PR: 291420 Reviewed by: Timo Voelker MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D54486
Diffstat (limited to 'usr.sbin/amd/include')
0 files changed, 0 insertions, 0 deletions