Submitted by: Artem V. Andreev <Artem.Andreev at oktetlabs.ru>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
Details
- Reviewers
gnn - Commits
- rS291584: sfxge: parse packets for TSO early in if_transmit
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
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).
Sounds good. Defaulting to on is the right thing in HEAD then. You'll have to change that on an MFC.
OK, thanks. It works fine on stable/10 and there is no plans to MFC to stable/9 and earlier.