OSDN Git Service

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)
commitd43e5aca8780e4084cad0969c71669cf99dc6030
tree1482d1d3459ac52aa96ff1aa4b960804f3820a8c
parenta8e8c0ecb4bbeb28cab752e1b3c2ee96a595af26
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