]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sfxge(4): provide simple access to RxQ state in EvQ
authorAndrew Rybchenko <arybchik@FreeBSD.org>
Fri, 23 Nov 2018 11:39:02 +0000 (11:39 +0000)
committerAndrew Rybchenko <arybchik@FreeBSD.org>
Fri, 23 Nov 2018 11:39:02 +0000 (11:39 +0000)
commit5fb80fd41bedb7a63938fcfb3f9ac1788b3f4bdc
treea5cba94d012845c79ce66e1ec4a486a4a23704bd
parent1aa1b495edb9fec28d3b7fff83591a96c9adb5f8
sfxge(4): provide simple access to RxQ state in EvQ

Packed stream Rx datapath requires access to packed stream state
stored in event queue. Number of credits is upstead in event handler
on a new buffer, packets parsing on 64k boundary crossing and
Rx doorbell push to give credits back.

Sponsored by:   Solarflare Communications, Inc.
Differential Revision:  https://reviews.freebsd.org/D18099
sys/dev/sfxge/common/ef10_rx.c
sys/dev/sfxge/common/efx_impl.h