From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 87E5C436A4;
	Fri,  8 Dec 2023 07:56:13 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 5907742F04;
	Fri,  8 Dec 2023 07:56:13 +0100 (CET)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
 by mails.dpdk.org (Postfix) with ESMTP id 0134B42E8D
 for <dev@dpdk.org>; Fri,  8 Dec 2023 07:56:12 +0100 (CET)
Received: by inbox.dpdk.org (Postfix, from userid 33)
 id E3955436A5; Fri,  8 Dec 2023 07:56:11 +0100 (CET)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1334] Failures of testpmd on XXV710 card in VMs under Openshift
 Container Platform
Date: Fri, 08 Dec 2023 06:56:11 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: testpmd
X-Bugzilla-Version: 22.11
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: major
X-Bugzilla-Who: niny.gu.2022@gmail.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
 target_milestone
Message-ID: <bug-1334-3@http.bugs.dpdk.org/>
Content-Type: multipart/alternative; boundary=17020185710.fF46b.440185
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org


--17020185710.fF46b.440185
Date: Fri, 8 Dec 2023 07:56:11 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All

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

            Bug ID: 1334
           Summary: Failures of testpmd on XXV710 card in VMs under
                    Openshift Container Platform
           Product: DPDK
           Version: 22.11
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: testpmd
          Assignee: dev@dpdk.org
          Reporter: niny.gu.2022@gmail.com
  Target Milestone: ---

I met the following issue when running dpdk-testpmd under the OpenShift
Virtualization environment recently. We did the test on 2 VFs, each passed
through to a VM, and they come from the same PF(XXV710) on the host. Howeve=
r,
it's found there are the following errors when I quit the test on the recei=
ver
side.

# dpdk-testpmd --socket-mem 256 --lcores 0,1 -n 1 -a 00:05:00.0 --proc-type
auto --file-prefix rx -- --forward-mode=3Drxonly --port-topology=3Dchained
--disable-rss -i --rxq=3D1 --txq=3D1 --rxd=3D256 --txd=3D256 --nb-cores=3D1=
 --auto-start
EAL: Detected CPU lcores: 2
EAL: Detected NUMA nodes: 1
EAL: Auto-detected process type: PRIMARY
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rx/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: Using IOMMU type 8 (No-IOMMU)
EAL: Probe PCI driver: net_iavf (8086:154c) device: 0000:05:00.0 (socket -1)
......
iavf_dev_init_vlan(): Failed to update vlan offload
iavf_dev_configure(): configure VLAN failed: -95
iavf_set_rx_function(): request RXDID[1] in Queue[0] is legacy, set
rx_pkt_burst as legacy for all queues
......
testpmd> quit
Telling cores to stop...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 0  -------------------=
---
  RX-packets: 158837911      RX-dropped: 0             RX-total: 158837911
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  -------------------------------------------------------------------------=
---

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++=
++
  RX-packets: 158837911      RX-dropped: 0             RX-total: 158837911
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=
+++

Done.

Stopping port 0...
Stopping ports...
iavf_execute_vf_cmd(): Return failure -37 for cmd 9
iavf_disable_queues(): Failed to execute command of OP_DISABLE_QUEUES
iavf_stop_queues(): Fail to stop queues
iavf_stop_queues(): Fail to stop queues
iavf_execute_vf_cmd(): No response for cmd 11
iavf_add_del_all_mac_addr(): fail to execute command OP_DEL_ETHER_ADDRESS
Done

Shutting down port 0...
Closing ports...
Port 0 is closed
Done

Bye...

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

--17020185710.fF46b.440185
Date: Fri, 8 Dec 2023 07:56:11 +0100
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All

<html>
    <head>
      <base href=3D"https://bugs.dpdk.org/">
    </head>
    <body><table border=3D"1" cellspacing=3D"0" cellpadding=3D"8" class=3D"=
bz_new_table">
        <tr>
          <th>Bug ID</th>
          <td><a class=3D"bz_bug_link=20
          bz_status_UNCONFIRMED "
   title=3D"UNCONFIRMED - Failures of testpmd on XXV710 card in VMs under O=
penshift Container Platform"
   href=3D"https://bugs.dpdk.org/show_bug.cgi?id=3D1334">1334</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Failures of testpmd on XXV710 card in VMs under Openshift Con=
tainer Platform
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DPDK
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>22.11
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>testpmd
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dev&#64;dpdk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>niny.gu.2022&#64;gmail.com
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class=3D"bz_comment_block">
          <pre class=3D"bz_comment_text">I met the following issue when run=
ning dpdk-testpmd under the OpenShift
Virtualization environment recently. We did the test on 2 VFs, each passed
through to a VM, and they come from the same PF(XXV710) on the host. Howeve=
r,
it's found there are the following errors when I quit the test on the recei=
ver
side.

# dpdk-testpmd --socket-mem 256 --lcores 0,1 -n 1 -a 00:05:00.0 --proc-type
auto --file-prefix rx -- --forward-mode=3Drxonly --port-topology=3Dchained
--disable-rss -i --rxq=3D1 --txq=3D1 --rxd=3D256 --txd=3D256 --nb-cores=3D1=
 --auto-start
EAL: Detected CPU lcores: 2
EAL: Detected NUMA nodes: 1
EAL: Auto-detected process type: PRIMARY
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rx/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: Using IOMMU type 8 (No-IOMMU)
EAL: Probe PCI driver: net_iavf (8086:154c) device: 0000:05:00.0 (socket -1)
......
iavf_dev_init_vlan(): Failed to update vlan offload
iavf_dev_configure(): configure VLAN failed: -95
iavf_set_rx_function(): request RXDID[1] in Queue[0] is legacy, set
rx_pkt_burst as legacy for all queues
......
testpmd&gt; quit
Telling cores to stop...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 0  -------------------=
---
  RX-packets: 158837911      RX-dropped: 0             RX-total: 158837911
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  -------------------------------------------------------------------------=
---

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++=
++
  RX-packets: 158837911      RX-dropped: 0             RX-total: 158837911
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=
+++

Done.

Stopping port 0...
Stopping ports...
iavf_execute_vf_cmd(): Return failure -37 for cmd 9
iavf_disable_queues(): Failed to execute command of OP_DISABLE_QUEUES
iavf_stop_queues(): Fail to stop queues
iavf_stop_queues(): Fail to stop queues
iavf_execute_vf_cmd(): No response for cmd 11
iavf_add_del_all_mac_addr(): fail to execute command OP_DEL_ETHER_ADDRESS
Done

Shutting down port 0...
Closing ports...
Port 0 is closed
Done

Bye...
          </pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
      <div itemscope itemtype=3D"http://schema.org/EmailMessage">
        <div itemprop=3D"action" itemscope itemtype=3D"http://schema.org/Vi=
ewAction">
=20=20=20=20=20=20=20=20=20=20
          <link itemprop=3D"url" href=3D"https://bugs.dpdk.org/show_bug.cgi=
?id=3D1334">
          <meta itemprop=3D"name" content=3D"View bug">
        </div>
        <meta itemprop=3D"description" content=3D"Bugzilla bug update notif=
ication">
      </div>
    </body>
</html>=

--17020185710.fF46b.440185--