]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Refactor the skb receiving and transmitting function
authorYunsheng Lin <linyunsheng@huawei.com>
Fri, 20 Oct 2017 02:19:21 +0000 (10:19 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Oct 2017 01:16:26 +0000 (02:16 +0100)
commitbc4f4ce5617f5df6251942416369e47f212a8536
tree1482d1d3459ac52aa96ff1aa4b960804f3820a8c
parenta4a223ff8e5648beaead83719643e8a0591e8aac
net: hns3: Refactor the skb receiving and transmitting function

This patch refactors the skb receiving and transmitting functions
and export them in order to support the ethtool's mac loopback
selftest.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.h