History

net: sched: rename more stats_types

Commit 53eca1f3479f ("net: rename flow_action_hw_stats_types* -> flow_action_hw_stats*") renamed just the flow action types and helpers. For consistency rename variables, enums, struct members and UAPI too (note that this UAPI was not in any official release, yet).

Jakub Kicinski committed 6 years ago

Commit 0dfb2d81 parent c3c123d7 files · +55 −58Browse files

Showing the changes to include/uapi (1 of 7 files). Show all

Unified · Split

include/uapi/linux/pkt_cls.h+14−15
@@ -17,7 +17,7 @@ enum { · 16 unmodified lines
17 TCA_ACT_PAD,17 TCA_ACT_PAD,
18 TCA_ACT_COOKIE,18 TCA_ACT_COOKIE,
19 TCA_ACT_FLAGS,19 TCA_ACT_FLAGS,
20 TCA_ACT_HW_STATS_TYPE,20 TCA_ACT_HW_STATS,
21 __TCA_ACT_MAX21 __TCA_ACT_MAX
22};22};
23 23
@@ -31,20 +31,19 @@ enum { · 7 unmodified lines
31 * all supported bits set.31 * all supported bits set.
32 * In case no bits are set, user is not interested in getting any HW statistics.32 * In case no bits are set, user is not interested in getting any HW statistics.
33 */33 */
34#define TCA_ACT_HW_STATS_TYPE_IMMEDIATE (1 << 0) /* Means that in dump, user34#define TCA_ACT_HW_STATS_IMMEDIATE (1 << 0) /* Means that in dump, user
35 * gets the current HW stats35 * gets the current HW stats
36 * state from the device36 * state from the device
37 * queried at the dump time.37 * queried at the dump time.
38 */38 */
39#define TCA_ACT_HW_STATS_TYPE_DELAYED (1 << 1) /* Means that in dump, user gets39#define TCA_ACT_HW_STATS_DELAYED (1 << 1) /* Means that in dump, user gets
40 * HW stats that might be out40 * HW stats that might be out of date
41 * of date for some time, maybe41 * for some time, maybe couple of
42 * couple of seconds. This is42 * seconds. This is the case when
43 * the case when driver polls43 * driver polls stats updates
44 * stats updates periodically44 * periodically or when it gets async
45 * or when it gets async stats update45 * stats update from the device.
46 * from the device.46 */
47 */
48 47
49#define TCA_ACT_MAX __TCA_ACT_MAX48#define TCA_ACT_MAX __TCA_ACT_MAX
50#define TCA_OLD_COMPAT (TCA_ACT_MAX+1)49#define TCA_OLD_COMPAT (TCA_ACT_MAX+1)