Bug 1378690

Summary: [Docs][RFE][Compute][NFV] Document dynamic allocation of physical functions and virtual functions
Product: Red Hat OpenStack Reporter: Lucy Bopf <lbopf>
Component: documentationAssignee: Martin Lopes <mlopes>
Status: CLOSED CURRENTRELEASE QA Contact: Don Domingo <ddomingo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: atelang, dcadzow, edannon, ekuris, itbrown, mburns, mlopes, myllynen, panbalag, srevivo, tfreger, yrachman
Target Milestone: gaKeywords: Documentation, FutureFeature
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-20 01:51:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1233921    
Bug Blocks:    

Description Lucy Bopf 2016-09-23 06:11:40 UTC
The existing functionality for allocation of physical functions and virtual functions has been extended. This functionality must be investigated and documented.

Comment 1 Lucy Bopf 2016-09-23 06:16:42 UTC
Assigning to Martin for review.

Comment 2 Martin Lopes 2016-09-26 04:06:15 UTC
Sent question to SME

Comment 9 Martin Lopes 2016-10-06 00:51:04 UTC
*** Bug 1378689 has been marked as a duplicate of this bug. ***

Comment 11 Yariv 2016-11-15 11:54:48 UTC
Please Review Martin's Doc

Comment 12 Yariv 2016-11-15 11:55:45 UTC
see comment #11

Comment 16 Toni Freger 2016-11-17 05:59:38 UTC
Hello Martin,

Itzik is no longer working on SR-IOV, he moved to ODL team.
We have two engineers that covered SR-IOV features for the latest release, they will be glad to review the documentation draft and to help answering questions,
Eran Kuris and Eyal Dannon.

Thanks,
Toni

Comment 17 Yariv 2016-11-17 13:25:57 UTC
(In reply to Toni Freger from comment #16)
> Hello Martin,
> 
> Itzik is no longer working on SR-IOV, he moved to ODL team.
> We have two engineers that covered SR-IOV features for the latest release,
> they will be glad to review the documentation draft and to help answering
> questions,
> Eran Kuris and Eyal Dannon.
> 
> Thanks,
> Toni

Although RH writing unique section for NFV.
I think the manuals must depicts about DPDK applications in the Guest (SRIOV/DPDK NICS).

See explanation from DPDK.org
http://dpdk.org/doc/guides/nics/intel_vf.html

I would like to add NFV view regards SR-IOV 
Guest applications could run as following over SR-IOV Host/Compute
1) Inside Guest VM which its interfaces(manages by guest kernel) interacting through IOMMU to SRIOV PF/VF
2) Inside Guest VM there is DPDK application.

For option 2, the VM must run in Host user land, and DPDK application doing PathThrough from the Guest process into DPDK packets in the Host
in the host 2 extra parameters vfio-pci, no kernels in the way (Guest or Host)

In the grub the additional grub param iommu=pt ()  
While in the Guest you bind dpdk_nic_bind.py --bind=vfio 0000:06:10.0

In option (2) guest kernel bypassed and there is PathThrough of the process towards SRIOV PV/VF

Comment 18 Eran Kuris 2016-11-17 13:48:28 UTC
19.6  as far as I know you dont need to install SRIOV agent it exist and install by default from rhos 9.

About dynamic allocation from PF to VF there is an issue about it : 
https://bugzilla.redhat.com/show_bug.cgi?id=1370047

I think we should document it until it will be fix. I know there is a patch that didn't marge yet.  

Those my comments for this guide.

Comment 20 Martin Lopes 2016-11-21 01:46:28 UTC
Regarding the feedback in comment 17 and 18: I've summarised the requests in an email, and sent to Eran and Yariv for confirmation.