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, Aug 28, 6:28 AM
Unknown Object (File)
Thu, Aug 27, 4:45 PM
Unknown Object (File)
Wed, Aug 26, 1:13 AM
Unknown Object (File)
Wed, Aug 26, 12:31 AM
Unknown Object (File)
Fri, Aug 21, 10:05 PM
Unknown Object (File)
Fri, Aug 21, 10:04 PM
Unknown Object (File)
Jun 16 2026, 10:12 PM
Unknown Object (File)
Apr 17 2026, 7:20 PM
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.