Commit 3df2bf2
committed
Merge: CNB96: net: Support for nexthop group statistics
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/5198
JIRA: https://issues.redhat.com/browse/RHEL-59118
Tested: Using fib_nexthops.sh, router_mpath_nh.sh and router_mpath_nh_res.sh self-tests
```
eedd47a ("nexthop: Factor out hash threshold fdb nexthop selection")
4bb5239 ("nexthop: Factor out neighbor validity check")
75f5f04 ("nexthop: Do not return invalid nexthop object during multipath selection")
c7e95bb ("selftests: net: Add test cases for nexthop groups with invalid neighbors")
3e584e3 ("nexthop: Annotate struct nh_notifier_res_table_info with __counted_by")
cf9ecad ("nexthop: Annotate struct nh_notifier_grp_info with __counted_by")
2118f93 ("net: nexthop: Adjust netlink policy parsing for a new attribute")
a207eab ("net: nexthop: Add NHA_OP_FLAGS")
f4676ea ("net: nexthop: Add nexthop group entry stats")
95fedd7 ("net: nexthop: Expose nexthop group stats to user space")
5877786 ("net: nexthop: Add hardware statistics notifications")
746c19a ("net: nexthop: Add ability to enable / disable hardware statistics")
5072ae0 ("net: nexthop: Expose nexthop group HW stats to user space")
2d32c49 ("net: nexthop: Initialize NH group ID in resilient NH group notifiers")
e99eb57 ("net: nexthop: Have all NH notifiers carry NH ID")
a22b042 ("selftests: forwarding: Add a test for NH group stats")
dc5e014 ("nexthop: Only parse NHA_OP_FLAGS for get messages that require it")
262a68a ("nexthop: Only parse NHA_OP_FLAGS for dump messages that require it")
d8a2107 ("nexthop: Fix out-of-bounds access during attribute validation")
e006858 ("nexthop: Fix splat with CONFIG_DEBUG_PREEMPT=y")
9145e22 ("nexthop: fix uninitialized variable in nla_put_nh_group_stats()")
```
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Approved-by: Ivan Vecera <ivecera@redhat.com>
Approved-by: José Ignacio Tornos Martínez <jtornosm@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>
Merged-by: Rado Vrbovsky <rvrbovsk@redhat.com>File tree
9 files changed
+731
-51
lines changed- include
- net
- uapi/linux
- net/ipv4
- tools/testing/selftests/net
- forwarding
9 files changed
+731
-51
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
100 | 107 | | |
101 | 108 | | |
| 109 | + | |
102 | 110 | | |
103 | 111 | | |
104 | 112 | | |
| |||
116 | 124 | | |
117 | 125 | | |
118 | 126 | | |
| 127 | + | |
119 | 128 | | |
120 | 129 | | |
121 | 130 | | |
| |||
126 | 135 | | |
127 | 136 | | |
128 | 137 | | |
| 138 | + | |
129 | 139 | | |
130 | 140 | | |
131 | 141 | | |
| |||
162 | 172 | | |
163 | 173 | | |
164 | 174 | | |
| 175 | + | |
165 | 176 | | |
166 | 177 | | |
167 | 178 | | |
168 | 179 | | |
169 | 180 | | |
170 | 181 | | |
171 | 182 | | |
| 183 | + | |
172 | 184 | | |
173 | 185 | | |
174 | 186 | | |
| |||
178 | 190 | | |
179 | 191 | | |
180 | 192 | | |
| 193 | + | |
181 | 194 | | |
182 | 195 | | |
183 | 196 | | |
184 | 197 | | |
185 | 198 | | |
186 | 199 | | |
187 | 200 | | |
188 | | - | |
189 | 201 | | |
190 | 202 | | |
191 | 203 | | |
192 | 204 | | |
193 | 205 | | |
194 | 206 | | |
195 | | - | |
| 207 | + | |
| 208 | + | |
196 | 209 | | |
197 | 210 | | |
198 | 211 | | |
| |||
205 | 218 | | |
206 | 219 | | |
207 | 220 | | |
208 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
209 | 234 | | |
210 | 235 | | |
211 | 236 | | |
| |||
218 | 243 | | |
219 | 244 | | |
220 | 245 | | |
| 246 | + | |
221 | 247 | | |
222 | 248 | | |
223 | 249 | | |
| |||
230 | 256 | | |
231 | 257 | | |
232 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
233 | 262 | | |
234 | 263 | | |
235 | 264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
63 | 78 | | |
64 | 79 | | |
65 | 80 | | |
| |||
101 | 116 | | |
102 | 117 | | |
103 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
104 | 149 | | |
0 commit comments