Re: [ovs-dev] [PATCH] sFlow LAG and Tunnel export

2014-03-09 Thread Neil McKee
The patch below contains all the "spade work" for the new sFlow extensions, without making any actual changes to the export. I am hoping this can be checked in so that subsequent patches to add the LAG, Tunnel and OpenFlow-related structures to the export can be small and targeted. I hope that'

Re: [ovs-dev] [urcu 0/8] implement userspace RCU and add a few simple users

2014-03-09 Thread Andy Zhou
Using GCC version 4.6.4, I got the following compilation errors: lib/dpif-netdev.c: In function 'dp_netdev_flow_add': lib/dpif-netdev.c:1192:5: error: passing argument 2 of 'locked_uint64_store' makes integer from pointer without a cast [-Werror] lib/ovs-atomic-gcc4+.h:129:6: note: expected 'uint6

[ovs-dev] [PATCH] stp: Fix bpdu tx problem in listening state

2014-03-09 Thread kmindg
The restriction only allows to send bpdu in forwarding state in compose_output_action__. But a port could send bpdu in listening and learning state according to comments in lib/stp.h(State of an STP port). Signed-off-by: kmindg --- lib/stp.c| 9 + lib/stp.h

[ovs-dev] [PATCH] ofproto: Update rule's priority in eviction group.

2014-03-09 Thread kmindg
We do call heap_rebuild in ofproto_run, but we do not update rule's priority with latest hard_timeout and idle_timeout before heap_rebuild. This patch ensures that rule's priority has been updated before heap_rebuild, and adds two test cases to check eviction with modified hard_timeout and idle_ti