]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r301427
authorarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 17 Jun 2016 09:04:06 +0000 (09:04 +0000)
committerarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 17 Jun 2016 09:04:06 +0000 (09:04 +0000)
commit97567f6b269871f472f8d32cc17a29b362703de2
tree2c54ac1a1ab35cf1b6915640460806b20b98a7ab
parent22f86600e13c857cb2f45f68b0774a5f2728d7c5
MFC r301427

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.
Differential Revision:  https://reviews.freebsd.org/D6717

git-svn-id: svn://svn.freebsd.org/base/stable/10@301986 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sfxge/common/ef10_ev.c
sys/dev/sfxge/common/ef10_nic.c
sys/dev/sfxge/common/efx.h