Commit d3c0ac8
committed
[review] Address comments and update XDE test infra
Includes:
- geneve_verify: Add `assert_geneve_packet` helper and multi-packet parsing
- geneve: Fix `packet_length()` for known options where body is consumed
- Add `HeaderLen` supertrait bound to `OptionCast`
- Implement `HeaderLen` for `Known<T>` delegating to T for known variants
- `GeneveOptionParse::packet_length()` now uses `option.packet_length()`
instead of relying solely on `body_remainder` which is empty for
known options after parsing consumes the body
- oxide-vpc geneve: Add `HeaderLen` impl for `ValidOxideOption`
- overlay: Rewrite inner dest MAC to RFC-compliant multicast MAC for Tx
- dhcpv6: Compute proper UDP checksum for IPv6
- ip: Add `multicast_mac()` methods with RFC 1112/2464 citations
- opteadm: Add `set-m2p`/`clear-m2p` commands for multicast-to-physical mappings
- xde-tests: Use typed `Ipv4Addr`/`Ipv6Addr` instead of `String` in dualstack setup
- xde-tests: Simplify topology helpers and naming conventions (tests run single-threaded)
- test.sh: Exercise driver teardown with `rem_drv` after tests
complete
- xde: Normalize inner dst MAC on Rx
- drop non‑multicast inner
- add mcast_rx_bad_inner_dst stat
- xde: Initialize `mcast_fwd` from token and add `RefreshScope` and
use scoped refresh across create/delete/subscribe/unsubscribe1 parent c9f7957 commit d3c0ac8
File tree
18 files changed
+2114
-777
lines changed- .github/buildomat/jobs
- bin/opteadm/src/bin
- crates/opte-api/src
- lib
- opte-test-utils/src
- opte/src/engine
- dhcpv6
- oxide-vpc
- src/engine
- tests
- xde-tests
- src
- tests
- xde/src
18 files changed
+2114
-777
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
236 | 238 | | |
237 | 239 | | |
238 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
239 | 268 | | |
240 | 269 | | |
241 | 270 | | |
| |||
862 | 891 | | |
863 | 892 | | |
864 | 893 | | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
865 | 904 | | |
866 | 905 | | |
867 | 906 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
317 | 331 | | |
318 | 332 | | |
319 | 333 | | |
| |||
444 | 458 | | |
445 | 459 | | |
446 | 460 | | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
447 | 493 | | |
448 | 494 | | |
449 | 495 | | |
| |||
1601 | 1647 | | |
1602 | 1648 | | |
1603 | 1649 | | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
1604 | 1663 | | |
1605 | 1664 | | |
1606 | 1665 | | |
| |||
0 commit comments