1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright 2008-2010 Cisco Systems, Inc. All rights reserved.
4 * Copyright 2007 Nuova Systems, Inc. All rights reserved.
11 struct vnic_tx_stats {
13 u64 tx_unicast_frames_ok;
14 u64 tx_multicast_frames_ok;
15 u64 tx_broadcast_frames_ok;
17 u64 tx_unicast_bytes_ok;
18 u64 tx_multicast_bytes_ok;
19 u64 tx_broadcast_bytes_ok;
27 struct vnic_rx_stats {
30 u64 rx_unicast_frames_ok;
31 u64 rx_multicast_frames_ok;
32 u64 rx_broadcast_frames_ok;
34 u64 rx_unicast_bytes_ok;
35 u64 rx_multicast_bytes_ok;
36 u64 rx_broadcast_bytes_ok;
52 /* Generic statistics */
53 struct vnic_gen_stats {
58 struct vnic_tx_stats tx;
59 struct vnic_rx_stats rx;
62 #endif /* _VNIC_STATS_H_ */