Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 13:14:17 -0700
From:      Vijay Singh <vijju.singh@gmail.com>
To:        Jack Vogel <jfvogel@gmail.com>
Cc:        freebsd-net@freebsd.org, John Baldwin <jhb@freebsd.org>
Subject:   Re: ixgbe rx & tx locks
Message-ID:  <CALCNsJRR_=HqRWUduDk2GPKcnSgaHky4ybTjUa_BXfwcA3W88g@mail.gmail.com>
In-Reply-To: <CALCNsJQkLdEMkCUfp00woGbf-uUCOQVt5mJuZfrRTw9PRGYM9w@mail.gmail.com>
References:  <CALCNsJSSQSWV7vNVR-Sn8CPDKbUBBLpSH0b-HYMJo3SXvkOY=w@mail.gmail.com> <201208161736.47250.jhb@freebsd.org> <CAFOYbc=bXv_V4egO94ftkTFoLQ2uM50Sw3X5kgYoyKQcd0s31A@mail.gmail.com> <201208170941.54482.jhb@freebsd.org> <CALCNsJQ740ceDzpd5n7QAALn-uJ-GdWxPTkQJuMJUMTUGJjOUg@mail.gmail.com> <CAFOYbcmuxBmOfC6P0UBG5RR7xJy_i5mTr2NGMRcTJEJrQmjQ_Q@mail.gmail.com> <CALCNsJQkLdEMkCUfp00woGbf-uUCOQVt5mJuZfrRTw9PRGYM9w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Jack, I am wondering if this could be avoided if we can avoid to
> enqueue the task OR re-enable interrupts if the other one is already
> scheduled. Is this possible?

It seems to me that ixgbe_handle_que() should only be doing
ixgbe_rxeof(). When ever mq_start() is unable to send, it enqueues the
new txq_task. Also, this is checked periodically from the timer
function as well. I will try an experiment to evaluate only more_rx in
ixgbe_msix_que() and change ixgbe_handle_que() to do rx processing
only. I will report back findings.

Meanwhile it its immediately obvious to anyone what this will break,
please let me know.

-vijay



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCNsJRR_=HqRWUduDk2GPKcnSgaHky4ybTjUa_BXfwcA3W88g>