]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: refactor hns3_nic_reuse_page()
authorHao Chen <chenhao288@hisilicon.com>
Mon, 29 Nov 2021 14:00:19 +0000 (22:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Nov 2021 14:26:17 +0000 (14:26 +0000)
commita451cf97a51365b8a44807c55b8ba47243a32604
tree99a129496125ea646cfe24d861689b13faea8492
parentc0020eb9ebde101569aee37d52095f9a10b10601
net: hns3: refactor hns3_nic_reuse_page()

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

Signed-off-by: Hao Chen <chenhao288@hisilicon.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c