Commit 6182c5c
selftests: forwarding: multiple instances in tcpdump helper
Extend tcpdump_start() & C:o to handle multiple instances. Useful when
observing bridge operation, e.g., unicast learning/flooding, and any
case of multicast distribution (to these ports but not that one ...).
This means the interface argument is now a mandatory argument to all
tcpdump_*() functions, hence the changes to the ocelot flower test.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent fe32dff commit 6182c5c
File tree
2 files changed
+31
-19
lines changed- tools/testing/selftests
- drivers/net/ocelot
- net/forwarding
2 files changed
+31
-19
lines changedLines changed: 12 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
| 239 | + | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
| 308 | + | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1386 | 1386 | | |
1387 | 1387 | | |
1388 | 1388 | | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
1389 | 1393 | | |
1390 | 1394 | | |
1391 | 1395 | | |
1392 | 1396 | | |
1393 | 1397 | | |
1394 | | - | |
1395 | | - | |
| 1398 | + | |
| 1399 | + | |
1396 | 1400 | | |
1397 | 1401 | | |
1398 | 1402 | | |
| |||
1407 | 1411 | | |
1408 | 1412 | | |
1409 | 1413 | | |
1410 | | - | |
1411 | | - | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
1412 | 1417 | | |
1413 | 1418 | | |
1414 | 1419 | | |
1415 | 1420 | | |
1416 | 1421 | | |
1417 | 1422 | | |
1418 | | - | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
1419 | 1427 | | |
1420 | 1428 | | |
1421 | 1429 | | |
1422 | 1430 | | |
1423 | 1431 | | |
1424 | | - | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
1425 | 1435 | | |
1426 | 1436 | | |
1427 | 1437 | | |
1428 | 1438 | | |
1429 | | - | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
1430 | 1442 | | |
1431 | 1443 | | |
1432 | 1444 | | |
| |||
0 commit comments