Bug 1967680

Summary: [RFE] Configure DDP package to use for Intel Ethernet 800 series adapter using director
Product: Red Hat OpenStack Reporter: Miguel Angel Nieto <mnietoji>
Component: openstack-tripleo-heat-templatesAssignee: Jaganathan Palanisamy <jpalanis>
Status: CLOSED ERRATA QA Contact: Joe H. Rahme <jhakimra>
Severity: high Docs Contact:
Priority: medium    
Version: 16.2 (Train)CC: brault, dcain, gregraka, hakhande, jpalanis, kfida, mariel, mburns, mgeary, morazi, oblaut, pragyansri.pathi, slinaber, slinabery, spower, supadhya, tvignaud
Target Milestone: z3Keywords: FutureFeature, Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.6.1-2.20220318005241.480635e.el8osttrunk Doc Type: Enhancement
Doc Text:
In Red Hat OpenStack Platform (RHOSP) 16.2.3, there is RHOSP Orchestration service (heat) support for Dynamic Device Personalization (DDP) used in Intel Ethernet 800 Series NICs, such as the Columbiaville E810. For more information, see the https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.2/html-single/network_functions_virtualization_planning_and_configuration_guide/index#c_ovsdpdk-other-params[Network Functions Virtualization Planning and Configuration Guide].
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-22 16:02:30 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:    
Bug Blocks: 1595325, 1636090, 1892796    

Description Miguel Angel Nieto 2021-06-03 15:09:30 UTC
Description of problem:

The Intel ® Ethernet 800 Series is designed with an enhanced programmable pipeline, allowing deeper and more diverse protocol header processing. This on-chip capability is called Dynamic Device Personalization (DDP). 


DDP allows you to change the packet processing pipeline of a device by applying
a profile package to the device at runtime. Profiles can be used to, for
example, add support for new protocols, change existing protocols, or change
default settings. 

RHEL 8.4 comes with 2 DDP packages installed:
* default DDP package. It supports the following:
-MAC/EtherType/VLAN/IPv4/IPv6/TCP/ARP/UDP/SCTP/ICMP/ICMPv6/CTRL/LLDP/VXLAN-GPE/VXLAN (non-GPE)/Geneve/GRE/NVGRE/RoCEv2/MPLS (up to 5 consecutive MPLS labels in the outermost Layer 2 header group)
* Comms DDP package (for telecommunication markets). In addition to the previous list, the Comms Market DDP package also supports
the following protocols:
- GTPv1 and GTPv2 with extension headers/PPPOE/L2TPv3/IPSec/PFCP 

DDP packages are available in the following path:

/usr/lib/firmware/intel/ice/ddp  --> default package
/usr/lib/firmware/intel/ice/ddp-comms --> comm package

We can see the loaded package using this command:
[root@computeovsdpdksriov-0 ddp]# dmesg | grep -i "ddp"
[    7.231306] ice 0000:04:00.0: The DDP package was successfully loaded: ICE OS Default Package version 1.3.16.0
[    7.851132] ice 0000:04:00.1: DDP package already present on device: ICE OS Default Package version 1.3.16.0

It should be possible to configure through director which package should be used.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 4 Miguel Angel Nieto 2021-06-21 16:01:03 UTC
I configured manually in the following way:
https://bugzilla.redhat.com/show_bug.cgi?id=1967699#c3

Comment 11 Karrar Fida 2021-09-23 11:45:29 UTC
@jpalanis can you please move this BZ to POST otherwise it will not get picked up in the target release, 16.2.2

Comment 12 Jaganathan Palanisamy 2021-09-23 12:33:51 UTC
@karrar,
Upstream patch is not merged yet, will move this BZ to POST once patch merged in upstream.
https://review.opendev.org/c/openstack/tripleo-heat-templates/+/806850

Comment 15 Karrar Fida 2021-10-29 06:35:28 UTC
@jpalanis can you move to POST now.

Comment 20 Karrar Fida 2021-11-23 12:41:25 UTC
@slinaber the exception request has been filed and approved in https://issues.redhat.com/browse/OSP-10580

Comment 22 spower 2022-02-07 17:38:34 UTC
TRAC team have rejected this one for 16.2.2, we are targeting it for 16.2.3. See https://issues.redhat.com/browse/OSP-10580

Comment 31 Miguel Angel Nieto 2022-05-18 11:59:20 UTC
Verified  on RHOS-16.2-RHEL-8-20220427.n.3

I have configured in the templates:
parameter_defaults:
  ComputeOvsDpdkSriovR740Parameters:
    DdpPackage: "ddp-comms"



[root@computedpdksriov-r740-0 heat-admin]# dmesg | grep -i "ddp"
[    8.234300] ice 0000:3b:00.0: The DDP package was successfully loaded: ICE OS Default Package version 1.3.16.0
[    9.198650] ice 0000:3b:00.1: DDP package already present on device: ICE OS Default Package version 1.3.16.0
[  128.293428] ice 0000:3b:00.0: The DDP package was successfully loaded: ICE COMMS Package version 1.3.20.0
[  128.537410] ice 0000:3b:00.1: DDP package already present on device: ICE COMMS Package version 1.3.20.0

[heat-admin@computedpdksriov-r740-0 ice]$ find . -ls
   388861      0 drwxr-xr-x   4  root     root           34 Apr 27 01:17 .
  4532369      0 drwxr-xr-x   2  root     root           45 May 18 07:12 ./ddp
  4532370    648 -rw-r--r--   1  root     root       659716 Jan 27  2021 ./ddp/ice-1.3.16.0.pkg
  4532371      0 lrwxrwxrwx   1  root     root           56 May 18 07:12 ./ddp/ice.pkg -> /lib/firmware/intel/ice/ddp-comms/ice_comms-1.3.20.0.pkg
  8572967      0 drwxr-xr-x   2  root     root           36 Apr 27 01:17 ./ddp-comms
  8572968    676 -rw-r--r--   1  root     root       688388 Jan 27  2021 ./ddp-comms/ice_comms-1.3.20.0.pkg


I have rebooted the server and check again

dmesg | grep -i "ddp"
[    8.334721] ice 0000:3b:00.0: The DDP package was successfully loaded: ICE COMMS Package version 1.3.20.0
[    9.207181] ice 0000:3b:00.1: DDP package already present on device: ICE COMMS Package version 1.3.20.0

Comment 40 errata-xmlrpc 2022-06-22 16:02:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 16.2.3 (Train)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:4793