[ovs-dev] [PATCH] dpdk: add support for v2.1.0

gowrishankar gowrishankar.m at linux.vnet.ibm.com
Thu Aug 27 18:39:55 UTC 2015


On Wednesday 26 August 2015 06:14 PM, Timo Puha wrote:
> Update relevant artifacts to add support for DPDK v2.1.0
>   - INSTALL.DPDK.md
>   - acinclude.m4: Change DPDK library name
>   - netdev-dpdk: Add 16 bytes extra padding to mbuf size to adapt to DPDK bug
>     fix that changes the treatment of the requested mbuf size
>   - build.sh: Change DPDK version number
>
> Note that this breaks compatibility with DPDK v2.0.0 although only
> for the library name change.
>
> Note that throughput for vhost ports with mergeable buffers is reduced
> about 10% due to a necessary bug fix in DPDK vhost code.
>
> Signed-off-by: Mark Kavanagh <mark.b.kavanagh at intel.com>
> Signed-off-by: Michal Weglicki <michalx.weglicki at intel.com>
> Signed-off-by: Timo Puha <timox.puha at intel.com>
> ---
<cut>
> diff --git a/acinclude.m4 b/acinclude.m4
> index 45cfaf6..90bb708 100644
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -172,7 +172,7 @@ AC_DEFUN([OVS_CHECK_DPDK], [
>
>       DPDK_INCLUDE=$RTE_SDK/include
>       DPDK_LIB_DIR=$RTE_SDK/lib
> -    DPDK_LIB="-lintel_dpdk"
> +    DPDK_LIB="-ldpdk"
>       DPDK_EXTRA_LIB=""

To have dpdk built with CONFIG_RTE_LIBRTE_VHOST_NUMA, we would need 
-lnuma in above extralib. It would be helpful if we document this
as well (INSTALL.DPDK).

Regards,
Gowrishankar




More information about the dev mailing list