freebsd-nq/sys/dev/sfxge
Andrew Rybchenko e3ef7bb216 sfxge(4): avoid unnecessary mbuf data prefetch
Unnecessary prefetch just loads HW prefetcher and displaces other
cache entries (which could be really useful).

If we parse mbuf for TSO early and use firmware-assisted TSO, we do not
expect mbuf data access when we compose firmware-assisted TSO (v1 or v2)
option descriptors.  If packet header needs to be linearized or finally
FATSO cannot be used because of, for example, too big header, we do not
care about a bit more performance degradation because of prefetch
absence (it is better to optimize more common case).

Reviewed by:    gnn
Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
Differential Revision:  https://reviews.freebsd.org/D9120
2017-01-10 16:25:39 +00:00
..
common sfxge(4): allow DMA descs to cross 4k boundary on EF10 2017-01-07 10:55:38 +00:00
sfxge_dma.c sfxge(4): cleanup: update copyright to 2016 2016-05-24 12:16:57 +00:00
sfxge_ev.c sfxge(4): add possibility to control event queue performance profile 2016-12-28 17:45:52 +00:00
sfxge_intr.c sfxge(4): bind interrupts to CPUs in accordance with bucket to CPU map 2016-06-06 09:06:38 +00:00
sfxge_ioc.h sfxge(4): cleanup: update copyright to 2016 2016-05-24 12:16:57 +00:00
sfxge_mcdi.c sfxge(4): support per-command MCDI timeout 2016-12-30 12:10:15 +00:00
sfxge_nvram.c sfxge(4): cleanup: update copyright to 2016 2016-05-24 12:16:57 +00:00
sfxge_port.c sfxge(4): use SFXGE_LINK_UP() to report link up state 2017-01-07 10:51:12 +00:00
sfxge_rx.c sfxge(4): fix typo in pseudo header accessor function names 2016-12-29 07:20:53 +00:00
sfxge_rx.h sfxge(4): move definition of the SW events to sfxge.h 2016-05-31 18:34:39 +00:00
sfxge_tx.c sfxge(4): avoid unnecessary mbuf data prefetch 2017-01-10 16:25:39 +00:00
sfxge_tx.h sfxge(4): cleanup: update copyright to 2016 2016-05-24 12:16:57 +00:00
sfxge_version.h sfxge(4): bump version to the closest out-of-tree driver version 2016-06-09 12:33:53 +00:00
sfxge.c sfxge(4): move queue size checks to after the NIC config has been populated 2016-12-30 12:23:02 +00:00
sfxge.h sfxge(4): treat EFX_LINK_UNKOWN as link down 2017-01-07 10:52:02 +00:00