.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Huawei HiNIC PCI Express Linux driver |
---|
3 | 4 | * 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 | | - * |
---|
14 | 5 | */ |
---|
15 | 6 | |
---|
16 | 7 | #ifndef HINIC_TX_H |
---|
.. | .. |
---|
30 | 21 | u64 tx_busy; |
---|
31 | 22 | u64 tx_wake; |
---|
32 | 23 | u64 tx_dropped; |
---|
| 24 | + u64 big_frags_pkts; |
---|
33 | 25 | |
---|
34 | 26 | struct u64_stats_sync syncp; |
---|
35 | 27 | }; |
---|
.. | .. |
---|
52 | 44 | |
---|
53 | 45 | void hinic_txq_get_stats(struct hinic_txq *txq, struct hinic_txq_stats *stats); |
---|
54 | 46 | |
---|
| 47 | +netdev_tx_t hinic_lb_xmit_frame(struct sk_buff *skb, struct net_device *netdev); |
---|
| 48 | + |
---|
55 | 49 | netdev_tx_t hinic_xmit_frame(struct sk_buff *skb, struct net_device *netdev); |
---|
56 | 50 | |
---|
57 | 51 | int hinic_init_txq(struct hinic_txq *txq, struct hinic_sq *sq, |
---|