[ovs-git] [openvswitch/ovs] 5f17de: netdev-dpdk: Fix thread_is_pmd() symbol conflict.
GitHub
noreply at github.com
Tue Jan 12 20:53:46 UTC 2016
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 5f17de6851e7fddf6f4012f4c5e8b52e46037895
https://github.com/openvswitch/ovs/commit/5f17de6851e7fddf6f4012f4c5e8b52e46037895
Author: Joe Stringer <joe at ovn.org>
Date: 2016-01-12 (Tue, 12 Jan 2016)
Changed paths:
M lib/netdev-dpdk.c
Log Message:
-----------
netdev-dpdk: Fix thread_is_pmd() symbol conflict.
DPDK build was broken after commit 2f8932e8403a ("poll: Suppress logging
for pmd threads.") due to the following error:
lib/netdev-dpdk.c:245:13: error: static declaration of ‘thread_is_pmd’
follows non-static declaration
lib/ovs-thread.h:526:6: note: previous declaration of ‘thread_is_pmd’
was here
The version used in this file operates in the fastpath, so it cannot
switch to using the newly introduced version; the new version lives
outside of the dpdk portions of OVS so its implementation cannot be
shared with this function. Rename it to resolve the conflict.
Fixes: 2f8932e8403a ("poll: Suppress logging for pmd threads.")
Suggested-by: Flavio Leitner <fbl at sysclose.org>
Signed-off-by: Joe Stringer <joe at ovn.org>
Acked-by: Flavio Leitner <fbl at sysclose.org>
More information about the git
mailing list