]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: refactor for hns3_fill_desc() function
authorYunsheng Lin <linyunsheng@huawei.com>
Wed, 16 Jun 2021 06:36:12 +0000 (14:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2021 07:36:06 +0000 (00:36 -0700)
commit99a997b3699c76a681060d69189e9bc240f2e52e
treea273b24e3792459c04b0b4c702da968a82eed576
parentc5d36adede644c12c0b8c66e801f47517d359220
net: hns3: refactor for hns3_fill_desc() function

Factor out hns3_fill_desc() so that it can be reused in the
tx bounce supporting.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.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