Changes between Version 52 and Version 53 of Internal/OpenFlow/HostSetup


Ignore:
Timestamp:
Nov 22, 2011, 7:25:45 PM (12 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/HostSetup

    v52 v53  
    150150
    151151== III. NetFPGA Tunneling !OpenFlow switch ==
    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:
     152This 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
     158Setup 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{{{
     162init_MUTEX(&card->state_lock);
     163}}}
     164 to
     165{{{
     166sema_init(&card->state_lock, 1);
     167}}}
     168This 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). 
    153169
    154170 * When moving header and bitfiles into the !OpenFlow directory, rename and move them to match start script conventions. In /opt/openflow/hw-lib/nf2:
    155171{{{
    156172mkdir sw
    157 cp reg_defines_tunneling_openflow_icmp_arp.h sw/reg_defines_tunneling_openflow_switch.h
    158 cp tunneling_openflow_icmp_arp.bit sw/tunneling_openflow_switch.bit
     173cp /opt/netfpga/projects/tunneling_openflow_icmp_arp/lib/C/reg_defines_tunneling_openflow_icmp_arp.h sw/reg_defines_tunneling_openflow_switch.h
     174cp /opt/netfpga/bitfiles/tunneling_openflow_icmp_arp.bit sw/tunneling_openflow_switch.bit
    159175}}}
    160176