]> 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)
commit7f0bf93f44989536c1e9c8bfff8386edb3e79fbf
tree1482d1d3459ac52aa96ff1aa4b960804f3820a8c
parentfef84a42fb9fdff72fed116b12729ca17522863a
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