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>
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
{
21 DECLARE_FLEX_ARRAY(u32
, raw
);
25 #endif /* __LIBETH_TYPES_H */