]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sfxge: get rid of locked variable in sfxge_tx_packet_add()
authorarybchik <arybchik@FreeBSD.org>
Sat, 16 May 2015 05:37:47 +0000 (05:37 +0000)
committerarybchik <arybchik@FreeBSD.org>
Sat, 16 May 2015 05:37:47 +0000 (05:37 +0000)
commitf8fced5ab4a4ff48275e31ea138b13ab71d6e9bc
treef0e8052d6c8180eaff94a456f97413cb153cd1b0
parenta56118bd205adfe592031c67cc9677156abce8c6
sfxge: get rid of locked variable in sfxge_tx_packet_add()

Now each branch has one and only one possible TxQ lock state.
It simplifies understanding of the code.

Reviewed by:    gnn
Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
Differential Revision: https://reviews.freebsd.org/D2551
sys/dev/sfxge/sfxge_tx.c