Skip to content
Commit 7457c5a7 authored by Hao Chen's avatar Hao Chen Committed by Greg Kroah-Hartman
Browse files

net: hns3: refactor hns3_nic_reuse_page()



[ Upstream commit e74a726d ]

Split rx copybreak handle into a separate function from function
hns3_nic_reuse_page() to improve code simplicity.

Signed-off-by: default avatarHao Chen <chenhao288@hisilicon.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 7d89b53c ("net: hns3: fix miss L3E checking for rx packet")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4a6e9fb5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment