2024-02-15 16:12:20

by Jakub Kicinski

[permalink] [raw]
Subject: Re: [PATCH net v3] net: ravb: Count packets instead of descriptors in GbEth RX path

On Wed, 14 Feb 2024 15:12:04 +0000 Paul Barker wrote:
> The units of "work done" in the RX path should be packets instead of
> descriptors, as large packets can be spread over multiple descriptors.

FWIW one of y'all may also want to look into processing Tx completions
before Rx. Tx completions can free memory which Rx can then consume.
More efficient. Not to mention netconsole being able to reap Tx with
budget of 0.