Commit fcb4bb0
net/sched: cls_flower: prepare fl_{set,dump}_key_flags() for ENC_FLAGS
Prepare fl_set_key_flags/fl_dump_key_flags() for use with
TCA_FLOWER_KEY_ENC_FLAGS{,_MASK}.
This patch adds an encap argument, similar to fl_set_key_ip/
fl_dump_key_ip(), and determine the flower keys based on the
encap argument, and use them in the rest of the two functions.
Since these functions are so far, only called with encap set false,
then there is no functional change.
Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Tested-by: Davide Caratti <dcaratti@redhat.com>
Reviewed-by: Davide Caratti <dcaratti@redhat.com>
Link: https://patch.msgid.link/20240713021911.1631517-5-ast@fiberby.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent bfda5a6 commit fcb4bb0
1 file changed
Lines changed: 30 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1166 | 1166 | | |
1167 | 1167 | | |
1168 | 1168 | | |
1169 | | - | |
| 1169 | + | |
1170 | 1170 | | |
1171 | 1171 | | |
| 1172 | + | |
1172 | 1173 | | |
1173 | 1174 | | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
1174 | 1183 | | |
1175 | | - | |
| 1184 | + | |
1176 | 1185 | | |
1177 | 1186 | | |
1178 | 1187 | | |
1179 | 1188 | | |
1180 | | - | |
1181 | | - | |
| 1189 | + | |
| 1190 | + | |
1182 | 1191 | | |
1183 | 1192 | | |
1184 | 1193 | | |
| |||
2086 | 2095 | | |
2087 | 2096 | | |
2088 | 2097 | | |
2089 | | - | |
| 2098 | + | |
2090 | 2099 | | |
2091 | 2100 | | |
2092 | 2101 | | |
| |||
3084 | 3093 | | |
3085 | 3094 | | |
3086 | 3095 | | |
3087 | | - | |
| 3096 | + | |
| 3097 | + | |
3088 | 3098 | | |
3089 | | - | |
| 3099 | + | |
3090 | 3100 | | |
| 3101 | + | |
3091 | 3102 | | |
3092 | 3103 | | |
| 3104 | + | |
| 3105 | + | |
| 3106 | + | |
| 3107 | + | |
| 3108 | + | |
| 3109 | + | |
| 3110 | + | |
| 3111 | + | |
3093 | 3112 | | |
3094 | 3113 | | |
3095 | 3114 | | |
| |||
3105 | 3124 | | |
3106 | 3125 | | |
3107 | 3126 | | |
3108 | | - | |
| 3127 | + | |
3109 | 3128 | | |
3110 | 3129 | | |
3111 | 3130 | | |
3112 | | - | |
| 3131 | + | |
3113 | 3132 | | |
3114 | 3133 | | |
3115 | 3134 | | |
| |||
3632 | 3651 | | |
3633 | 3652 | | |
3634 | 3653 | | |
3635 | | - | |
| 3654 | + | |
| 3655 | + | |
3636 | 3656 | | |
3637 | 3657 | | |
3638 | 3658 | | |
| |||
0 commit comments