Re: [vpp-dev] Latest master, dpdk and mlx5 failing

2020-10-01 Thread Matthew Smith via lists.fd.io
Hi Chris,

I did this in my local build:

diff --git a/build/external/packages/dpdk.mk b/build/external/packages/
dpdk.mk
index 49761cd56..a30ffd2ac 100644
--- a/build/external/packages/dpdk.mk
+++ b/build/external/packages/dpdk.mk
@@ -139,6 +139,7 @@ DPDK_MESON_ARGS = \
-Dtests=false \
"-Ddisable_drivers=$(DPDK_DRIVERS_DISABLED)" \
"-Ddisable_libs=$(DPDK_LIBS_DISABLED)" \
+   -Dibverbs_link=dlopen \
-Db_pie=true \
-Dmachine=$(DPDK_MACHINE) \
--buildtype=$(DPDK_BUILD_TYPE)

If I try to submit it upstream, I would probably do something nicer using a
DPDK_ environment variable, but for the moment this got me past
that error. I have not actually tested with an mlx5 device yet, so I don't
know if something additional will be required in order to forward packets
via an mlx5 NIC, but it did fix the error you pasted and
allow dpdk_plugin.so to be loaded.

-Matt


On Thu, Oct 1, 2020 at 2:10 PM Christian Hopps  wrote:

> I've rebased my local branch on the latest master and dpdk is failing to
> load now b/c
>
> 2020/10/01 18:31:54:514 errplugin/load
> /home/chopps/w/vpp/build-root/install-vpp-native/vpp/lib/vpp_plugins/dpdk_plugin.so:
> undefined symbol: ibv_fork_init
>
> I noticed that the dpdk build system has been changed is there something I
> need to do to get it to link properly with the required libraries now?
>
> I did change "n" in
>
>   DPDK_MLX5_PMD?= n
>   DPDK_MLX5_COMMON_PMD ?= n
>
> to "y" to try and get MLX5 PMD to build.
>
> I also added
>
>   vpp_uses_dpdk_mlx5_pmd = yes
>
> to build-data/platforms/vpp.mk
>
> I also tried adding:
>
>   vpp_uses_dpdk_ibverbs_link_dlopen = yes
>
> which didn't fix the problem.
>
> Any suggestions on how to fix this?
>
> Thanks,
> Chris.
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17627): https://lists.fd.io/g/vpp-dev/message/17627
Mute This Topic: https://lists.fd.io/mt/77247865/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] Latest master, dpdk and mlx5 failing

2020-10-01 Thread Christian Hopps
I've rebased my local branch on the latest master and dpdk is failing to load 
now b/c

2020/10/01 18:31:54:514 errplugin/load
/home/chopps/w/vpp/build-root/install-vpp-native/vpp/lib/vpp_plugins/dpdk_plugin.so:
 undefined symbol: ibv_fork_init

I noticed that the dpdk build system has been changed is there something I need 
to do to get it to link properly with the required libraries now?

I did change "n" in

  DPDK_MLX5_PMD?= n
  DPDK_MLX5_COMMON_PMD ?= n

to "y" to try and get MLX5 PMD to build.

I also added

  vpp_uses_dpdk_mlx5_pmd = yes

to build-data/platforms/vpp.mk

I also tried adding:

  vpp_uses_dpdk_ibverbs_link_dlopen = yes

which didn't fix the problem.

Any suggestions on how to fix this?

Thanks,
Chris.


signature.asc
Description: Message signed with OpenPGP

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17626): https://lists.fd.io/g/vpp-dev/message/17626
Mute This Topic: https://lists.fd.io/mt/77247865/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] VPP release 20.09 release is available on packagecloud.io/fdio/release !

2020-10-01 Thread Dave Wallace
Congratulations to the VPP & CSIT communities in completing another 
on-time release with high quality and high performance!


Thank you Andrew, for continuing to raise the bar in automating the 
release process and improving the release management cycle.


Excellent execution by all, once again.
-daw-


On 10/1/2020 11:09 AM, Andrew Yourtchenko wrote:

Hi all,

The VPP release 20.09 is available from packagecloud.io repository.

There are x86_64 packages for Ubuntu 18.04, Ubuntu 20.04, Centos 7; as
well as for aarch64 Ubuntu 18.04. There are some other packaging
options in the works, but due to the resource constraints they will
happen a bit later. Branch stable/2009 is open.

I have verified the images install successfully using
https://github.com/ayourtch/vpp-relops/tree/master/docker-tests.

You can view the Release Notes at
https://docs.fd.io/vpp/20.09/de/d1e/release_notes_2009.html

I would like to thank Dave Wallace, Vanessa Valderrama, Ed Warnicke,
Ole Troan and Damjan Marion for their help with various aspects during
the RC milestones and the release.

Fantastic work everyone, thanks a lot for all the effort that you put
in into the release!

--a /* your friendly 20.09 release manager */






-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17625): https://lists.fd.io/g/vpp-dev/message/17625
Mute This Topic: https://lists.fd.io/mt/77242439/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] VPP release 20.09 release is available on packagecloud.io/fdio/release !

2020-10-01 Thread Andrew Yourtchenko
Hi all,

The VPP release 20.09 is available from packagecloud.io repository.

There are x86_64 packages for Ubuntu 18.04, Ubuntu 20.04, Centos 7; as
well as for aarch64 Ubuntu 18.04. There are some other packaging
options in the works, but due to the resource constraints they will
happen a bit later. Branch stable/2009 is open.

I have verified the images install successfully using
https://github.com/ayourtch/vpp-relops/tree/master/docker-tests.

You can view the Release Notes at
https://docs.fd.io/vpp/20.09/de/d1e/release_notes_2009.html

I would like to thank Dave Wallace, Vanessa Valderrama, Ed Warnicke,
Ole Troan and Damjan Marion for their help with various aspects during
the RC milestones and the release.

Fantastic work everyone, thanks a lot for all the effort that you put
in into the release!

--a /* your friendly 20.09 release manager */

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17624): https://lists.fd.io/g/vpp-dev/message/17624
Mute This Topic: https://lists.fd.io/mt/77242439/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-