From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1DDAB43689; Wed, 6 Dec 2023 12:32:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0209742E72; Wed, 6 Dec 2023 12:32:40 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 15794402CF for ; Wed, 6 Dec 2023 12:32:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701862357; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LM4XuCkJCs+TmS+uF3SQ+BWrMan4TrA5lq+cHBekeKo=; b=WO/fGASHQI4YFvT8Q0uyC3DBbYyktjZHXfVYT2UI9YM+1sV4eAE3WCoggTL606zExOqkbm DBeRp+E1LnyBAf6OEKe5LsCtYKBX3NaPiY8ao9CZuNkVQNtoVcMec1JZtme7KvCfdtP9m0 I0MTSoZ4aZeb/P00SVZBIKqxzDgmMts= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-163-_voLe5A-Plm-Ug2o7WZiXw-1; Wed, 06 Dec 2023 06:32:35 -0500 X-MC-Unique: _voLe5A-Plm-Ug2o7WZiXw-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-a04b426b3c0so77299166b.0 for ; Wed, 06 Dec 2023 03:32:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701862354; x=1702467154; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LM4XuCkJCs+TmS+uF3SQ+BWrMan4TrA5lq+cHBekeKo=; b=A3pfzAk4shForPEQUBAJtAz1oW7GnQgLeKbskmGLZ3NzYFJ/BkD14xBz06kruWaPfR uVJw0rg4dLufucsMNUyXEYsbfkEg4IxAqGnPm1zu7kytVNKsPAHhLM9AmJjuqIFFNYM0 MghdqTozydf16M1VgqhsQklIXuSnGjdyuR5frEcOkw++p382ZIekeIZ1vIzFALwtjTfs 089t3LyiYatcyLJSqzisWPj3r0BJypw2nVQ/bngJeph+a14nfQ3wTsc3NoAlbZ78irUi kqd6d/My7J7i1MQppGzuyK0yPLvOrZqZuTliLqYjRHDSn7c2vGZ3dn3NAkYfY1bB+2PM vC8Q== X-Gm-Message-State: AOJu0Yz3DCbR3+x+7CZcr/eVeIzCU1hC3BWZjptFS/zQfJuSy9GtKkT6 VcHt4Pf9WCxeKG7R0PaHICAkcjRG86sinLO40VaKA9F0Cg4o/n3w0GMSAJQFnzpXuQLkvqAd8/+ Qm8OAjgTlrO/M51RRZnKYbb7bqrWYa8PM X-Received: by 2002:a17:906:3f48:b0:a04:98ef:c73c with SMTP id f8-20020a1709063f4800b00a0498efc73cmr2637634ejj.23.1701862354487; Wed, 06 Dec 2023 03:32:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IFYRiVungKN8MiymBjI9QVoURK40ff/YfRHS7MWdvVrW6FkalGBdEwciIXo7/gNPS4iBVGnXeEd/IBp4AZJETE= X-Received: by 2002:a17:906:3f48:b0:a04:98ef:c73c with SMTP id f8-20020a1709063f4800b00a0498efc73cmr2637626ejj.23.1701862354228; Wed, 06 Dec 2023 03:32:34 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Nini Gu Date: Wed, 6 Dec 2023 19:32:23 +0800 Message-ID: Subject: Re: Failures of testpmd on XXV710 card To: dev@dpdk.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/alternative; boundary="00000000000014a5ae060bd5b539" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --00000000000014a5ae060bd5b539 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry, forgot the subject, add it. On Wed, Dec 6, 2023 at 7:30=E2=80=AFPM Nini Gu wrote: > Hello, > > I met the following issue when running dpdk-testpmd under the OpenShift > Virtualization environment recently. We did the test on 2 VFs, each passe= d > through to a VM, and they come from the same PF(XXV710) on the host. > However, it's found there are the following errors when I quit the test o= n > the receiver side. Does anyone familiar with these? Are these related to > the XXV710 card or something else? > > > *# 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=3D25= 6 > --txd=3D256 --nb-cores=3D1 --auto-start* > > > > > > > > > > *EAL: Detected CPU lcores: 2EAL: Detected NUMA nodes: 1EAL: Auto-detected > process type: PRIMARYEAL: Detected shared linkage of DPDKEAL: Multi-proce= ss > socket /var/run/dpdk/rx/mp_socketEAL: Selected IOVA mode 'PA'EAL: VFIO > support initializedEAL: Using IOMMU type 8 (No-IOMMU)EAL: Probe PCI drive= r: > net_iavf (8086:154c) device: 0000:05:00.0 (socket -1)* > *......* > > > > *iavf_dev_init_vlan(): Failed to update vlan offloadiavf_dev_configure(): > configure VLAN failed: -95iavf_set_rx_function(): request RXDID[1] in > Queue[0] is legacy, set rx_pkt_burst as legacy for all queues* > *......* > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *testpmd> quitTelling 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 c= md > 9iavf_disable_queues(): Failed to execute command of > OP_DISABLE_QUEUESiavf_stop_queues(): Fail to stop queuesiavf_stop_queues(= ): > Fail to stop queuesiavf_execute_vf_cmd(): No response for cmd > 11iavf_add_del_all_mac_addr(): fail to execute command > OP_DEL_ETHER_ADDRESSDoneShutting down port 0...Closing ports...Port 0 is > closedDone* > > Bye... > > Thanks in advance! > -- > Regards, > Nini Gu > --=20 Regards, Nini Gu --00000000000014a5ae060bd5b539 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry, forgot the subject, add it.

On Wed, Dec 6, 2023= at 7:30=E2=80=AFPM Nini Gu <ngu@redha= t.com> wrote:
Hello,

I met the following is= sue when running=C2=A0dpdk-testpmd under the OpenShift Virtualization envir= onment recently. We did the=C2=A0test=C2=A0on 2 VFs, each passed through to= a VM, and they=C2=A0come from the same PF(XXV710) on the host. However, it= 's found there are the following errors when I quit the=C2=A0test on th= e receiver side. Does anyone familiar with these? Are these related to the = XXV710 card or something else?

# dpdk-testpmd -= -socket-mem 256 --lcores 0,1 -n 1 -a 00:05:00.0 --proc-type auto --file-pre= fix 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 lin= kage 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_con= figure(): configure VLAN failed: -95
iavf_set_rx_function(): request RXD= ID[1] in Queue[0] is legacy, set rx_pkt_burst as legacy for all queues
<= br>
......
testpmd> quit
Telling co= res to stop...
Waiting for lcores to finish...

=C2=A0 -----------= ----------- Forward statistics for port 0 =C2=A0----------------------
= =C2=A0 RX-packets: 158837911 =C2=A0 =C2=A0 =C2=A0RX-dropped: 0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 RX-total: 158837911
=C2=A0 TX-packets: 0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0TX-dropped: 0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 TX-total: 0
=C2=A0 ---------------------= -------------------------------------------------------

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

Done.
Stopping port 0...
Stopping ports...
iavf_execute_vf_cmd(): Retur= n failure -37 for cmd 9
iavf_disable_queues(): Failed to execute command= of OP_DISABLE_QUEUES
iavf_stop_queues(): Fail to stop queues
iavf_st= op_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...

Thanks = in advance!
--
Regards,
Nini Gu


--
Regards,
Nini Gu
--00000000000014a5ae060bd5b539--