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, Jan 31, 11:27 AM
Unknown Object (File)
Fri, Jan 31, 10:26 AM
Unknown Object (File)
Jan 9 2025, 2:37 AM
Unknown Object (File)
Dec 12 2024, 10:28 AM
Unknown Object (File)
Nov 13 2024, 4:03 AM
Unknown Object (File)
Nov 11 2024, 11:51 PM
Unknown Object (File)
Oct 29 2024, 8:23 AM
Unknown Object (File)
Oct 20 2024, 2:13 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.