Add prompt, add action
This commit is contained in:
parent
a3e535323c
commit
0f2e7f6049
2 changed files with 5 additions and 0 deletions
4
netpfga/do-all-steps.sh
Normal file → Executable file
4
netpfga/do-all-steps.sh
Normal file → Executable file
|
@ -3,6 +3,10 @@
|
|||
set -e
|
||||
set -x
|
||||
|
||||
echo "First source all variables and THEN run this script"
|
||||
read something
|
||||
|
||||
|
||||
# Step 1..3: create code
|
||||
# Step 4
|
||||
cd $P4_PROJECT_DIR && make
|
||||
|
|
|
@ -80,6 +80,7 @@ control TopPipe(inout Parsed_packet p,
|
|||
actions = {
|
||||
swap_eth_addresses;
|
||||
do_nothing;
|
||||
send_to_port1;
|
||||
}
|
||||
size = 64;
|
||||
// default_action = swap_eth_addresses;
|
||||
|
|
Loading…
Reference in a new issue