]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sfxge(4): use MCDIv2 for requests with too long response
authorAndrew Rybchenko <arybchik@FreeBSD.org>
Fri, 23 Nov 2018 15:59:37 +0000 (15:59 +0000)
committerAndrew Rybchenko <arybchik@FreeBSD.org>
Fri, 23 Nov 2018 15:59:37 +0000 (15:59 +0000)
commit641c3370f4f62b656812794c2cc2910da9e64990
treedc987e503115e5879ac487d99ea273f17c07b5bf
parent63cbe8d1d95f97e93929ec66f1138693d08dd9f6
sfxge(4): use MCDIv2 for requests with too long response

Use MCDIv2 for requests with a response size too long for MCDIv1.

Required for MC_CMD_MAC_STATS to reports the stats without using DMA.

Submitted by:   Mark Spender <mspender at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
Differential Revision:  https://reviews.freebsd.org/D18103
sys/dev/sfxge/common/efx_mcdi.c