diff options
author | Luo bin <luobin9@huawei.com> | 2020-06-28 20:36:22 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-28 20:40:58 -0700 |
commit | 4aa218a4fe77d57edd068210da4c90dd19523954 (patch) | |
tree | 07a392224d135e2cf8bf4806a2a1f78c6eb48c8f /drivers/net/ethernet/huawei/hinic/hinic_tx.h | |
parent | hinic: add support to set and get irq coalesce (diff) | |
download | linux-dev-4aa218a4fe77d57edd068210da4c90dd19523954.tar.xz linux-dev-4aa218a4fe77d57edd068210da4c90dd19523954.zip |
hinic: add self test support
add support to excute internal and external loopback test with
ethtool -t cmd.
Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/huawei/hinic/hinic_tx.h')
-rw-r--r-- | drivers/net/ethernet/huawei/hinic/hinic_tx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_tx.h b/drivers/net/ethernet/huawei/hinic/hinic_tx.h index f158b7db7fb8..b3c8657774a7 100644 --- a/drivers/net/ethernet/huawei/hinic/hinic_tx.h +++ b/drivers/net/ethernet/huawei/hinic/hinic_tx.h @@ -44,6 +44,8 @@ void hinic_txq_clean_stats(struct hinic_txq *txq); void hinic_txq_get_stats(struct hinic_txq *txq, struct hinic_txq_stats *stats); +netdev_tx_t hinic_lb_xmit_frame(struct sk_buff *skb, struct net_device *netdev); + netdev_tx_t hinic_xmit_frame(struct sk_buff *skb, struct net_device *netdev); int hinic_init_txq(struct hinic_txq *txq, struct hinic_sq *sq, |