summaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorStefan Chulski <stefanc@marvell.com>2021-05-25 19:04:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-03 09:00:51 +0200
commit8d2ab018a07a05b67c8b2435aa8b5e880a494f01 (patch)
treecb01d50103fb200e064e4c6448745ed1a2b76ca0 /scripts/clang-tools/gen_compile_commands.py
parentac493452e937b8939eaf2d24cac51a4804b6c20e (diff)
net: mvpp2: add buffer header handling in RX
[ Upstream commit 17f9c1b63cdd4439523cfcdf5683e5070b911f24 ] If Link Partner sends frames larger than RX buffer size, MAC mark it as oversize but still would pass it to the Packet Processor. In this scenario, Packet Processor scatter frame between multiple buffers, but only a single buffer would be returned to the Buffer Manager pool and it would not refill the poll. Patch add handling of oversize error with buffer header handling, so all buffers would be returned to the Buffer Manager pool. Fixes: 3f518509dedc ("ethernet: Add new driver for Marvell Armada 375 network unit") Reported-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Stefan Chulski <stefanc@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions