Add support for the new DPDK configuration mechanism In OVS 2.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Critical
|
Michael Polenchuk | ||
Mitaka |
Fix Released
|
Critical
|
Michael Polenchuk | ||
Newton |
Fix Released
|
Critical
|
Mikhail Zhnichkov | ||
Ocata |
Fix Committed
|
Critical
|
Michael Polenchuk |
Bug Description
Starting from OVS 2.6, DPDK options changed to be more consistent. In older versions part of the options was passed via command line and part via OVS database. Currently all options are is OVS database.
In order to run OVS 2.6.x with DPDK following changes are required:
* Variable DPDK_OPTS in /etc/default/
* Parameters from the DPDK_OPTS are moved into OVS configuration DB, table Open_vSwitch, parameter other_config (same place where pmd-cpu-mask option reside)
* Parameter names changed:
--socket-mem => dpdk-socket-mem
--dpdk => dpdk-init=true
-c XXX => dpdk-lcore-mask
-n XXX => dpdk-extra=" -n XXX"
Example of "old" config:
export DPDK_OPTS="--dpdk -c 0x1 -n 2 --socket-mem 1024,1024"
other_config : {pmd-cpu-
Example of new config:
other_config : {dpdk-extra=" -n 2", dpdk-init="true", dpdk-lcore-
Changed in fuel: | |
milestone: | 9.2 → 11.0 |
Changed in fuel: | |
assignee: | Dmitry Klenov (dklenov) → Michael Polenchuk (mpolenchuk) |
status: | New → Confirmed |
tags: | added: blocker-for-qa |
Changed in fuel: | |
assignee: | Michael Polenchuk (mpolenchuk) → Alexey Shtokolov (ashtokolov) |
Changed in fuel: | |
assignee: | Alexey Shtokolov (ashtokolov) → Michael Polenchuk (mpolenchuk) |
tags: | added: on-verification |
tags: | added: on-verification |
Fix proposed to branch: master /review. openstack. org/404739
Review: https:/