Re: drbr_enqueue - OCE driver - Freebsd 9.1

2013-04-08 Thread Ryan Stone
On Mon, Apr 8, 2013 at 1:14 PM, Duvvuru,Venkat Kumar < venkatkumar.duvv...@emulex.com> wrote: > Hi, > In the transmit path, if enqueue mechanism is used instead of blocking on > the lock, the throughput is not good in some scenarios (especially single > queue, multiple connections). > For example:

Re: drbr_enqueue - OCE driver - Freebsd 9.1

2013-04-08 Thread Adrian Chadd
On 8 April 2013 10:14, Duvvuru,Venkat Kumar wrote: > Hi, > In the transmit path, if enqueue mechanism is used instead of blocking on the > lock, the throughput is not good in some scenarios (especially single queue, > multiple connections). > For example: > if (TRY_LOCK(&wq->tx_lock)) { >

drbr_enqueue - OCE driver - Freebsd 9.1

2013-04-08 Thread Duvvuru,Venkat Kumar
Hi, In the transmit path, if enqueue mechanism is used instead of blocking on the lock, the throughput is not good in some scenarios (especially single queue, multiple connections). For example: if (TRY_LOCK(&wq->tx_lock)) { status = oce_multiq_transmit(ifp, m, wq); UNLOCK(&