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

istokes noreply at github.com
Fri Nov 6 10:09:45 UTC 2020


  Branch: refs/heads/dpdk-latest
  Home:   https://github.com/openvswitch/ovs
  Commit: ba2a8b64d10c8f9efac3f8c1631ef6c344494c64
      https://github.com/openvswitch/ovs/commit/ba2a8b64d10c8f9efac3f8c1631ef6c344494c64
  Author: David Marchand <david.marchand at redhat.com>
  Date:   2020-11-06 (Fri, 06 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: d91bc520689977a8bfadda3c81b903142c1d413a
      https://github.com/openvswitch/ovs/commit/d91bc520689977a8bfadda3c81b903142c1d413a
  Author: David Marchand <david.marchand at redhat.com>
  Date:   2020-11-06 (Fri, 06 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: ce213846e3d55e7dd889fcde4bd280afcf875a58
      https://github.com/openvswitch/ovs/commit/ce213846e3d55e7dd889fcde4bd280afcf875a58
  Author: David Marchand <david.marchand at redhat.com>
  Date:   2020-11-06 (Fri, 06 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: 78bfb1cedd13c260b073c8c41e4e4dd3970b066c
      https://github.com/openvswitch/ovs/commit/78bfb1cedd13c260b073c8c41e4e4dd3970b066c
  Author: David Marchand <david.marchand at redhat.com>
  Date:   2020-11-06 (Fri, 06 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: 6a5fada0c89cdc7ad474cca2cd7d865a3c590db6
      https://github.com/openvswitch/ovs/commit/6a5fada0c89cdc7ad474cca2cd7d865a3c590db6
  Author: David Marchand <david.marchand at redhat.com>
  Date:   2020-11-06 (Fri, 06 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: ed1656fab729fa8e8aea897c81bc35449ee82c1f
      https://github.com/openvswitch/ovs/commit/ed1656fab729fa8e8aea897c81bc35449ee82c1f
  Author: David Marchand <david.marchand at redhat.com>
  Date:   2020-11-06 (Fri, 06 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: 35c0de64a8394668d1208efc2531bcc81597fe16
      https://github.com/openvswitch/ovs/commit/35c0de64a8394668d1208efc2531bcc81597fe16
  Author: Sunil Pai G <sunil.pai.g at intel.com>
  Date:   2020-11-06 (Fri, 06 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: 248bcf72ee2df3768316a3b8da6d8a8912448534
      https://github.com/openvswitch/ovs/commit/248bcf72ee2df3768316a3b8da6d8a8912448534
  Author: Sunil Pai G <sunil.pai.g at intel.com>
  Date:   2020-11-06 (Fri, 06 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: 540e70fba6d514040d4418aa3992c9754b985a92
      https://github.com/openvswitch/ovs/commit/540e70fba6d514040d4418aa3992c9754b985a92
  Author: Sunil Pai G <sunil.pai.g at intel.com>
  Date:   2020-11-06 (Fri, 06 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: d967b86604369a2cfc34ef9173747658c50da3f2
      https://github.com/openvswitch/ovs/commit/d967b86604369a2cfc34ef9173747658c50da3f2
  Author: Eli Britstein <elibr at nvidia.com>
  Date:   2020-11-06 (Fri, 06 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: ca84cbb7be805e5f35da4adc3fba43b37bfc918d
      https://github.com/openvswitch/ovs/commit/ca84cbb7be805e5f35da4adc3fba43b37bfc918d
  Author: David Marchand <david.marchand at redhat.com>
  Date:   2020-11-06 (Fri, 06 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: d27b2c4ba2283f312ee1aa7361d13feac5a25cb3
      https://github.com/openvswitch/ovs/commit/d27b2c4ba2283f312ee1aa7361d13feac5a25cb3
  Author: Eli Britstein <elibr at nvidia.com>
  Date:   2020-11-06 (Fri, 06 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/5262bf8d1ef6...d27b2c4ba228


More information about the git mailing list