Re: [ovs-dev] [PATCHv4 12/12] upcall: Distinguish duplicate upcalls from conflicts.

2014-09-08 Thread Joe Stringer
On 9 September 2014 02:10, Jarno Rajahalme wrote: > > > On Sep 8, 2014, at 3:23 AM, Joe Stringer wrote: > > > > It's highly unlikely that two flows will hash to the same UID. However, > > we could handle multiple upcalls from the same flow. If we hash the flow > > with an additional hash functio

Re: [ovs-dev] [PATCHv4 12/12] upcall: Distinguish duplicate upcalls from conflicts.

2014-09-08 Thread Jarno Rajahalme
> On Sep 8, 2014, at 3:23 AM, Joe Stringer wrote: > > It's highly unlikely that two flows will hash to the same UID. However, > we could handle multiple upcalls from the same flow. If we hash the flow > with an additional hash function and the hashes are the same, then the > upcalls are most lik

[ovs-dev] [PATCHv4 12/12] upcall: Distinguish duplicate upcalls from conflicts.

2014-09-08 Thread Joe Stringer
It's highly unlikely that two flows will hash to the same UID. However, we could handle multiple upcalls from the same flow. If we hash the flow with an additional hash function and the hashes are the same, then the upcalls are most likely from the same flow (assuming that the hash collisions are d