[ovs-git] [openvswitch/ovs] 4ae8c4: dpdk: Deprecate pdump support.

Ilya Maximets noreply at github.com
Tue Nov 19 21:25:33 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 4ae8c4617fd34422ac7edabe4d63a78c6442dbd5
      https://github.com/openvswitch/ovs/commit/4ae8c4617fd34422ac7edabe4d63a78c6442dbd5
  Author: Ilya Maximets <i.maximets at ovn.org>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M .travis/linux-build.sh
    M Documentation/topics/dpdk/pdump.rst
    M NEWS
    M acinclude.m4
    M lib/dpdk.c

  Log Message:
  -----------
  dpdk: Deprecate pdump support.

The conventional way for packet dumping in OVS is to use ovs-tcpdump
that works via traffic mirroring.  DPDK pdump could probably be used
for some lower level debugging, but it is not commonly used for
various reasons.

There are lots of limitations for using this functionality in practice.
Most of them connected with running secondary pdump process and
memory layout issues like requirement to disable ASLR in kernel.
More details are available in DPDK guide:
https://doc.dpdk.org/guides/prog_guide/multi_proc_support.html#multi-process-limitations

Beside the functional limitations it's also hard to use this
functionality correctly.  User must be sure that OVS and pdump utility
are running on different CPU cores, which is hard because non-PMD
threads could float over available CPU cores.  This or any other
misconfiguration will likely lead to crash of the pdump utility
or/and OVS.

Another problem is that the user must actually have this special pdump
utility in a system and it might be not available in distributions.

This change disables pdump support by default introducing special
configuration option '--enable-dpdk-pdump'.  Deprecation warnings will
be shown to users on configuration and in runtime.

Claiming to completely remove this functionality from OVS in one
of the next releases.

Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
Acked-by: Aaron Conole <aconole at redhat.com>
Acked-by: Flavio Leitner <fbl at sysclose.org>
Acked-by: David Marchand <david.marchand at redhat.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>




More information about the git mailing list