]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ravb: Count packets instead of descriptors in GbEth RX path
authorPaul Barker <paul.barker.ct@bp.renesas.com>
Wed, 14 Feb 2024 15:12:04 +0000 (15:12 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 15 Feb 2024 15:55:30 +0000 (07:55 -0800)
commited4adc07207d9165a4b3b36199231a22e9f51a55
treeeb33535094313f5f9b2e95f9e756eee32a1c022a
parentdc34ebd5c018b0edf47f39d11083ad8312733034
net: ravb: Count packets instead of descriptors in GbEth RX path

The units of "work done" in the RX path should be packets instead of
descriptors, as large packets can be spread over multiple descriptors.

Fixes: 1c59eb678cbd ("ravb: Fillup ravb_rx_gbeth() stub")
Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Link: https://lore.kernel.org/r/20240214151204.2976-1-paul.barker.ct@bp.renesas.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/renesas/ravb_main.c