Skip to content

Commit 06e4b0f

Browse files
committed
Proposal_Update
1 parent 19a0cd6 commit 06e4b0f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

docs/proposal/ut_test.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ know that this has succeeded?
4343
- Successfully running unit test code for Kmesh's eBPF cgroup program.
4444

4545
- Documentation written in English for the tests of both sendMsg and cgroup programs.
46-
4746
#### Non-Goals
4847

4948
<!--
@@ -72,7 +71,6 @@ nitty-gritty.
7271
- For branches that write to BPF maps, use coll.Maps["..."] on the Go testing side to verify whether the map contents are correct.
7372
- For branches that do not write to any map, the current approach is to use the BPF_LOG() macro to print debug information for verification.
7473

75-
7674
### Design Details
7775

7876
<!--
@@ -85,7 +83,6 @@ proposal will be implemented, this is the place to discuss them.
8583
- Detailed Implementation Points
8684
- Mounting and Triggering Details for the Three Programs, and Current Testing Points
8785

88-
8986
- For sendmsg.c
9087
- Purpose: This file’s function is to prepend TLV (Type-Length-Value) metadata when sending messages.
9188
- Attachment Point: It uses SEC("sk_msg"), so it needs to be attached at the socket message layer.
@@ -106,8 +103,6 @@ proposal will be implemented, this is the place to discuss them.
106103
- encode_metadata_end(msg, off);
107104
- Verify that the TLV data is correctly written into the buffer.
108105

109-
110-
111106
- For cgroup_skb.c
112107
- Purpose: This file intercepts network packets and monitors or collects statistics on connections that meet certain conditions.
113108
- Attachment Point: Can be attached to the cgroup, following the example of the testing method used in sockops.c.
@@ -126,8 +121,6 @@ proposal will be implemented, this is the place to discuss them.
126121
- This function triggers reporting based on timing and performs operations on BPF maps.
127122
- Corresponding maps can be checked on the Go side for testing purposes.
128123

129-
130-
131124
- For cgroup_sock.c
132125
- Purpose:During TCP connection initiation, this function performs traffic control and records/modifies the original destination address based on Kmesh’s management logic, and executes further processing via tail call when necessary.
133126
- Attachment Point: Can be attached to the cgroup, following the example of the testing method used in sockops.c.
@@ -144,7 +137,6 @@ proposal will be implemented, this is the place to discuss them.
144137
- 5:set_original_dst_info()
145138
- Verify that the original destination address is correctly written into the bpf_sk_storage structure.
146139

147-
148140
- Both cgroup_skb.c and cgroup_sock.c are attached to the cgroup, so their mounting process is the same and the attachment and triggering have already been implemented as follows
149141

150142
```
@@ -162,8 +154,6 @@ proposal will be implemented, this is the place to discuss them.
162154
startLogReader(coll)
163155
```
164156

165-
166-
167157
### Alternatives
168158

169159
<!--

0 commit comments

Comments
 (0)