floodlight / ivs

Indigo Virtual Switch
Other
28 stars 32 forks source link

OVSDriver: ignore duplicate megaflow requests #307

Closed rlane closed 9 years ago

rlane commented 9 years ago

Reviewer: @harshsin

An upcall thread might request multiple overlapping kflows. This is particularly true for inband, where the kflow mask only includes in_port. Before megaflows, we handled this case with a hash table keyed on the kflow key. This isn't sufficient anymore because different keys can match the same megaflow. The fix is to switch from a hashtable to the TCAM datastructure we use in the forwarding pipeline.

harshsin commented 9 years ago

ACK

bsn-abat commented 9 years ago

Refer to this link for build results (access rights to CI server needed): https://jenkins.bigswitch.com//job/ivs_pull_req/17/ Test PASSed.