Page MenuHomeFreeBSD

bnxt: set hardware checksum only if required
AcceptedPublic

Authored by aurelien.cazuc.external_stormshield.eu on Thu, Nov 27, 10:32 AM.
Referenced Files
Unknown Object (File)
Fri, Nov 28, 12:53 PM
Unknown Object (File)
Fri, Nov 28, 12:53 PM
Unknown Object (File)
Thu, Nov 27, 2:32 PM
Unknown Object (File)
Thu, Nov 27, 11:49 AM
Unknown Object (File)
Thu, Nov 27, 10:34 AM
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 Skipped
Unit
Tests Skipped