Page MenuHomeFreeBSD

bnxt: set hardware checksum only if required
ClosedPublic

Authored by anaelle.cazuc_stormshield.eu on Nov 27 2025, 10:32 AM.
Referenced Files
Unknown Object (File)
Mon, Mar 23, 7:44 AM
Unknown Object (File)
Mon, Mar 23, 7:44 AM
Unknown Object (File)
Thu, Mar 19, 4:00 AM
Unknown Object (File)
Thu, Mar 19, 4:00 AM
Unknown Object (File)
Sun, Mar 15, 9:21 AM
Unknown Object (File)
Sun, Mar 15, 9:21 AM
Unknown Object (File)
Feb 12 2026, 4:24 PM
Unknown Object (File)
Feb 12 2026, 3:49 PM
Subscribers

Details

Summary

The test condition in the bnxt driver for TCP/UDP transmit hardware checksum offload is invalid: only the TCP / UDP csum bits should be tested
Only the relevant ipi_csum_flags bits are now tested as it's done in other iflib drivers

Sponsored By: Stormshield

Test Plan

Packets received with rx checksum offload don't offload the tx checksum anymore when doing simple forwarding

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable