[doc] egress works with table on NetFPGA
This commit is contained in:
parent
77d1f770c2
commit
bcc039cb31
6 changed files with 233 additions and 59 deletions
61
doc/plan.org
61
doc/plan.org
|
|
@ -7267,7 +7267,7 @@ success
|
|||
*** DONE 2019-07-28: ping6 test for getting packet: failure
|
||||
CLOSED: [2019-07-28 Sun 12:43]
|
||||
|
||||
*** TODO 2019-07-28: !!!!!!! NETPFGA PORT MAPPINGS
|
||||
*** TODO 2019-07-28: *NETPFGA PORT MAPPINGS*
|
||||
nf_port_map = {
|
||||
"nf0":0b00000001,
|
||||
"nf1":0b00000100,
|
||||
|
|
@ -7283,8 +7283,6 @@ nf_port_map = {
|
|||
| port 1 | 0b00000100 | 4 | |
|
||||
| port 2 | 0b00010000 | 16 | esprimo enp2s0f0 |
|
||||
| port 3 | 0b01000000 | 64 | esprimo enp2s0f1 |
|
||||
| | | | |
|
||||
|
||||
*** DONE 2019-07-28: testing with port = 64 (first or last in theory): LAST! WORKS!
|
||||
CLOSED: [2019-07-28 Sun 13:19]
|
||||
#+BEGIN_CENTER
|
||||
|
|
@ -8064,7 +8062,8 @@ listening on enp2s0f1, link-type EN10MB (Ethernet), capture size 262144 bytes
|
|||
- eth1 on nsg: seeing ipv4 and ipv6
|
||||
- eth1 on nsg: seeing icmp (ipv4)
|
||||
- enp2s0f0 SEES icmp6!
|
||||
*** TODO 2019-07-29: test table entries for moving to different port
|
||||
*** DONE 2019-07-29: test table entries for moving to different port
|
||||
CLOSED: [2019-07-31 Wed 10:04]
|
||||
#+BEGIN_CENTER
|
||||
>> table_cam_add_entry realmain_dummy_table_for_netpfga_0 realmain.set_egress_port 34525 => 64
|
||||
fields = [(u'hit', 1), (u'action_run', 2), (u'out_port', 8)]
|
||||
|
|
@ -8092,6 +8091,60 @@ It works!!!!!
|
|||
|
||||
*** DONE 2019-07-29: documentation: `portland.sty' not found: removed include
|
||||
CLOSED: [2019-07-29 Mon 20:27]
|
||||
*** TODO 2019-07-31: Test final NAT64 code: v6 egress
|
||||
#+BEGIN_CENTER
|
||||
>>> int(ipaddress.IPv6Address(u"2001:db8:42::70b4"))
|
||||
42540766411362381960998550477184463028L
|
||||
|
||||
>>> int(ipaddress.IPv6Address(u"2001:db8:42::6"))
|
||||
42540766411362381960998550477184434182L
|
||||
|
||||
>>> int(ipaddress.IPv4Address(u"10.0.0.42"))
|
||||
167772202
|
||||
|
||||
>>> int(ipaddress.IPv4Address(u"10.0.0.42"))
|
||||
167772202
|
||||
|
||||
>> table_cam_add_entry realmain_v4_networks_0 realmain.set_egress_port 167772202 => 16 0 0 0 0
|
||||
fields = [(u'hit', 1), (u'action_run', 3), (u'out_port', 8), (u'out_port', 8), (u'mac_addr', 48), (u'task', 16), (u'table_id', 16)]
|
||||
action_name = TopPipe.realmain.set_egress_port
|
||||
field_vals = [1, '16', '0', '0', '0', '0']
|
||||
CAM_Init_ValidateContext() - done
|
||||
WROTE 0x44020250 = 0xa00002a
|
||||
WROTE 0x44020280 = 0x0000
|
||||
WROTE 0x44020284 = 0x0000
|
||||
WROTE 0x44020288 = 0x10000000
|
||||
WROTE 0x4402028c = 0x0001
|
||||
READ 0x44020244 = 0x0001
|
||||
WROTE 0x44020240 = 0x0001
|
||||
READ 0x44020244 = 0x0001
|
||||
READ 0x44020244 = 0x0001
|
||||
success
|
||||
>>
|
||||
|
||||
>>> int(ipaddress.IPv4Address(u"10.0.0.4"))
|
||||
167772164
|
||||
>> table_cam_add_entry realmain_v4_networks_0 realmain.set_egress_port 167772164 => 16 0 0 0 0
|
||||
fields = [(u'hit', 1), (u'action_run', 3), (u'out_port', 8), (u'out_port', 8), (u'mac_addr', 48), (u'task', 16), (u'table_id', 16)]
|
||||
action_name = TopPipe.realmain.set_egress_port
|
||||
field_vals = [1, '16', '0', '0', '0', '0']
|
||||
CAM_Init_ValidateContext() - done
|
||||
WROTE 0x44020250 = 0xa000004
|
||||
WROTE 0x44020280 = 0x0000
|
||||
WROTE 0x44020284 = 0x0000
|
||||
WROTE 0x44020288 = 0x10000000
|
||||
WROTE 0x4402028c = 0x0001
|
||||
READ 0x44020244 = 0x0001
|
||||
WROTE 0x44020240 = 0x0001
|
||||
READ 0x44020244 = 0x0001
|
||||
READ 0x44020244 = 0x0001
|
||||
success
|
||||
>>
|
||||
|
||||
|
||||
#+END_CENTER
|
||||
*** 2019-07-31: reading about \verb vs. \texttt
|
||||
- probably want \verb, but cannot use in \newcommand
|
||||
** The NetPFGA saga
|
||||
Problems encountered:
|
||||
- The logfile for a compile run is 10k+ lines
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue