[ovs-dev] [RFC 0/3] dpdk: Unification/deprecation of DPDK EAL config knobs.
Ilya Maximets
i.maximets at samsung.com
Fri Feb 1 13:11:11 UTC 2019
This patch-set deprecates the usage of current configuration knobs for
DPDK EAL arguments:
- dpdk-alloc-mem
- dpdk-socket-mem
- dpdk-socket-limit
- dpdk-lcore-mask
- dpdk-hugepage-dir
- dpdk-extra
All above configuration options replaced with single 'dpdk-options'
which has same format as old 'dpdk-extra', i.e. just a string with
all the DPDK EAL arguments.
Rationale: See the commit message of the patch #1.
This patch set contains 3 patches that describes some kind of the
deprecation process.
Patch 1: Introduces 'dpdk-options' and removes all the documentation
about old configuration knobs. Users could still use an
old interface, but the deprecation warning will be printed.
In case 'dpdk-options' provided, values of old options
will be ignored. New users will start using new 'dpdk-options'
as this is the only documented way providing EAL arguments.
This patch could be applied now.
Patch 2: Drops support of all the old configuration knobs. Values
are always ignored now. Warning appears in case some of the
old options detected in database.
This could be applied after branching the 2.12.
Patch 3: Removes all the warnings and silently ignores all the old
configuration knobs.
This could be applied after branching the 2.13.
This allows to fully drop all the old options in a year.
Patch-set based on previous '--socket-limit' work:
https://patchwork.ozlabs.org/patch/1032583/
Ilya Maximets (3):
dpdk: Unify passing of DPDK EAL arguments.
dpdk: Drop support of deprecated options for EAL arguments.
dpdk: Silently ignore unsupported options for EAL arguments.
Documentation/intro/install/dpdk.rst | 40 +++++---
NEWS | 7 +-
lib/dpdk.c | 143 ++-------------------------
utilities/ovs-dev.py | 2 +-
vswitchd/vswitch.xml | 132 ++++++-------------------
5 files changed, 68 insertions(+), 256 deletions(-)
--
2.17.1
More information about the dev
mailing list