Remove the sc_soft_req_cnt field because the number of tx requests is
authorvisa <visa@openbsd.org>
Thu, 8 Oct 2015 14:24:32 +0000 (14:24 +0000)
committervisa <visa@openbsd.org>
Thu, 8 Oct 2015 14:24:32 +0000 (14:24 +0000)
commite0081d0c5dbce9f173a22c9e443621d7a4126b24
tree4b8e4da2a0b5aef1388e60bc6b91575f332b25bd
parent238b6f3fe81bce811107f96413b835dadcdb4b3f
Remove the sc_soft_req_cnt field because the number of tx requests is
already tracked in sc_sendq. Replace the sc_flush logic with a simple
Fetch-and-Add store that avoids an unnecessary IOBDMA transaction.

ok uebayasi@
sys/arch/octeon/dev/if_cnmac.c
sys/arch/octeon/dev/if_cnmacvar.h