Page MenuHomeFreeBSD

sfxge: parse packets for TSO early in if_transmit
ClosedPublic

Authored by arybchik on Nov 29 2015, 8:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 22 2023, 9:14 PM
Unknown Object (File)
Nov 8 2023, 5:49 PM
Unknown Object (File)
Oct 7 2023, 4:32 PM
Unknown Object (File)
Jun 27 2023, 8:58 AM
Unknown Object (File)
Jun 16 2023, 9:27 AM
Unknown Object (File)
Apr 22 2017, 7:36 PM
Unknown Object (File)
Apr 17 2017, 6:32 PM
Unknown Object (File)
Mar 20 2017, 11:28 PM
Subscribers

Details

Summary

Submitted by: Artem V. Andreev <Artem.Andreev at oktetlabs.ru>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week

Test Plan

Build tested, driver loaded/unloaded.
It was tested using netperf, netpipe and sfnt-pingpong with IPv4/IPv6,
VLAN or non-VLAN -- it works just fine.

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: parse packets for TSO early in if_transmit.
arybchik updated this object.
arybchik edited the test plan for this revision. (Show Details)
arybchik added a reviewer: gnn.

Is there a reason to have this under a build constant? Is there any reason we don't want this to be the default behavior?

The main reason to have it under conditional is to minimize the code difference between FreeBSD 8/9 and 10/current. The former do not have space in mbuf to store parsing results. Yes, I'm committing to head which has the space and can have it always enabled, but I'd keep it to minimize difference between in-tree and out-of-tree driver (which may be built and basically tested on FreeBSD 8.4 and 9.3).

gnn edited edge metadata.

Sounds good. Defaulting to on is the right thing in HEAD then. You'll have to change that on an MFC.

This revision is now accepted and ready to land.Dec 1 2015, 2:28 PM

OK, thanks. It works fine on stable/10 and there is no plans to MFC to stable/9 and earlier.

This revision was automatically updated to reflect the committed changes.