HomeFreeBSD

Introduce additional locks when releasing TX resources and buffers in ENA

Description

Introduce additional locks when releasing TX resources and buffers in ENA

There could be race condition with TX cleaning routine when cleaning mbufs,
when it was called directly from main sending thread (ena_mq_start).

Submitted by: Michal Krawczyk <mk@semihalf.com>
Obtained from: Semihalf
Sponsored by: Amazon.com Inc.
Differential revision: https://reviews.freebsd.org/D10927

Details

Committed
zbbMay 30 2017, 12:00 PM
Differential Revision
D10927: ena: add additional locks when releasing TX resources and bufs
Parents
rS319200: Move ENA's hw stats updating routine to separate task
Branches
Unknown
Tags
Unknown