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 (1 of 7 files). Show all
Unified · Split
| @@ -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_MAX | 21 | __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, user | 34 | #define TCA_ACT_HW_STATS_IMMEDIATE (1 << 0) /* Means that in dump, user |
| 35 | * gets the current HW stats | 35 | * gets the current HW stats |
| 36 | * state from the device | 36 | * 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 gets | 39 | #define TCA_ACT_HW_STATS_DELAYED (1 << 1) /* Means that in dump, user gets |
| 40 | * HW stats that might be out | 40 | * HW stats that might be out of date |
| 41 | * of date for some time, maybe | 41 | * for some time, maybe couple of |
| 42 | * couple of seconds. This is | 42 | * seconds. This is the case when |
| 43 | * the case when driver polls | 43 | * driver polls stats updates |
| 44 | * stats updates periodically | 44 | * periodically or when it gets async |
| 45 | * or when it gets async stats update | 45 | * stats update from the device. |
| 46 | * from the device. | 46 | */ |
| 47 | */ | ||
| 48 | 47 | ||
| 49 | #define TCA_ACT_MAX __TCA_ACT_MAX | 48 | #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) |