[ovs-git] [openvswitch/ovs] 14d208: travis: Switch to dpdk master branch.

istokes noreply at github.com
Mon Nov 16 16:30:04 UTC 2020


  Branch: refs/heads/dpdk-latest
  Home:   https://github.com/openvswitch/ovs
  Commit: 14d208c84232e5edd556a9b1e84eb4a51b9377f7
      https://github.com/openvswitch/ovs/commit/14d208c84232e5edd556a9b1e84eb4a51b9377f7
  Author: David Marchand <david.marchand at redhat.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis: Switch to dpdk master branch.

Make this branch point to current dpdk master branch so that we can
track API breakage.

Note: this should not be merged to master, intended for dpdk-latest
branch only.

Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Ilya Maximets <i.maximets at ovn.org>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: c181b7b915d64b8ff93a48e24a27a391051a26ad
      https://github.com/openvswitch/ovs/commit/c181b7b915d64b8ff93a48e24a27a391051a26ad
  Author: David Marchand <david.marchand at redhat.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M .travis/linux-build.sh

  Log Message:
  -----------
  travis: Remove explicit DPDK kmods configuration.

DPDK disabled kmods compilation in 20.02 [1].
Nothing left to be done on OVS side.

1: https://git.dpdk.org/dpdk/commit/?id=91a861e54164

Signed-off-by: David Marchand <david.marchand at redhat.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: 7ea74441299dc49fe0d6f6c272ecbf30042ba706
      https://github.com/openvswitch/ovs/commit/7ea74441299dc49fe0d6f6c272ecbf30042ba706
  Author: David Marchand <david.marchand at redhat.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M include/sparse/automake.mk
    A include/sparse/rte_trace_point_provider.h

  Log Message:
  -----------
  sparse: Fix build with 20.05 DPDK tracepoints.

When building against 20.05-rc1 which introduced a tracing framework,
mempool header now triggers an error with sparse.

.../dpdk-dir/build/include/rte_mempool_trace_fp.h:96:1:
 error: undefined identifier '__atomic_load_n'
.../dpdk-dir/build/include/rte_mempool_trace_fp.h:57:1:
 error: undefined identifier '__atomic_load_n'
.../dpdk-dir/build/include/rte_mempool_trace_fp.h:47:1:
 error: undefined identifier '__atomic_load_n'
.../dpdk-dir/build/include/rte_mempool_trace_fp.h:38:1:
 error: undefined identifier '__atomic_load_n'
.../dpdk-dir/build/include/rte_mempool_trace_fp.h:38:1:
 error: not a function <noident>
.../dpdk-dir/build/include/rte_mempool_trace_fp.h:38:1:
 error: undefined identifier '__ATOMIC_ACQUIRE'
.../dpdk-dir/build/include/rte_mempool_trace_fp.h:96:1:
 error: not a function <noident>

Wrap around the gcc atomic builtins used in one of the tracing framework
helper.

Signed-off-by: David Marchand <david.marchand at redhat.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: 94c4712dcb451885bece36d8fb1c96772c9d0667
      https://github.com/openvswitch/ovs/commit/94c4712dcb451885bece36d8fb1c96772c9d0667
  Author: David Marchand <david.marchand at redhat.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Remove experimental API flag.

rfc4115 meter APIs are now part of 20.02 stable ABI so we can remove the
forced ALLOW_EXPERIMENTAL_API define.

Signed-off-by: David Marchand <david.marchand at redhat.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: 8976305ab256b77c0c0967c9f1843ff235524f09
      https://github.com/openvswitch/ovs/commit/8976305ab256b77c0c0967c9f1843ff235524f09
  Author: David Marchand <david.marchand at redhat.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M .travis.yml
    M .travis/linux-build.sh

  Log Message:
  -----------
  travis: Check compilation with DPDK experimental API.

Add Travis jobs to check compilation with DPDK experimental API enabled.
This will help us catch issues for the day we need one of them.

Note: this should not be merged to master, intended for dpdk-latest
branch only.

Signed-off-by: David Marchand <david.marchand at redhat.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: 98e75565480362d2796ea3021f17f1b19a70fba5
      https://github.com/openvswitch/ovs/commit/98e75565480362d2796ea3021f17f1b19a70fba5
  Author: David Marchand <david.marchand at redhat.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M include/sparse/automake.mk
    A include/sparse/rte_trace_point.h
    R include/sparse/rte_trace_point_provider.h

  Log Message:
  -----------
  sparse: Update to DPDK 20.05 trace point header.

A simplication happened in the trace point framework in 20.05-rc2.
Align to the header renaming.

Note: Can this be squashed with the previous fix at the next dpdk-latest
rebase?

Signed-off-by: David Marchand <david.marchand at redhat.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: f80632473bb85b49b083042204233cd9ad491fe3
      https://github.com/openvswitch/ovs/commit/f80632473bb85b49b083042204233cd9ad491fe3
  Author: Sunil Pai G <sunil.pai.g at intel.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis: Switch DPDK branch master to main.

