xref: /linux/drivers/net/ethernet/wangxun/libwx/wx_ethtool.h (revision 3d0fe49454652117522f60bfbefb978ba0e5300b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2015 - 2023 Beijing WangXun Technology Co., Ltd. */
3 
4 #ifndef _WX_ETHTOOL_H_
5 #define _WX_ETHTOOL_H_
6 
7 int wx_get_sset_count(struct net_device *netdev, int sset);
8 void wx_get_strings(struct net_device *netdev, u32 stringset, u8 *data);
9 void wx_get_ethtool_stats(struct net_device *netdev,
10 			  struct ethtool_stats *stats, u64 *data);
11 void wx_get_mac_stats(struct net_device *netdev,
12 		      struct ethtool_eth_mac_stats *mac_stats);
13 void wx_get_pause_stats(struct net_device *netdev,
14 			struct ethtool_pause_stats *stats);
15 void wx_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info);
16 #endif /* _WX_ETHTOOL_H_ */
17