lkml.org 
[lkml]   [2017]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next] net: ethernet: mediatek: enhance TX path with recycling more SKBs in one poll
From
From: <sean.wang@mediatek.com>
Date: Tue, 11 Apr 2017 16:34:27 +0800

> From: Sean Wang <sean.wang@mediatek.com>
>
> The patch adds the enhancement for recycling more TX completed SKBs in
> one NAPI polling handler if NAPI budgets are still available and hardware
> raises status bit shown for certain SKBs are aready done.
>
> Signed-off-by: Sean Wang <sean.wang@mediatek.com>

You should always, unconditionally, process all TX reclaim events
every NAPI poll, regardless of how much budget is left.

TX reclaim work is not counted against the NAPI budget, only RX work
should be.

\
 
 \ /
  Last update: 2017-04-11 16:49    [W:0.040 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site