44 Commits
Author SHA1 Message Date
Mikio Hara 7d1591aec9 Add debian new kernel module build style support
Please run configure as
	./configure --with-l26=/lib/modules/`uname -r`
instead of
	./configure --with-l26=/lib/modules/`uname -r`/build
2009-10-21 11:35:38 -07:00
Glen Gibb add3e639a9 Replace NXFER_* with OFPRR_* constants 2009-10-14 15:56:36 -07:00
Glen Gibb d1957f2054 s/nx_flow_end_reason/ofp_flow_removed_reason/g
Replaced references to custom Nicira flow end reason and replaced with
OpenFlow flow removed reason.
2009-10-14 15:56:36 -07:00
tyabe db2c99e8e0 Update README on hwtable_nf2 2009-09-04 10:42:17 -07:00
Mikio Hara 7b0c7e50c7 Cosmetic changes 2009-09-04 09:58:01 -07:00
Mikio Hara 83fa636860 Start port enumeration: Change OpenFlow enabled NetFPGA start port
enumeration at 1 (by tyabe@stanford.edu)
2009-09-01 15:54:01 -07:00
Mikio Hara d3acb95186 Flow mod behavior: Support CHECK_OVERLAP feature on NetFPGA
implementaion (by tyabe@stanford.edu)
2009-09-01 15:49:47 -07:00
tyabe 37d17d3012 NetFPGA project "register_system_2.0" adaptation 2009-06-29 07:28:44 -07:00
tyabe 73f268ab10 Vlan pcp match: Implemented on hwtable_nf2 (NetFPGA) 2009-06-29 07:28:26 -07:00
tyabe@stanford.edu 5cebe4612a Flow expiry: Expire message when flow is deleted: NetFPGA support 2009-06-29 07:27:05 -07:00
Glen Gibb b2b952792e Flow expiry: Replace refernces to OFPC_SEND_FLOW_EXP refs
Replaced references to OFPC_SEND_FLOW_EXP in dpinst with flow->send_flow_exp
2009-06-29 07:05:27 -07:00
Mikio Hara 4b9c74b4bc Improve NetFPGA enabled OpenFlow switch
Fix BUG#45: Add watchdog timer with automatic table flush to prevent
unpredictable packet forwarding in case of datapth communication lost.
Fix BUG#46: Correct IP packet lenght handling.
2009-06-29 05:07:08 -07:00
Mikio Hara 5ff6ec248d Change code base to Nicira's master branch 2009-06-29 05:03:42 -07:00
Mikio Hara 695db2964e Change code base to Nicira's for-nox/0.4 branch
Remove monolithic OpenFlow switch.
Add userspace datapath.
Fix BUG#13: Revise check wildcards for in_port != out_port output
validation.
Fix BUG#30: Made use of get_jiffies_64 instead of jiffies.
Fix BUG#31: Fix NetFPGA crash in case of test_delete test harness run.
Fix BUG#32: Add stack depth limitation to avoid inifinite loop in
log_backtrace.
Fix BUG#33: Improve NetFPGA kernel extension and NetFPGA image to
support MAC address rewrite features (two actions) on NetFPGA enabled
OpenFlow switch.
Fix BUG#34: Add NetFPGA kernel extension source codes to create
distribution package with NetFPGA correctly.
Fix BUG#38: Improve regression test for FLOW_MOD ACTION SET_DL_SRC and
SET_DL_DST.
Fix BUG#39: Correct misunderstanding of byte order ops for OFPAT_XXX.
2009-06-29 05:02:16 -07:00
Tatsuya Yabe c4ea4fc18c Add description (supported platform) 2009-01-30 14:44:33 -08:00
Tatsuya Yabe caeaa2cb51 Add change log 2009-01-27 11:54:40 -08:00
Tatsuya Yabe 591823ec3d Regress test script:
Modify ICMP handling test function in order to use a sub function
 which has been changed in another branch.
