yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #82717
[Bug 1879890] [NEW] OVS DPDK representor port always use system datapath_type
Public bug reported:
Hi,
I follow the link https://docs.openstack.org/neutron/train/admin/config-
ovs-offload.html, it use system datapath_type, and it works well, after
I change the ovs to ovs-dpdk, the os-vif still plug the vf port to br-
int, see below
Bridge br-int
Controller "tcp:127.0.0.1:6633"
fail_mode: secure
datapath_type: netdev
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Port "ens2f1_2"
Interface "ens2f1_2"
Port br-int
Interface br-int
type: internal
as you can see the datapath_type use netdev now, it should use the below
command,
ovs-vsctl add-port br0 dpdk-rep3 -- set Interface dpdk-rep3 type=dpdk \
options:dpdk-devargs=0000:08:00.0,representor=[3]
see http://docs.openvswitch.org/en/latest/topics/dpdk/phy/
solution
I will patch the code to fill datapath_type field in
_get_ovs_representor_port_profile in nova/network/os_vif_util.py
** Affects: neutron
Importance: Undecided
Assignee: junbo (junbo)
Status: New
** Changed in: neutron
Assignee: (unassigned) => junbo (junbo)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1879890
Title:
OVS DPDK representor port always use system datapath_type
Status in neutron:
New
Bug description:
Hi,
I follow the link https://docs.openstack.org/neutron/train/admin
/config-ovs-offload.html, it use system datapath_type, and it works
well, after I change the ovs to ovs-dpdk, the os-vif still plug the vf
port to br-int, see below
Bridge br-int
Controller "tcp:127.0.0.1:6633"
fail_mode: secure
datapath_type: netdev
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Port "ens2f1_2"
Interface "ens2f1_2"
Port br-int
Interface br-int
type: internal
as you can see the datapath_type use netdev now, it should use the
below command,
ovs-vsctl add-port br0 dpdk-rep3 -- set Interface dpdk-rep3 type=dpdk \
options:dpdk-devargs=0000:08:00.0,representor=[3]
see http://docs.openvswitch.org/en/latest/topics/dpdk/phy/
solution
I will patch the code to fill datapath_type field in
_get_ovs_representor_port_profile in nova/network/os_vif_util.py
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1879890/+subscriptions
Follow ups