printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / net / libeth / types.h
blob603825e451339a220c91c660ef7ca16c051cd743
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright (C) 2024 Intel Corporation */
4 #ifndef __LIBETH_TYPES_H
5 #define __LIBETH_TYPES_H
7 #include <linux/types.h>
9 /**
10 * struct libeth_sq_napi_stats - "hot" counters to update in Tx completion loop
11 * @packets: completed frames counter
12 * @bytes: sum of bytes of completed frames above
13 * @raw: alias to access all the fields as an array
15 struct libeth_sq_napi_stats {
16 union {
17 struct {
18 u32 packets;
19 u32 bytes;
21 DECLARE_FLEX_ARRAY(u32, raw);
25 #endif /* __LIBETH_TYPES_H */