hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/net/ethernet/huawei/hinic/hinic_tx.h
....@@ -1,16 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Huawei HiNIC PCI Express Linux driver
34 * Copyright(c) 2017 Huawei Technologies Co., Ltd
4
- *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms and conditions of the GNU General Public License,
7
- * version 2, as published by the Free Software Foundation.
8
- *
9
- * This program is distributed in the hope it will be useful, but WITHOUT
10
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12
- * for more details.
13
- *
145 */
156
167 #ifndef HINIC_TX_H
....@@ -30,6 +21,7 @@
3021 u64 tx_busy;
3122 u64 tx_wake;
3223 u64 tx_dropped;
24
+ u64 big_frags_pkts;
3325
3426 struct u64_stats_sync syncp;
3527 };
....@@ -52,6 +44,8 @@
5244
5345 void hinic_txq_get_stats(struct hinic_txq *txq, struct hinic_txq_stats *stats);
5446
47
+netdev_tx_t hinic_lb_xmit_frame(struct sk_buff *skb, struct net_device *netdev);
48
+
5549 netdev_tx_t hinic_xmit_frame(struct sk_buff *skb, struct net_device *netdev);
5650
5751 int hinic_init_txq(struct hinic_txq *txq, struct hinic_sq *sq,