2009-01-26 17:10:01 -08:00
Mikio Hara 15b2e52ec8 Stylistic changes. 2009-01-26 11:04:02 -08:00
Tatsuya Yabe a28d122c90 Add regression tests for ICMP handling feature
Byte swap for ICMP entry field on FPGA bitfile
2009-01-11 23:26:55 -08:00
Tatsuya Yabe 8eef87b4d4 ICMP handling support (bit file)
Delete debug comments
Add comments(restrictions) on README
2008-12-26 21:39:38 -08:00
Tatsuya Yabe b2d673b5fb Bug fix for modify-action 2008-12-21 23:48:45 -08:00
Tatsuya Yabe 34ddf24713 Fix regression test error when src port is wildcard and action is ALL_PORT 2008-12-20 19:24:42 -08:00
Tatsuya Yabe 73d17e0256 Correct the behavior when sourceport is wildcarded and action is "ALL" 2008-12-17 15:57:02 -08:00
Tatsuya Yabe bbd3094b78 debug mode off 2008-12-14 22:59:21 -08:00
Tatsuya Yabe dfe24ef184 Pass regression tests 2008-12-14 22:57:11 -08:00
Tatsuya Yabe 689ddc88a9 Changes for:
Lookup count
 Modify action
 Output port condition when flow is being deleted
2008-12-08 23:12:38 -08:00
Tatsuya Yabe 479995355f Changes for Output-to-the-Inport 2008-12-07 22:20:06 -08:00
Tatsuya Yabe 8e9fb17410 Changes for Hard Timeout 2008-12-07 21:51:05 -08:00
Tatsuya Yabe 50ef0f9be2 Changes for IP subnet mask support 2008-12-07 21:08:06 -08:00
David Erickson 63754915e6 Merge branch 'experimental' of yuba.stanford.edu:/usr/local/git/openflow into experimental 2008-10-17 14:31:12 -07:00
David Erickson e25332ea74 Updated documentation to reference the Hardware Tables, along with NetFGPA
support.
2008-10-17 14:31:02 -07:00
Brandon Heller a2ddddb5e2 missing backtick to configure line in readme 2008-10-16 14:05:16 -07:00
David Erickson ef3a833dc5 Fixed a number of warnings being caused by the way we were doing debugging
output. Also fixed a few other misc warnings.
2008-10-14 15:44:45 -07:00
David Erickson 924bd767fd Removed hard-coded indices for the static wildcard entries, they now depend on
the wildcard table size.
2008-10-14 13:46:35 -07:00
David Erickson ed02b549b6 Added a README containing documentation on the use of the NetFPGA hardware
table.
2008-10-13 12:06:48 -07:00
David Erickson cdaee8d15b Added further debug printouts.
Flow deletion is now triggered before every insert to clear out entries in the
hardware before re-inserting them.
2008-10-13 12:03:08 -07:00
David Erickson 3a9ccbbe62 Fixed a problem where the private flow members were not being freed when
removing duplicate flows during insertion.
2008-10-10 17:43:43 -07:00
David Erickson 4f95f42fc7 Added an operational NetFPGA bitfile for the release. 2008-10-09 18:38:52 -07:00
David Erickson 9337a9dcb1 Modified the rest of the printk's to use the LOG construct. Removed some unused code. Modified the getPacketCount and getByteCount to iterate the flows that have multiple entries in the NetFPGA (Wildcards) and total the individual entry values before returning. 2008-10-06 13:55:07 -07:00
David Erickson 185570bcad Moved from using reset on read register for wildcard packet/byte count counters to manual reset counters. 2008-10-02 17:12:33 -07:00
David Erickson 1a804f1be1 Created a logging system for the nf2 hardware table. Migrated debug code to its
own methods and began porting all existing debug code to the new logging
system.
2008-10-01 16:03:33 -07:00
David Erickson 6dcb930268 Removed unnecessary locking, fixed flow expiration and memory freeing bugs.
The locking discipline has recently changed in OpenFlow which now synchronizes on control messages, such that modifications to the table can only occur one at a time. Further, datapath packets arrive already wrapped in a rcu_read_lock block, thus the only locking that needs to be done in the hardware table is getting the mutex during a timeout operation, because it is not called from the control path locking section.

A bug was fixed that was causing flows to timeout before they should, thanks to Sivasankar Radhakrishnan for this code. Also a bug was fixed that was causing the flow's private data structure memory to be freed rather than returned to the free list.
2008-09-30 10:34:35 -07:00
David Erickson f4fed74d12 Updated header file includes to include relative pathname.
-All header includes now contain the hwtable_nf2 prefix.
2008-06-26 14:26:50 -07:00
David Erickson 54ffb5a7f6 Changed the naming of the module to correspond with the build system name change 2008-06-21 18:39:08 -07:00