[dpdk-dev] [PATCH v2] vhost: Fix linkage of vhost PMD

Yuanhan Liu yuanhan.liu at linux.intel.com
Thu Apr 28 00:21:23 CEST 2016


On Tue, Apr 26, 2016 at 02:39:29PM +0900, Tetsuya Mukawa wrote:
> Currently, vhost PMD doesn't have linkage for librte_vhost, even though
> it depends on librte_vhost APIs. This causes a linkage error if below
> conditions are fulfilled.
> 
>  - DPDK libraries are compiled as shared libraries.
>  - DPDK application doesn't link librte_vhost.
>  - Above application tries to link vhost PMD using '-d' DPDK option.
> 
> The patch adds linkage for librte_vhost to vhost PMD not to cause an
> above error.
> 
> Signed-off-by: Tetsuya Mukawa <mukawa at igel.co.jp>
> Acked-by: Panu Matilainen <pmatilai at redhat.com>

Applied to dpdk-next-virtio.

Thanks.

	--yliu


More information about the dev mailing list