mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
lib: Expose struct ovs_list definition in <openvswitch/list.h>
Expose the struct ovs_list definition in <openvswitch/list.h>. Keep the list access API private for now. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -135,10 +135,10 @@ static struct ovs_mutex dpdk_mutex = OVS_MUTEX_INITIALIZER;
|
||||
|
||||
/* Contains all 'struct dpdk_dev's. */
|
||||
static struct ovs_list dpdk_list OVS_GUARDED_BY(dpdk_mutex)
|
||||
= LIST_INITIALIZER(&dpdk_list);
|
||||
= OVS_LIST_INITIALIZER(&dpdk_list);
|
||||
|
||||
static struct ovs_list dpdk_mp_list OVS_GUARDED_BY(dpdk_mutex)
|
||||
= LIST_INITIALIZER(&dpdk_mp_list);
|
||||
= OVS_LIST_INITIALIZER(&dpdk_mp_list);
|
||||
|
||||
/* This mutex must be used by non pmd threads when allocating or freeing
|
||||
* mbufs through mempools. Since dpdk_queue_pkts() and dpdk_queue_flush() may
|
||||
@@ -168,7 +168,7 @@ struct dpdk_tx_queue {
|
||||
*/
|
||||
|
||||
static struct ovs_list dpdk_ring_list OVS_GUARDED_BY(dpdk_mutex)
|
||||
= LIST_INITIALIZER(&dpdk_ring_list);
|
||||
= OVS_LIST_INITIALIZER(&dpdk_ring_list);
|
||||
|
||||
struct dpdk_ring {
|
||||
/* For the client rings */
|
||||
|
Reference in New Issue
Block a user