freebsd-dev/sys/dev/sfxge
Andrew Rybchenko 995a3bf49c sfxge(4): allow firmware to auto-configure event queues on Medford
On Medford, licenses are required to enable RX and event cut through and to
disable RX batching. To avoid the need for the driver to make decisions based on
the licensing state, the MC_CMD_INIT_EVQ has been extended to allow us to leave
the decision to the firmware. If the adapter is licensed for low-latency use,
the firmware will choose the optimal settings for latency, otherwise it will use
the best settings for throughput.

For Huntington we still need to choose the settings ourselves.

Submitted by:   Mark Spender <mspender at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D6717
2016-06-05 06:37:54 +00:00
..
common sfxge(4): allow firmware to auto-configure event queues on Medford 2016-06-05 06:37:54 +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): always be ready to receive batched events 2016-06-04 09:20:46 +00:00
sfxge_intr.c sfxge(4): cleanup: update copyright to 2016 2016-05-24 12:16:57 +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): cleanup: update copyright to 2016 2016-05-24 12:16:57 +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): cleanup: update copyright to 2016 2016-05-24 12:16:57 +00:00
sfxge_rx.c sfxge(4): cope with code duplication on SW events composition 2016-06-01 06:51:19 +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): cleanup: update copyright to 2016 2016-05-24 12:16:57 +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 driver version to the closest out-of-tree version 2016-05-24 12:19:14 +00:00
sfxge.c sfxge(4): enable Medford support 2016-05-24 12:20:23 +00:00
sfxge.h sfxge(4): cope with code duplication on SW events composition 2016-06-01 06:51:19 +00:00