]> git.proxmox.com Git - mirror_ovs.git/commit
netdev-dpdk: Introduce dpdk_mp_mutex.
authorIlya Maximets <i.maximets@samsung.com>
Fri, 23 Sep 2016 13:17:58 +0000 (16:17 +0300)
committerDaniele Di Proietto <diproiettod@vmware.com>
Thu, 29 Sep 2016 18:04:11 +0000 (11:04 -0700)
commitc2adb102e2a80e0f45df58201612dd20ba9e2e5c
tree0f75e2e2e6ce4ae6b88dae476445cb829b7da665
parentc90daaca31ca1a3618eee9fe812927bba6e9f673
netdev-dpdk: Introduce dpdk_mp_mutex.

'dpdk_mutex' protects two independent things: list of dpdk devices
and list of memory pools. Let's spit it in two to avoid global blocking
inside 'netdev_dpdk.*_reconfigure()' as possible.

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
lib/netdev-dpdk.c