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)
Sun, Dec 1, 6:58 PM
Unknown Object (File)
Sep 28 2024, 1:01 AM
Unknown Object (File)
Sep 27 2024, 6:11 AM
Unknown Object (File)
Sep 20 2024, 7:01 AM
Unknown Object (File)
Sep 19 2024, 7:10 PM
Unknown Object (File)
Sep 19 2024, 11:37 AM
Unknown Object (File)
Sep 19 2024, 3:33 AM
Unknown Object (File)
Sep 8 2024, 11:17 AM
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.