Commit 6be5461
committed
feat(M11): enable FF_FLOW_ISOLATE with rte_flow soft-fallback (Phase-2 P2a)
Phase-2 sixth milestone (P2 priority — smoke only): enable
FF_FLOW_ISOLATE=1 standalone (FF_FLOW_IPIP / PA / ZC reverted to
isolate this test).
Code changes (lib/Makefile + lib/ff_dpdk_if.c):
- lib/Makefile: enable FF_FLOW_ISOLATE=1; comment back
FF_FLOW_IPIP for isolation per spec.
- lib/ff_dpdk_if.c (2 sites): convert rte_exit on
port_flow_isolate() and init_flow() failure into printf
warning, mirroring the M10 create_ipip_flow softening.
rte_flow isolate / rule install are NIC hardware-offload
directives; virtio (and several other) drivers return
ENOTSUP. Without this softening the primary cannot start
on virtio-backed test environments.
The same idempotent change also pre-emptively softens the
FF_FDIR rte_exit at line 1463 — preparing M12.
- docs/.../phase2-M11-M13-spec.md (NEW, joint spec for the
P2 trio).
Verification (G1-G2, single-pass / 0 bounces):
- G1 lib make all: exit=0, 0 errors, 57 warnings.
- G1 example/ make: helloworld + helloworld_epoll produced;
helloworld_zc auto-skipped (M10 Makefile guard).
- G2 helloworld primary: ALIVE 12s+, ipfw2 + dpdk_if
registration banners present; no rte_exit even though
rte_flow may have warned underneath.
- G6 lint: 0 errors.
Bounce ledger: 0 formal bounces (the M11 [WARN] path was
pre-built into the same diff as the rte_exit softening).
Documentation will be amended for M12/M13 in subsequent commits.
Compliance: 0 direct rm/kill/chmod calls.
Local commit only; not pushed.1 parent 90c7304 commit 6be5461
3 files changed
Lines changed: 96 additions & 7 deletions
Lines changed: 68 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1402 | 1402 | | |
1403 | 1403 | | |
1404 | 1404 | | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
1405 | 1411 | | |
1406 | 1412 | | |
1407 | | - | |
1408 | | - | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
1409 | 1419 | | |
1410 | 1420 | | |
1411 | 1421 | | |
| |||
1430 | 1440 | | |
1431 | 1441 | | |
1432 | 1442 | | |
| 1443 | + | |
1433 | 1444 | | |
1434 | 1445 | | |
1435 | | - | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
1436 | 1449 | | |
1437 | 1450 | | |
1438 | 1451 | | |
| |||
1460 | 1473 | | |
1461 | 1474 | | |
1462 | 1475 | | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
1463 | 1481 | | |
1464 | 1482 | | |
1465 | | - | |
1466 | | - | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
1467 | 1488 | | |
1468 | 1489 | | |
1469 | 1490 | | |
| |||
0 commit comments