Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
P4labs 2023
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ANET
P4labs 2023
Commits
cc6f2907
Commit
cc6f2907
authored
1 year ago
by
Djojomoenawie, N.E. (Nathan, Student M-CS)
Browse files
Options
Downloads
Patches
Plain Diff
Add mention of UDP header that was somehow missing in README
Also improve text clarity
parent
6f95a531
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
assignments/load_balance/README.md
+5
-5
5 additions, 5 deletions
assignments/load_balance/README.md
with
5 additions
and
5 deletions
assignments/load_balance/README.md
+
5
−
5
View file @
cc6f2907
...
...
@@ -75,13 +75,13 @@ missing piece.
A complete
`load_balance.p4`
will contain the following components:
1.
Header type definitions for Ethernet (
`ethernet_t`
)
and
IPv4 (
`ipv4_t`
).
2.
**TODO:**
Parsers for Ethernet and
IPv4
that populate
`ethernet_t`
and
`
ipv4
_t`
fields.
1.
Header type definitions for Ethernet (
`ethernet_t`
)
,
IPv4 (
`ipv4_t`
)
, and UDP (
`udp_t`
)
.
2.
**TODO:**
Parsers for Ethernet
, IPv4
and
UDP
that populate
`ethernet_t`
,
`ipv4_t`
,
and
`
udp
_t`
fields.
3.
An action to drop a packet, using
`mark_to_drop()`
.
4.
**TODO:**
An action (called
`set_ecmp_select`
), which
will
:
4.
**TODO:**
An action (called
`set_ecmp_select`
), which:
1.
Hashes the 5-tuple specified above using the
`hash`
extern
2.
Stores the result in the
`meta.ecmp_select`
field
5.
**TODO:**
A c
ontrol that:
5.
**TODO:**
C
ontrol
flow
that:
1.
Applies the
`ecmp_group`
table.
2.
Applies the
`ecmp_nhop`
table.
6.
A deparser that selects the order in which fields inserted into the outgoing
...
...
@@ -128,7 +128,7 @@ mn -c
## Next Steps
Congratulations, your implementation works! If availabe, you can move on to the
[
c
ontrolled
_l
oad
_b
alance
](
../controlled_load_balance
)
exercise.
Congratulations, your implementation works! If availabe, you can move on to the
[
C
ontrolled
L
oad
B
alance
](
../controlled_load_balance
)
exercise.
## Relevant Documentation
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment