[dts] [Bug 715] Remove iavf DPDK code modifications from DPDKdut.build_install_dpdk

bugzilla at dpdk.org bugzilla at dpdk.org
Thu May 20 14:35:39 CEST 2021


https://bugs.dpdk.org/show_bug.cgi?id=715

            Bug ID: 715
           Summary: Remove iavf DPDK code modifications from
                    DPDKdut.build_install_dpdk
           Product: DTS
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: framework
          Assignee: dts at dpdk.org
          Reporter: juraj.linkes at pantheon.tech
  Target Milestone: ---

The code in question is this:
DPDKdut.build_install_dpdk:

        if nic_name in ['fortpark_TLV', 'fortpark_BASE-T']:
            self.send_expect("sed -i '/{ RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID,
IAVF_DEV_ID_ADAPTIVE_VF) },/i { RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID,
IAVF_DEV_ID_X722_VF) },' drivers/net/iavf/iavf_ethdev.c", "# ")
            self.send_expect("sed -i '/I40E_DEV_ID_X722_VF/d'
drivers/net/i40e/i40e_ethdev_vf.c", "# ")
        elif kernel_driver == 'i40e':
            self.send_expect("sed -i '/{ RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID,
IAVF_DEV_ID_ADAPTIVE_VF) },/a { RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID,
IAVF_DEV_ID_VF) },' drivers/net/iavf/iavf_ethdev.c", "# ")
            self.send_expect("sed -i -e '/I40E_DEV_ID_VF/s/0x154C/0x164C/g' 
drivers/net/i40e/base/i40e_devids.h", "# ")

I believe this enables iavf support for VFs with i40e PF driver. We need to
find a way to enable iavf for these devices without modifying DPDK code.

The first thing to do is to investigate whether that's possible with the
current DPDK implementation. If not, we need to agree with DPDK devs on a
proper solution. If that's the case, we'd only make the necessary DTS changes
after that.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dts mailing list