mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 06:52:34 -04:00
Implement update and clear Rx/Tx statistics. Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com> Link: https://lore.kernel.org/r/20231011091906.70486-2-jiawenwu@trustnetic.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
17 lines
683 B
C
17 lines
683 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (c) 2015 - 2023 Beijing WangXun Technology Co., Ltd. */
|
|
|
|
#ifndef _WX_ETHTOOL_H_
|
|
#define _WX_ETHTOOL_H_
|
|
|
|
int wx_get_sset_count(struct net_device *netdev, int sset);
|
|
void wx_get_strings(struct net_device *netdev, u32 stringset, u8 *data);
|
|
void wx_get_ethtool_stats(struct net_device *netdev,
|
|
struct ethtool_stats *stats, u64 *data);
|
|
void wx_get_mac_stats(struct net_device *netdev,
|
|
struct ethtool_eth_mac_stats *mac_stats);
|
|
void wx_get_pause_stats(struct net_device *netdev,
|
|
struct ethtool_pause_stats *stats);
|
|
void wx_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info);
|
|
#endif /* _WX_ETHTOOL_H_ */
|