152 | | This is the L2 tunnel version of the !OpenFlow bitfiles for the NetFPGA. Setup is described fairly well in the [http://netfpga.org/foswiki/bin/view/NetFPGA/OneGig/TunnelingOpenFlowNetFPGA100ICMP NetFPGA documentation], although a few steps necessary to work out kinks from their transitions between versions are not mentioned: |
| 152 | This is the L2 tunnel version of the !OpenFlow bitfiles for the NetFPGA. This section is based on notes taken for the following setup: |
| 153 | |
| 154 | * Ubuntu 11.04 |
| 155 | * netfpga_tunneling_openflow_icmp_arp_1_0_0.tar.gz |
| 156 | * netfpga_full_3_0_0.tar.gz |
| 157 | |
| 158 | Setup is described fairly well in the [http://netfpga.org/foswiki/bin/view/NetFPGA/OneGig/TunnelingOpenFlowNetFPGA100ICMP NetFPGA documentation], although a few steps necessary to work out kinks from their transitions between versions are not mentioned. |
| 159 | |
| 160 | * In /opt/netfpga/lib/C/kernel/nf2main.c, line 190 should be changed from |
| 161 | {{{ |
| 162 | init_MUTEX(&card->state_lock); |
| 163 | }}} |
| 164 | to |
| 165 | {{{ |
| 166 | sema_init(&card->state_lock, 1); |
| 167 | }}} |
| 168 | This reflects changes made to newer kernels (2.6.37 and above) like the one used in 11.04. Note, this is already taken care of in newer NetFPGA code (>3.0.0). |