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).
Showing the changes to include/uapi/linux (1 of 7 files). Show all
Unified · Split
| @@ -17,7 +17,7 @@ enum { · 16 unmodified lines | ||
| 17 | 17 | TCA_ACT_PAD, |
| 18 | 18 | TCA_ACT_COOKIE, |
| 19 | 19 | TCA_ACT_FLAGS, |
| 20 | − TCA_ACT_HW_STATS_TYPE, | |
| 20 | + TCA_ACT_HW_STATS, | |
| 21 | 21 | __TCA_ACT_MAX |
| 22 | 22 | }; |
| 23 | 23 | |
| @@ -31,20 +31,19 @@ enum { · 7 unmodified lines | ||
| 31 | 31 | * all supported bits set. |
| 32 | 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, user | |
| 35 | − * gets the current HW stats | |
| 36 | − * state from the device | |
| 37 | − * queried at the dump time. | |
| 38 | − */ | |
| 39 | −#define TCA_ACT_HW_STATS_TYPE_DELAYED (1 << 1) /* Means that in dump, user gets | |
| 40 | − * HW stats that might be out | |
| 41 | − * of date for some time, maybe | |
| 42 | − * couple of seconds. This is | |
| 43 | − * the case when driver polls | |
| 44 | − * stats updates periodically | |
| 45 | − * or when it gets async stats update | |
| 46 | − * from the device. | |
| 47 | − */ | |
| 34 | +#define TCA_ACT_HW_STATS_IMMEDIATE (1 << 0) /* Means that in dump, user | |
| 35 | + * gets the current HW stats | |
| 36 | + * state from the device | |
| 37 | + * queried at the dump time. | |
| 38 | + */ | |
| 39 | +#define TCA_ACT_HW_STATS_DELAYED (1 << 1) /* Means that in dump, user gets | |
| 40 | + * HW stats that might be out of date | |
| 41 | + * for some time, maybe couple of | |
| 42 | + * seconds. This is the case when | |
| 43 | + * driver polls stats updates | |
| 44 | + * periodically or when it gets async | |
| 45 | + * stats update from the device. | |
| 46 | + */ | |
| 48 | 47 | |
| 49 | 48 | #define TCA_ACT_MAX __TCA_ACT_MAX |
| 50 | 49 | #define TCA_OLD_COMPAT (TCA_ACT_MAX+1) |