[dpdk-dev] [PATCH] virtio: fix crash if VIRTIO_NET_F_CTRL_VQ is not negotiated

2014-09-11 Thread damar...@cisco.com
From: Damjan Marion If VIRTIO_NET_F_CTRL_VQ is not negotiated hw->cvq will be NULL Signed-off-by: Damjan Marion --- lib/librte_pmd_virtio/virtio_rxtx.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/librte_pmd_virtio/virtio_rxtx.c b/lib/librte_pmd_virtio/virtio_

[dpdk-dev] [PATCH] spinlock: Move constructor function out of header file

2016-07-14 Thread damar...@cisco.com
From: Damjan Marion Having constructor function in the header gile is generaly bad idea, as it will eventually be implanted to 3rd party library. In this case it is causing linking issues with 3rd party libraries when application is not linked to dpdk, due to missing symbol called by constructor