Re: [ovs-dev] [rule evict v2] ofproto-dpif: Lock rules to prevent eviction.

2013-08-11 Thread YAMAMOTO Takashi
> This patch uses a read-write lock to prevent rules from being evicted > while they're used by child threads. It also changes the prototypes > of the various rule lookup functions so that the thread safety > analysis can be used to ensure that the locking is handled properly. destroying a rwlock

[ovs-dev] [netdev]Internal interface 'br0' can't be created

2013-08-11 Thread ZhengLingyun
Hi, all I'm using a userspace OVS. I find that there is PROBABILITY the 'br0' opened as type 'internal' before it is opened as type 'tap'. This will cause the 'br0' inserted into 'netdev_shash' as internal class. When it is created as type 'tap' later, error occurs. 'br0' then can't be created in

Re: [ovs-dev] [rule evict v2] ofproto-dpif: Lock rules to prevent eviction.

2013-08-11 Thread Ethan Jackson
> I'm a little worried about deadlocks. There are lots of corner cases > here (eviction, in-band control, fail-open) and I'm concerned that we > don't hit those much in testing. Agreed. Not much to do but jump in the deep end. Thanks for the reviews. Ethan X-CudaMail-Whitelist-To: dev@openvswi

Re: [ovs-dev] [PATCH] netdev: Clean up on "construct" error in netdev_open().

2013-08-11 Thread Ben Pfaff
On Sun, Aug 11, 2013 at 09:25:59AM -0700, Alex Wang wrote: > Thanks for fixing this, I didn't spot it during review, > > looks good to me, Thanks Alex, I applied this to master. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/lis

Re: [ovs-dev] [rule evict v2] ofproto-dpif: Lock rules to prevent eviction.

2013-08-11 Thread Ben Pfaff
On Fri, Aug 09, 2013 at 02:05:59PM -0700, Ethan Jackson wrote: > This patch uses a read-write lock to prevent rules from being evicted > while they're used by child threads. It also changes the prototypes > of the various rule lookup functions so that the thread safety > analysis can be used to en

Re: [ovs-dev] [PATCH] netdev: Clean up on "construct" error in netdev_open().

2013-08-11 Thread Alex Wang
Thanks for fixing this, I didn't spot it during review, looks good to me, ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] TR :Réf : OUTLOOK CONFIRMATION ‏‏ ‏ ‏ 2013‏‏‏‏‏‏

2013-08-11 Thread fb882...@skynet.be
Service Windows Live Hotmail Alertes Utilisation optimale de la messagerie électronique Cher (e) membre Du nouveau sur nos programmes. Dans le cadre de votre utilisation de la messagerie,Hotmail et Msninnove avec des technologies, des outils et des logiciels s'appliquant à une meilleu

Re: [ovs-dev] [PATCH v4 1/4] lib: Add CRC32C Implementation

2013-08-11 Thread Ben Pfaff
On Sun, Aug 11, 2013 at 08:41:41PM +0900, Joe Stringer wrote: > On Sat, Aug 10, 2013 at 5:09 AM, Ben Pfaff wrote: > > > On Wed, Jul 31, 2013 at 09:31:55AM +0900, Joe Stringer wrote: > > > +ovs_be32 > > > +crc32c(const uint8_t *data, size_t size) > > > +{ > > > +uint32_t crc = 0xL; > >

Re: [ovs-dev] [PATCH v4 1/4] lib: Add CRC32C Implementation

2013-08-11 Thread Joe Stringer
On Sat, Aug 10, 2013 at 5:09 AM, Ben Pfaff wrote: > On Wed, Jul 31, 2013 at 09:31:55AM +0900, Joe Stringer wrote: > > +ovs_be32 > > +crc32c(const uint8_t *data, size_t size) > > +{ > > +uint32_t crc = 0xL; > > + > > +while (size--) { > > +crc = crc32Table[(crc ^ *data++) &

Re: [ovs-dev] [PATCH v4 2/4] datapath: Add SCTP support

2013-08-11 Thread Joe Stringer
Sure, no problem. On Sat, Aug 10, 2013 at 6:06 AM, Ben Pfaff wrote: > On Fri, Aug 09, 2013 at 02:04:50PM -0700, Jesse Gross wrote: > > On Fri, Aug 9, 2013 at 2:01 PM, Ben Pfaff wrote: > > > On Fri, Aug 09, 2013 at 01:45:19PM -0700, Jesse Gross wrote: > > >> On Fri, Aug 9, 2013 at 1:17 PM, Ben