Thread (9 messages) 9 messages, 3 authors, 2020-07-31

Re: [PATCH net-next 4/4] s390/qeth: use all configured RX buffers

From: Julian Wiedmann <hidden>
Date: 2020-07-31 07:50:53
Also in: linux-s390

On 31.07.20 01:37, Jakub Kicinski wrote:
On Thu, 30 Jul 2020 17:01:21 +0200 Julian Wiedmann wrote:
quoted
The (misplaced) comment doesn't make any sense, enforcing an
uninitialized RX buffer won't help with IRQ reduction.

So make the best use of all available RX buffers.
Often one entry in the ring is left free to make it easy to
differentiate between empty and full conditions. 

Is this not the reason here?
Hmm no, the HW architecture works slightly different.

There's no index register that we could query for HW progress,
each ring entry has an associated state byte that needs to be
inspected and indicates HW progress (among other things).

So this was more likely just a mis-interpretation of how the
(quirky) IRQ reduction mechanism works in HW, or maybe part of
a code path that got removed during the NAPI conversion.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help