Create a host profile with PCI devices enabled in SR-IOV and CUSTOM modes and PCI device group added for each vmnic you want to use for PTP. After creating the host profile, apply it to a cell site group.

Use the following sections of the Host profile for PTP configuration:

  • PCI Device Settings: Helps configure PCI devices in Passthrough, SRIOV, or Custom mode. For example, if the host has a 4-port E810 card, you can use PCI Device settings to configure PF0 in Passthrough Active mode and PF[1-3] in SRIOV mode.

  • PCI Device Groups: Helps define filters for selecting a specific PF for PTP. For example, if PF0 and PF1 are in Passthrough Active mode and the PTP switch is connected to PF0, use filters in PCI Device Group to select PF0 for PTP.

Caution:

Sample codes used in this topic are for reference purposes only. We recommend that you modify the values according to your deployment environment.

Procedure

  1. Navigate to Infrastructure Automation > Configuration > Host Profile in the Telco Cloud Automation UI.
  2. Add a host profile:
    1. Click ADD.

      Add a host profile
    2. Enter a Profile Name. Example: llsc1-ptp-accelerator-hostprofile.

      Enter a profile name
  3. In the PCI Device Settings of the host profile, add a PCI device of SR-IOV type:
    1. Click ADD DEVICE.
    2. In the Device Details section, add the following details for the PCI device:
      1. Click ADD CONFIGURATION.

      2. Select SR-IOV in the Type drop-down list.

      3. In the Number of Virtual Functions field, enter the number of virtual functions for each port (PF) of the PCI device. Example: 8


      Add a PCI device of SR-IOV type
    3. Add the details of the ports (PFs) to be enabled with SR-IOV:
      1. Click ADD FILTER.

      2. Enter the port name in the Key field. Example: Alias.

      3. Enter the port value in the Value field. Example: vmnic0

      4. Repeat the above steps for each port.


      Add PCI device filters for SR-IOV type
  4. (Optional) If you are using Accelerator, you can add and configure the PCI device of both SR-IOV and CUSTOM (accelerator) types.

    Add a PCI Device of SR-IOV and Custom Accelerator Types

    For custom configuration content, obtain the configuration file using the following steps:

    1. Browse and select a configuration file from the Intel Github repository.

      Note: Intel provides sample configuration files that can be used with ACC100 and vRAN Boost accelerator cards.

      • Intel ACC100 Accelerator cards: https://github.com/intel/pf-bb-config/tree/master/acc100

        Example: acc100_config_vf_5g.cfg

        SPDX-License-Identifier: Apache-2.0 
        ; Copyright(c) 2020 Intel Corporation 
         
        [MODE] 
        pf_mode_en = 0 
         
        [VFBUNDLES] 
        num_vf_bundles = 16 
         
        [MAXQSIZE] 
        max_queue_size = 1024 
         
        [QUL4G] 
        num_qgroups = 0 
        num_aqs_per_groups = 16 
        aq_depth_log2 = 4 
         
        [QDL4G] 
        num_qgroups = 0 
        num_aqs_per_groups = 16 
        aq_depth_log2 = 4 
         
        [QUL5G] 
        num_qgroups = 4 
        num_aqs_per_groups = 16 
        aq_depth_log2 = 4 
         
        [QDL5G] 
        num_qgroups = 4 
        num_aqs_per_groups = 16 
        aq_depth_log2 = 4 
      • Intel vRAN Boost Accelerator cards: https://github.com/intel/pf-bb-config/tree/master/vrb1

        Example: vrb1_config_vf_5g.cfg

        ; SPDX-License-Identifier: Apache-2.0 
        ; Copyright(c) 2020 Intel Corporation  
        
        [MODE] 
        pf_mode_en = 0 
        
        [VFBUNDLES] 
        num_vf_bundles = 16 
        
        [MAXQSIZE] 
        max_queue_size = 1024 
        
        [QUL4G] 
        num_qgroups = 0 
        num_aqs_per_groups = 16 
        aq_depth_log2 = 4  
        
        [QDL4G] 
        num_qgroups = 0 
        num_aqs_per_groups = 16 
        aq_depth_log2 = 4  
        
        [QUL5G] 
        num_qgroups = 4 
        num_aqs_per_groups = 16 
        aq_depth_log2 = 4  
        
        [QDL5G] 
        num_qgroups = 4 
        num_aqs_per_groups = 16 
        aq_depth_log2 = 4 
        
        [QFFT] 
        num_qgroups = 4 
        num_aqs_per_groups = 16 
        aq_depth_log2 = 4 
    2. Save the configuration file to the local system.

    3. Add the following filters.

      • Intel ACC100 accelerator cards:

        • Key: vendorId

          Value: 0x8086

        • Key: deviceIds

          Value: 0xd5c

      • Intel vRAN Boost accelerator cards:

        • Key: vendorId

          Value: 0x8086

        • Key: deviceIds

          Value: 0x57c0


      Add PCI Device Filters for SR-IOV and Custom Accelerator Types
  5. In the PCI Device Groups section, add a PCI device group for each port you want to use for PTP:

    Note: For LLS-C1 modes of deployment, multiple PTP devices are required. PCI Device Groups in the host profile define the vmnics (ports) from which PTP devices (VFs) are allocated. Only one VF from each vmnic can be used for PTP.

    1. Click ADD GROUP.

      Add a PCI Device Group
    2. Enter ptp in the Device Group Name field.
    3. Add a filter with the following values for the PCI Device Group:
      • Key: Only SR-IOV Enabled Devices

      • Value (radio button): Enable

      • Key: Alias

      • Value: vmnic1 (the name of the physical interface used for PTP)


      Add PCI Device Group Filters
    4. Repeat Steps a-c for each vmnic you want to use for PTP.

      Add PCI Device Group Filters
  6. (vRAN Boost Accelerator only) In the PCI Device Groups section, add a PCI device group for vRAN Boost Accelerator device.
    1. Click ADD GROUP.

    2. Enter the device group name (example: vrb1) in the Device Group Name field.

    3. Add a filter with the following values for the PCI Device Group:

      • Key: Only SR-IOV Enabled Devices

        Value (radio button): Enable

      • Key: Device ID

        Value: 0x57c0 (device id of Intel vRAN Boost Accelerator)

      • Key: Vendor ID

        Value: 0x8086 (vendor id of Intel)


      Add a PCI Device Group for vRAN Boost Accelerator Devices
  7. Save the host profile.
  8. Apply the host profile to a cell site group:
    1. Navigate to Infrastructure Automation > Domains > Cell Site Group.
    2. Click the name of the Cell Site Group to which you want to apply the host profile.
    3. Select the host profile from the Host Profile drop-down list.

      Apply the host profile to the cell site group
    4. Save the cell site group configuration.
    5. Click RESYNC.

      Resynchronize the cell site group