]> 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)
commit2b17420af0ad9d4226d4067e966f9a8962edd862
tree99a129496125ea646cfe24d861689b13faea8492
parentf73767746fb3446f3f3ef57591d369de64f7d25c
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