Commit 73622c8
committed
feat(M13): enable FF_LOOPBACK_SUPPORT (Phase-2 P2c smoke) + sync M11-M13 docs
Phase-2 final feature milestone (P2 priority — smoke only): enable
FF_LOOPBACK_SUPPORT=1 standalone (FLOW_ISOLATE / FDIR / FLOW_IPIP /
PA / ZC reverted to isolate this test).
Code changes:
- lib/Makefile: enable FF_LOOPBACK_SUPPORT=1.
- lib/ff_stub_14_extra.c: add link-only stub for ff_swi_net_excute.
Declared in lib/ff_host_interface.h:92 and called from
lib/ff_dpdk_if.c:2445 inside the loopback poll loop, but the
function never had an implementation in the F-Stack tree (M0-M12
build had FF_LOOPBACK_SUPPORT off so the symbol was a dead
reference). The intended behaviour is a software-interrupt-style
network packet executor; in user-space F-Stack the equivalent
work is done inline by ff_dpdk_if main loop, so a no-op stub is
a safe fallback for smoke testing. Full loopback semantics may
need revisit if a runtime path actually relies on this.
- docs/01-LAYER1-ARCHITECTURE.md + zh_cn mirror: M11/M12/M13
combined anchor sentence (single line covering all three P2
smoke milestones).
- docs/F-Stack_Knowledge_Base_Summary.md + zh_cn: scope tag
amended to include M11/M12/M13.
Verification (G1-G2, single-pass / 0 bounces beyond the stub add):
- G1 lib make all: exit=0, 0 errors, 57 warnings.
- G1 example/ make: exit=0 (after stub added).
- G2 helloworld primary: ALIVE 12s+; ipfw2 + dpdk_if registered;
no rte_exit / no SIGSEGV.
- G6 lint: 0 errors.
Bounce ledger (M13): the missing ff_swi_net_excute was a
pre-existing latent issue, not a M13 regression — it surfaced
because no prior milestone had ever enabled FF_LOOPBACK_SUPPORT.
Resolved within the same diff.
Compliance: 0 direct rm/kill/chmod calls.
Local commit only; not pushed.1 parent b6bf3f0 commit 73622c8
6 files changed
Lines changed: 24 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
880 | 898 | | |
881 | 899 | | |
0 commit comments