[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181008.110524.1098486494157851439.davem@davemloft.net>
Date: Mon, 08 Oct 2018 11:05:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ruxandra.radulescu@....com
Cc: netdev@...r.kernel.org, ioana.ciornei@....com
Subject: Re: [PATCH net-next] dpaa2-eth: Don't account Tx confirmation
frames on NAPI poll
From: Ioana Ciocoi Radulescu <ruxandra.radulescu@....com>
Date: Mon, 8 Oct 2018 14:16:31 +0000
> Until now, both Rx and Tx confirmation frames handled during
> NAPI poll were counted toward the NAPI budget. However, Tx
> confirmations are lighter to process than Rx frames, which can
> skew the amount of work actually done inside one NAPI cycle.
>
> Update the code to only count Rx frames toward the NAPI budget
> and set a separate threshold on how many Tx conf frames can be
> processed in one poll cycle.
>
> The NAPI poll routine stops when either the budget is consumed
> by Rx frames or when Tx confirmation frames reach this threshold.
>
> Signed-off-by: Ioana Radulescu <ruxandra.radulescu@....com>
Applied.
Powered by blists - more mailing lists