[ovs-dev] [PATCHv2 2/3] dpif-netdev: Always serialise recirculation in upcall key.

Ben Pfaff blp at nicira.com
Tue May 13 01:02:17 UTC 2014


On Tue, May 13, 2014 at 11:20:31AM +1200, Joe Stringer wrote:
> The userspace and kernel datapaths previously differed on their
> treatment of the recirc_id and dp_hash fields when sending upcalls.
> While the kernel datapath would always serialise these fields, the
> userspace would not. When using the userspace datapath, this would cause
> a mismatch between the odp flow key in an upcall compared to the one
> that is serialised upon flow_dump.
> 
> This patch ensures that dp_hash is always matched for datapaths that
> support it, and brings the userspace datapath behaviour back in line
> with the kernel datapath.
> 
> Signed-off-by: Joe Stringer <joestringer at nicira.com>

Acked-by: Ben Pfaff <blp at nicira.com>



More information about the dev mailing list