[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <369f3139-4e63-4327-8745-2d72d7dfea8f@lunn.ch>
Date: Tue, 19 Sep 2023 14:08:08 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Hayes Wang <hayeswang@...ltek.com>
Cc: kuba@...nel.org, davem@...emloft.net, netdev@...r.kernel.org,
nic_swsd@...ltek.com, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org, edumazet@...gle.com, bjorn@...k.no,
pabeni@...hat.com
Subject: Re: [PATCH net-next v2 1/2] r8152: remove queuing rx packets in
driver
> - return work_done;
> + if (work_done > budget)
> + return budget;
> + else
> + return work_done;
> }
I don't know NAPI too well. Are there implications of not telling it
the truth?
Andrew
Powered by blists - more mailing lists