[RFE] OVS DPDK port representors support

Bug #1829734 reported by Hamdy Khader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Wishlist
Hamdy Khader

Bug Description

DPDK representors enable configuring a phy port to a guest (VM) machine.

OVS resides in the hypervisor which has one or more physical interfaces also known as the physical functions (PFs). If a PF supports SR-IOV it can be used to enable communication with the VMs via Virtual Functions (VFs). The VFs are virtual PCIe devices created from the physical Ethernet controller.

DPDK models a physical interface as a rte device on top of which an eth device is created. DPDK (version 18.xx) introduced the representors eth devices. A representor device represents the VF eth device (VM side) on the hypervisor side and operates on top of a PF. Representors are multi devices created on top of one PF.

The goal is to enable having dpdk port attached to instance as a direct port when the hypervisor datapath type is netdev.

Changes needed:

* Neutron:
return OVS VIF type in case of a direct port and a netdev databath.

* Nova:
In case of a port's OVS VIF type and a direct VNIC type, the datapath info must be set in the VIF profile as the VIF object is instantiated from VIFHostDevice class with profile of type VIFPortProfileOVSRepresentor.

* os-vif:
Do the plugging using the DPDK Representors syntax[1] in case of VIFHostDevice and a netdev databath.

[1] http://docs.openvswitch.org/en/latest/topics/dpdk/phy/

Tags: rfe-approved
Hamdy Khader (hamdyk)
Changed in nova:
assignee: nobody → Hamdy Khader (hamdyk)
Changed in os-vif:
assignee: nobody → Hamdy Khader (hamdyk)
Changed in neutron:
assignee: nobody → Hamdy Khader (hamdyk)
Changed in nova:
status: New → In Progress
Changed in neutron:
status: New → In Progress
Changed in os-vif:
status: New → In Progress
Hamdy Khader (hamdyk)
no longer affects: nova
Hamdy Khader (hamdyk)
no longer affects: nova
no longer affects: os-vif
tags: added: neutron
tags: added: os-vif
Miguel Lavalle (minsel)
tags: added: rfe
removed: neutron os-vif
Changed in neutron:
importance: Undecided → Wishlist
Miguel Lavalle (minsel)
tags: added: rfe-approved
removed: rfe
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/658784
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=47390226f5c755a083b0f181f7a81b480069c8a9
Submitter: Zuul
Branch: master

commit 47390226f5c755a083b0f181f7a81b480069c8a9
Author: Hamdy Khader <email address hidden>
Date: Mon May 13 13:39:57 2019 +0300

    OVS DPDK port representors support

    Adds support for OVS DPDK port representors[1], a direct port on
    a netdev datapath is considered a DPDK representor port.

    get_vif_type returns OVS VIF type in case of a direct port.

    [1] http://docs.openvswitch.org/en/latest/topics/dpdk/phy/#representors

    Closes-Bug: #1829734
    Change-Id: I3956eeda19ebc93fdb0b13c1cfb3dc64abffee9f

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/os-vif 1.17.0

This issue was fixed in the openstack/os-vif 1.17.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 15.0.0.0b1

This issue was fixed in the openstack/neutron 15.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/os-vif 2.0.0

This issue was fixed in the openstack/os-vif 2.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.