++ notes
This commit is contained in:
parent
a41ef8f0d1
commit
9cebd4024a
1 changed files with 77 additions and 2 deletions
79
doc/plan.org
79
doc/plan.org
|
@ -300,14 +300,16 @@
|
|||
| | Needs timeout / leases | |
|
||||
| | Might work w/ registers | |
|
||||
| | | |
|
||||
| 2019-05-26 | | |
|
||||
| 2019-XX-XX | | |
|
||||
| | Prepare Laurent meeting | |
|
||||
| | | |
|
||||
| | - Vivado installation: silent errors, infinite loop, missing libncurses5 | |
|
||||
| | - Compiling netfpga: 82k lines of code that are interdependent | |
|
||||
| | - Many non critical error messages on the way | |
|
||||
| | - Zero exit fatal errors | |
|
||||
| | | |
|
||||
| | - Not Receiving | |
|
||||
| | - Output all ports -> unclear how test data should look like | |
|
||||
| | - Found out broad/multicasting in theory -> bitmask | |
|
||||
| | | |
|
||||
| 2018-06-27 | | |
|
||||
| | Target Hardware: code running | |
|
||||
|
@ -4018,6 +4020,79 @@ python: ioctl: Unknown error 512
|
|||
#+END_CENTER
|
||||
|
||||
|
||||
*** 2019-06-10: testing with INT (hint from Hendrik)
|
||||
**** 15:54 compile & upload done
|
||||
**** 16:36 ...testing
|
||||
***** replaced ethX with nfX
|
||||
#+BEGIN_CENTER
|
||||
root@rainbow:~/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/projects/int/sw/hw_test_tool# ./rcv_int.py
|
||||
root@rainbow:~/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/projects/int/sw/hw_test_tool# ./int_tester.py
|
||||
tcpdump: listening on nf1, link-type EN10MB (Ethernet), capture size 262144 bytes
|
||||
The HW testing tool for the INT design
|
||||
type help to see all commands
|
||||
testing> help
|
||||
|
||||
Documented commands (type help <topic>):
|
||||
========================================
|
||||
help run_test
|
||||
|
||||
Undocumented commands:
|
||||
======================
|
||||
EOF exit
|
||||
|
||||
testing> run_test 0b11001
|
||||
.
|
||||
Sent 1 packets.
|
||||
Sent pkt:
|
||||
------------------------------------------------------------------------------------------
|
||||
| ETHERNET | ins_cnt:3 max_hop:10 total_hop:0 bitmask:11001 |
|
||||
------------------------------------------------------------------------------------------
|
||||
|
||||
testing>
|
||||
|
||||
|
||||
#+END_CENTER
|
||||
***** DONE Receiver does not see any packet
|
||||
CLOSED: [2019-06-10 Mon 16:37]
|
||||
***** DONE testing with tcpdump and ETH_DST = "ff:ff:ff:ff:ff:ff"
|
||||
CLOSED: [2019-06-10 Mon 17:34]
|
||||
Sending on nf1, listenng on nf3, all interfaces up
|
||||
|
||||
#+BEGIN_CENTER
|
||||
root@rainbow:~# tcpdump -ni nf3
|
||||
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
|
||||
listening on nf3, link-type EN10MB (Ethernet), capture size 262144
|
||||
bytes
|
||||
|
||||
root@rainbow:~/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/projects/int/sw/hw_test_tool# ./int_tester.py
|
||||
tcpdump: listening on nf1, link-type EN10MB (Ethernet), capture size 262144 bytes
|
||||
The HW testing tool for the INT design
|
||||
type help to see all commands
|
||||
testing> run_test 0b11001
|
||||
.
|
||||
Sent 1 packets.
|
||||
Sent pkt:
|
||||
------------------------------------------------------------------------------------------
|
||||
| ETHERNET | ins_cnt:3 max_hop:10 total_hop:0 bitmask:11001 |
|
||||
------------------------------------------------------------------------------------------
|
||||
|
||||
testing> run_test 0b11001
|
||||
.
|
||||
Sent 1 packets.
|
||||
Sent pkt:
|
||||
------------------------------------------------------------------------------------------
|
||||
| ETHERNET | ins_cnt:3 max_hop:10 total_hop:0 bitmask:11001 |
|
||||
------------------------------------------------------------------------------------------
|
||||
|
||||
testing>
|
||||
|
||||
#+END_CENTER
|
||||
|
||||
-> no packet received on nf3, even though commands.txt contains
|
||||
mapping
|
||||
*** 2019-06-10: trying to output on all ports -> unclear test data
|
||||
Test data in gen_testdata.py expects order. If we output to 0b1010101
|
||||
(=85), then the packet should arrive on all ports. Order unknown.
|
||||
|
||||
** References / Follow up
|
||||
*** RFC 791 IPv4 https://tools.ietf.org/html/rfc791
|
||||
|
|
Loading…
Reference in a new issue