netdev-dpdk: assume dpdkr peer can be multi-producer/consumer
authorMauricio Vasquez B <mauricio.vasquezbernal@studenti.polito.it>
Mon, 16 Nov 2015 22:24:47 +0000 (23:24 +0100)
committerDaniele Di Proietto <diproiettod@vmware.com>
Thu, 19 Nov 2015 21:22:38 +0000 (13:22 -0800)
commit8f0a76c9a187206e7a98abc669235721c87a06cf
tree0e99a10697a42446a2181885989d60137dc1e854
parente9d6808ca6bfeb6b8d1ca30113c186098e4d2d56
netdev-dpdk: assume dpdkr peer can be multi-producer/consumer

Although netdev does explicit locking, it is only valid from the ovs
perspective, then only the ring ends used by ovs should be declared as
single producer/consumer.
The other ends that are used by the application should be declared as
multiple producer/consumer that is the most general case.

Signed-off-by: Mauricio Vasquez B <mauricio.vasquezbernal@studenti.polito.it>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
lib/netdev-dpdk.c