test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [Bug 715] Remove iavf DPDK code modifications from DPDKdut.build_install_dpdk
@ 2021-05-20 12:35 bugzilla
  2021-05-27  2:44 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2021-05-20 12:35 UTC (permalink / raw)
  To: dts

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@dpdk.org
          Reporter: juraj.linkes@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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dts] [Bug 715] Remove iavf DPDK code modifications from DPDKdut.build_install_dpdk
  2021-05-20 12:35 [dts] [Bug 715] Remove iavf DPDK code modifications from DPDKdut.build_install_dpdk bugzilla
@ 2021-05-27  2:44 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2021-05-27  2:44 UTC (permalink / raw)
  To: dts

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

Lijuan Tu (lijuan.tu@intel.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|dts@dpdk.org                |lijuan.tu@intel.com

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-27  2:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 12:35 [dts] [Bug 715] Remove iavf DPDK code modifications from DPDKdut.build_install_dpdk bugzilla
2021-05-27  2:44 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).