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


            Bug ID: 715
           Summary: Remove iavf DPDK code modifications from
           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:

        if nic_name in ['fortpark_TLV', 'fortpark_BASE-T']:
            self.send_expect("sed -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_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

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

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ https://inbox.dpdk.org/dts \
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git