aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorPaul Barker <[email protected]>2024-04-16 12:02:51 +0000
committerPaolo Abeni <[email protected]>2024-04-18 09:34:28 +0000
commitdef52db470df28d6f43cacbd21137f03b9502073 (patch)
tree40691fca2a9c96d1716b102794595efc73d15c68 /net/unix/garbage.c
parentnet: ethernet: mtk_eth_soc: fix WED + wifi reset (diff)
downloadkernel-def52db470df28d6f43cacbd21137f03b9502073.tar.gz
kernel-def52db470df28d6f43cacbd21137f03b9502073.zip
net: ravb: Count packets instead of descriptors in R-Car RX path
The units of "work done" in the RX path should be packets instead of descriptors. Descriptors which are used by the hardware to record error conditions or are empty in the case of a DMA mapping error should not count towards our RX work budget. Also make the limit variable unsigned as it can never be negative. Fixes: c156633f1353 ("Renesas Ethernet AVB driver proper") Signed-off-by: Paul Barker <[email protected]> Reviewed-by: Sergey Shtylyov <[email protected]> Reviewed-by: Niklas Söderlund <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions