Page MenuHomeFreeBSD

sfxge: do not change CSUM_TSO when IFCAP_TSOx is changed
ClosedPublic

Authored by arybchik on May 14 2015, 2:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 17, 7:20 PM
Unknown Object (File)
Apr 14 2026, 12:56 PM
Unknown Object (File)
Apr 14 2026, 4:42 AM
Unknown Object (File)
Apr 13 2026, 10:21 PM
Unknown Object (File)
Apr 11 2026, 11:53 PM
Unknown Object (File)
Apr 6 2026, 4:46 PM
Unknown Object (File)
Apr 6 2026, 9:21 AM
Unknown Object (File)
Apr 6 2026, 2:26 AM
Subscribers

Details

Summary

It is simply not required since the kernel checks corresponding
IFCAP_TSOx capability and CSUM_TSO in hw-assisted offloads.
Note that CSUM_TSO is two bits (CSUM_IP_TSO|CSUM_IP6_TSO) and both bits
are set in IPv4 and IPv6 mbufs.

Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days

Test Plan

Driver build tested. Module loaded.
TSO4/6 enable/disable tested.
CSUM flags are checked in Tx mbufs.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

arybchik retitled this revision from to sfxge: do not change CSUM_TSO when IFCAP_TSOx is changed.
arybchik updated this object.
arybchik edited the test plan for this revision. (Show Details)
arybchik added a reviewer: gnn.
gnn edited edge metadata.
This revision is now accepted and ready to land.May 14 2015, 8:08 PM
This revision was automatically updated to reflect the committed changes.