Page MenuHomeFreeBSD

sfxge(4): report support for Tx checksum op descriptors
ClosedPublic

Authored by arybchik on Nov 30 2018, 9:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 11 2024, 10:00 PM
Unknown Object (File)
Dec 22 2023, 11:47 PM
Unknown Object (File)
Dec 12 2023, 4:38 AM
Unknown Object (File)
Nov 17 2023, 12:41 AM
Unknown Object (File)
Nov 10 2023, 9:09 AM
Unknown Object (File)
Nov 8 2023, 9:10 AM
Unknown Object (File)
Nov 6 2023, 9:02 AM
Unknown Object (File)
Nov 1 2023, 5:09 AM
Subscribers

Details

Summary

FreeBSD driver needs a patch to provide a means for packets
which do not need checksum offload but have flow ID set
to avoid hitting only the first Tx queue (which has been used
for packets not needing checksum offload).

This should be possible on Huntington, Medford or Medford2 chips
since these support toggling checksum offload on any given queue
dynamically by means of pushing option descriptors.

The patch for FreeBSD driver will then need a means to figure out
whether the feature can be used, and testing adapter family might
not be a good solution.

This patch adds a feature bit specifically to indicate support
for checksum option descriptors. The new feature bits may have
more users in future, apart from the mentioned FreeBSD patch.

Submitted by: Ivan Malov <Ivan.Malov at oktetlabs.ru>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week

Test Plan

amd64 tinderbox kernel builds tested
driver loaded/unloaded, interfaces up/down, traffic works fine

Diff Detail

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

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Dec 10 2018, 9:35 AM
This revision was automatically updated to reflect the committed changes.