The default branch name in DPDK is changed from master to main.
This patch reflects the same on travis builds for dpdk-latest branch.

Tested-at: https://travis-ci.org/github/Sunil-Pai-G/ovs-copy/builds/723223426
Signed-off-by: Sunil Pai G <sunil.pai.g at intel.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: 3bc6c3ea2455b506f038f478210c86ee8787ee0d
      https://github.com/openvswitch/ovs/commit/3bc6c3ea2455b506f038f478210c86ee8787ee0d
  Author: Sunil Pai G <sunil.pai.g at intel.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M include/sparse/automake.mk
    A include/sparse/rte_mbuf.h

  Log Message:
  -----------
  sparse: Fix build with DPDK 20.08.

Introduction of C11 atomic instructions in rte_mbuf.h causes the build
to fail with Sparse reporting following errors.

error: undefined identifier '__atomic_add_fetch'
error: undefined identifier '__atomic_store_n'

This patch adds the Sparse header for rte_mbuf.h.

Tested-at: https://travis-ci.org/github/Sunil-Pai-G/ovs-copy/builds/724038561
Signed-off-by: Sunil Pai G <sunil.pai.g at intel.com>
Acked-by: David Marchand <david.marchand at redhat.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: 99772b42d109763d6cc58be2481b5f737c2c828d
      https://github.com/openvswitch/ovs/commit/99772b42d109763d6cc58be2481b5f737c2c828d
  Author: Sunil Pai G <sunil.pai.g at intel.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M .travis.yml
    M .travis/linux-build.sh
    M .travis/linux-prepare.sh
    M Documentation/intro/install/afxdp.rst
    M Documentation/intro/install/dpdk.rst
    M Documentation/topics/dpdk/vhost-user.rst
    M acinclude.m4
    M python/automake.mk
    A python/build/pkgcfg.py

  Log Message:
  -----------
  build: Add support for DPDK meson build.

Make based build is deprecated in DPDK. Meson based
build to be used for future DPDK releases.

This updates travis, configure script and documentation
for using DPDK Meson with OVS.

Tested-at: https://travis-ci.org/github/Sunil-Pai-G/ovs-copy/builds/723510063
Signed-off-by: Sunil Pai G <sunil.pai.g at intel.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: 96b960b59cb8f69b89b58eb23ca3bee8a3ddc7da
      https://github.com/openvswitch/ovs/commit/96b960b59cb8f69b89b58eb23ca3bee8a3ddc7da
  Author: Eli Britstein <elibr at nvidia.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Remove usage of RTE_ETH_DEV_CLOSE_REMOVE flag.

Following DPDK commit [1], RTE_ETH_DEV_CLOSE_REMOVE flag is obsolete.
Behavior is equivalent to "always on". Remove the usage of that flag.

[1] 638d40ba9622 ("ethdev: remove old close behaviour")

Signed-off-by: Eli Britstein <elibr at nvidia.com>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: f7c78eab77efdfdd5da232dd555f5bf05f08bb08
      https://github.com/openvswitch/ovs/commit/f7c78eab77efdfdd5da232dd555f5bf05f08bb08
  Author: David Marchand <david.marchand at redhat.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M lib/dpdk.c
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Fix build with 20.11-rc1.

Following changes to use a more sensitive terminology [1], the "master"
lcore is replaced with "main" lcore.
While at it, update a related comment.

1: https://git.dpdk.org/dpdk/commit/?id=cb056611a8ed

Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Kevin Traynor <ktraynor at redhat.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: 3c581c9514d7dd9312b6631668ba90f17ee6dcd8
      https://github.com/openvswitch/ovs/commit/3c581c9514d7dd9312b6631668ba90f17ee6dcd8
  Author: Eli Britstein <elibr at nvidia.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M include/sparse/rte_mbuf.h
    M include/sparse/rte_trace_point.h

  Log Message:
  -----------
  sparse: Fix __ATOMIC_* redefinition errors

In sparse commit [1], __ATOMIC_* defines were introduced, which cause
redefinition errors. Commits [2],[3] introduced builtin __atomic_*
functions that are defined in OVS.
Wrap OVS defines with #ifndef to fix it. We assume using either a sparse
version before all [1],[2],[3], or a version after them.

[1] https://git.kernel.org/pub/scm/devel/sparse/sparse.git/commit/?id=cf8f104749f5
[2] https://git.kernel.org/pub/scm/devel/sparse/sparse.git/commit/?id=7cdf84691f33
[3] https://git.kernel.org/pub/scm/devel/sparse/sparse.git/commit/?id=f42e2afa9ed0

Tested-at: https://travis-ci.org/github/elibritstein/OVS/builds/737943898
Signed-off-by: Eli Britstein <elibr at nvidia.com>
Acked-by: David Marchand <david.marchand at redhat.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


Compare: https://github.com/openvswitch/ovs/compare/d27b2c4ba228...3c581c9514d7


More information about the git mailing list