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 81A72A0C47 for ; Thu, 28 Oct 2021 03:58:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 079D14067B; Thu, 28 Oct 2021 03:58:25 +0200 (CEST) Received: from mx0b-00000d04.pphosted.com (mx0b-00000d04.pphosted.com [148.163.153.235]) by mails.dpdk.org (Postfix) with ESMTP id 975F34003F for ; Thu, 28 Oct 2021 03:58:23 +0200 (CEST) Received: from pps.filterd (m0102896.ppops.net [127.0.0.1]) by mx0a-00000d04.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19RMhUN3022840 for ; Wed, 27 Oct 2021 18:58:22 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stanford.edu; h=mime-version : references : in-reply-to : from : date : message-id : subject : to : cc : content-type; s=pps05272020; bh=lNlLqarh4Bplds08Naik/RvvZT1Df+WviuG098rc2Kg=; b=JKJybmPSmnQF/ptw9V4FZyXm6MBzX8rS0bIOgoF5rrpanW2ZQUUoowy/JdZD+LXoskPG Bvx/8OQe341xBdr88H4siOQ/8pYnXmRe1QN9Yp9QIRxWImZkREqXAQ1mkFj0B+lRNpBQ Jqej0fpn8+GFCRfLTDO+i5Ry2e1cz3INB38wbiDueFXwufmmyyFSD421K0nOhiJKI4S0 KInK2VG7Y3L3I5yPxX3n1Lyz39Z040Tax9zDbl+pcMPhDuK5D68TBqMv+cUoj8sGH0bI wac9Z5L0IPsQEzgKZr2BCyMJUv0ku/8yQpZbYVCgsAtrQoMwnQ+QneXzuz6LVmmhEi/O 4Q== Received: from mx0a-00000d03.pphosted.com (mx0a-00000d03.pphosted.com [148.163.149.244]) by mx0a-00000d04.pphosted.com with ESMTP id 3bx4dsnvrd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 27 Oct 2021 18:58:22 -0700 Received: from pps.filterd (m0214090.ppops.net [127.0.0.1]) by mx0a-00000d03.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19S08UWj025431 for ; Wed, 27 Oct 2021 18:58:21 -0700 Received: from mx0b-00000d06.pphosted.com (mx0b-00000d06.pphosted.com [148.163.139.119]) by mx0a-00000d03.pphosted.com with ESMTP id 3bx4dpdpvq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 27 Oct 2021 18:58:21 -0700 Received: from pps.filterd (m0167940.ppops.net [127.0.0.1]) by mx0b-00000d06.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19RCeJ1o022932 for ; Wed, 27 Oct 2021 18:58:20 -0700 Received: from smtp.stanford.edu (smtp4.stanford.edu [171.67.219.72]) by mx0b-00000d06.pphosted.com with ESMTP id 3bx60tkj1v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 27 Oct 2021 18:58:20 -0700 Received: from mail-il1-f174.google.com (mail-il1-f174.google.com [209.85.166.174]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: gerryw) by smtp.stanford.edu (Postfix) with ESMTPSA id 5BAE91C1122 for ; Wed, 27 Oct 2021 18:58:19 -0700 (PDT) Received: by mail-il1-f174.google.com with SMTP id s3so5173102ild.0 for ; Wed, 27 Oct 2021 18:58:19 -0700 (PDT) X-Gm-Message-State: AOAM532kZfV9dVrgrum4w40k2G/I7wd+NjpjxPypptBhha/hd3X7xdIZ OUxQBPD+SxReaszYZs9evFQ5LLGPB8DV+ulFZ7I= X-Google-Smtp-Source: ABdhPJyiNDW3gwRMgcL0p1b79vALGvNv6g3AnIcIC/ZsqtETufh/R+m3MW2uLXJt0Bn+mbP6s6zOWq3e6FUvbNS57Ng= X-Received: by 2002:a05:6e02:154f:: with SMTP id j15mr1040621ilu.280.1635386298784; Wed, 27 Oct 2021 18:58:18 -0700 (PDT) MIME-Version: 1.0 References: <0fbb0c1b5a2b4fd3b95d7238db101698@nokia-sbell.com> <16515cb8ebbb4e7d833914040fa5943f@nokia-sbell.com> <22e029bf2ae6407e910cb2dcf11d49ce@nokia-sbell.com> <4b0dd266b53541c7bc4964c29e24a0e6@nokia-sbell.com> <6a5324c1ba0740b4aff5ff861a9f125a@nokia-sbell.com> <66a6a919379744518f623c186ba4ff96@nokia-sbell.com> <01df3faaba304633b93daa26d76baf65@nokia-sbell.com> <8dcbb2d79a00490eb90811a80033b67b@nokia-sbell.com> <71596f6d-3b29-378f-e284-928ab3dfce14@allegro-packets.com> <1e1c8a16abd64774bf70d5dab6c6e2a4@nokia-sbell.com> In-Reply-To: <1e1c8a16abd64774bf70d5dab6c6e2a4@nokia-sbell.com> From: Gerry Wan Date: Wed, 27 Oct 2021 18:58:08 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: mlx5 VF packet lost between rx_port_unicast_packets and rx_good_packets To: "Yan, Xiaoping (NSB - CN/Hangzhou)" Cc: Martin Weiser , David Marchand , Asaf Penso , Slava Ovsiienko , Matan Azrad , Raslan Darawsheh , "users@dpdk.org" Content-Type: multipart/alternative; boundary="00000000000068e0d505cf600b5e" x-proofpoint-stanford-dir: outbound X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-27_07,2021-10-26_01,2020-04-07_01 X-Proofpoint-GUID: l_Yt6gv_jhQZXTVq-WUrhPTURrPBUHg2 X-Proofpoint-ORIG-GUID: l_Yt6gv_jhQZXTVq-WUrhPTURrPBUHg2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-27_07,2021-10-26_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 suspectscore=0 impostorscore=0 lowpriorityscore=0 mlxlogscore=999 clxscore=1011 priorityscore=1501 mlxscore=0 adultscore=100 malwarescore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2110280008 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --00000000000068e0d505cf600b5e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Are the rx_missed_errors/rx_out_of_buffer counters always showing 0 no matter how fast you push your generator? I had a similar issue with missing counters on DPDK 20.11 that was fixed on 21.05 by applying this patch: http://patchwork.dpdk.org/project/dpdk/patch/1614249901-307665-5-git-send-e= mail-matan@nvidia.com/ Potentially relevant thread: https://inbox.dpdk.org/users/CAAcwi38rs2Vk9MKhRGS3kAK+=3DdYAnDdECT7f+Ts-f13= cANYB+Q@mail.gmail.com/ On Wed, Oct 27, 2021 at 6:39 PM Yan, Xiaoping (NSB - CN/Hangzhou) < xiaoping.yan@nokia-sbell.com> wrote: > Hi, > > I checked the counter from PF with ethtool -S, there is no counter named > 'rx_prio0_buf_discard' > Anyway, I checked all counters from ethtool output, there is not any > counter reflects the dropped packets. > > Any suggestion from mlx maintainer? @Matan Azrad @Asaf Penso @Slava > Ovsiienko @Raslan Darawsheh > > Thank you. > > > Best regards > Yan Xiaoping > > -----Original Message----- > From: Martin Weiser > Sent: 2021=E5=B9=B410=E6=9C=8827=E6=97=A5 15:54 > To: Yan, Xiaoping (NSB - CN/Hangzhou) ; > David Marchand > Cc: Asaf Penso ; users@dpdk.org; Slava Ovsiienko < > viacheslavo@nvidia.com>; Matan Azrad ; Raslan Darawsheh > > Subject: Re: mlx5 VF packet lost between rx_port_unicast_packets and > rx_good_packets > > Hi, > > you may want to check the counter 'rx_prio0_buf_discard' with ethtool > (which is not available in DPDK xstats as it seems that this counter is > global for the card and not available per port). > I opened a ticket a while ago regarding this issue: > https://bugs.dpdk.org/show_bug.cgi?id=3D749 > > Best regards, > Martin > > > Am 27.10.21 um 08:17 schrieb Yan, Xiaoping (NSB - CN/Hangzhou): > > Hi, > > > > I tried with dpdk 20.11-3 downloaded from > > https://fast.dpdk.org/rel/dpdk-20.11.3.tar.xz > > Problem still exist: > > 1. there is packet loss with 2mpps (small packet), 2. no counter for > > the dropped packet in NIC. > > > > traffic generator stats: sends 41990938, receives back 41986105, lost > > 4833 testpmd fwd stats: RX-packets: 41986110, TX-packets: 41986110 > > port xstats: rx_unicast_packets: 41990938 (all packets reached to the > NIC port), rx_good_packets: 41986111 (some is lost), but there is not any > counter of the lost packet. > > > > Here is the log: > > [root@up-0 /]# dpdk-testpmd -l "2,3" --legacy-mem --socket-mem > > "5000,0" -a 0000:03:06.7 -- -i --nb-cores=3D1 --portmask=3D0x1 --rxd= =3D512 > > --txd=3D512 > > EAL: Detected 28 lcore(s) > > EAL: Detected 2 NUMA nodes > > EAL: Detected static linkage of DPDK > > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > > EAL: Selected IOVA mode 'VA' > > EAL: No available hugepages reported in hugepages-2048kB > > EAL: Probing VFIO support... > > EAL: Probe PCI driver: mlx5_pci (15b3:1018) device: 0000:03:06.7 > > (socket 0) > > mlx5_pci: cannot bind mlx5 socket: Read-only file system > > mlx5_pci: Cannot initialize socket: Read-only file system > > EAL: No legacy callbacks, legacy socket not created Interactive-mode > > selected > > testpmd: create a new mbuf pool : n=3D155456, size=3D2176, > > socket=3D0 > > testpmd: preferred mempool ops selected: ring_mp_mc > > > > Warning! port-topology=3Dpaired and odd forward ports number, the last > port will pair with itself. > > > > Configuring Port 0 (socket 0) > > Port 0: 7A:9A:8A:A6:86:93 > > Checking link statuses... > > Done > > testpmd> port stop 0 > > Stopping ports... > > Checking link statuses... > > Done > > testpmd> vlan set filter on 0 > > testpmd> rx_vlan add 767 0 > > testpmd> port start 0 > > Port 0: 7A:9A:8A:A6:86:93 > > Checking link statuses... > > Done > > testpmd> set fwd 5tswap > > Set 5tswap packet forwarding mode > > testpmd> start > > 5tswap packet forwarding - ports=3D1 - cores=3D1 - streams=3D1 - NUMA > > support enabled, MP allocation mode: native Logical Core 3 (socket 0) > forwards packets on 1 streams: > > RX P=3D0/Q=3D0 (socket 0) -> TX P=3D0/Q=3D0 (socket 0) > > peer=3D02:00:00:00:00:00 > > > > 5tswap packet forwarding packets/burst=3D32 > > nb forwarding cores=3D1 - nb forwarding ports=3D1 > > port 0: RX queue number: 1 Tx queue number: 1 > > Rx offloads=3D0x200 Tx offloads=3D0x0 > > RX queue: 0 > > RX desc=3D512 - RX free threshold=3D64 > > RX threshold registers: pthresh=3D0 hthresh=3D0 wthresh=3D0 > > RX Offloads=3D0x200 > > TX queue: 0 > > TX desc=3D512 - TX free threshold=3D0 > > TX threshold registers: pthresh=3D0 hthresh=3D0 wthresh=3D0 > > TX offloads=3D0x0 - TX RS bit threshold=3D0 > > > > testpmd> show fwd stats all > > > > ---------------------- Forward statistics for port 0 > ---------------------- > > RX-packets: 41986110 RX-dropped: 0 RX-total: > 41986110 > > TX-packets: 41986110 TX-dropped: 0 TX-total: > 41986110 > > > > ---------------------------------------------------------------------- > > ------ > > > > testpmd> show port xstats 0 > > ###### NIC extended statistics for port 0 > > rx_good_packets: 41986111 > > tx_good_packets: 41986111 > > rx_good_bytes: 3106973594 > > tx_good_bytes: 3106973594 > > rx_missed_errors: 0 > > rx_errors: 0 > > tx_errors: 0 > > rx_mbuf_allocation_errors: 0 > > rx_q0_packets: 41986111 > > rx_q0_bytes: 3106973594 > > rx_q0_errors: 0 > > tx_q0_packets: 41986111 > > tx_q0_bytes: 3106973594 > > rx_wqe_errors: 0 > > rx_unicast_packets: 41990938 > > rx_unicast_bytes: 3107329412 > > tx_unicast_packets: 41986111 > > tx_unicast_bytes: 3106973594 > > rx_multicast_packets: 1 > > rx_multicast_bytes: 114 > > tx_multicast_packets: 0 > > tx_multicast_bytes: 0 > > rx_broadcast_packets: 5 > > rx_broadcast_bytes: 1710 > > tx_broadcast_packets: 0 > > tx_broadcast_bytes: 0 > > tx_phy_packets: 0 > > rx_phy_packets: 0 > > rx_phy_crc_errors: 0 > > tx_phy_bytes: 0 > > rx_phy_bytes: 0 > > rx_phy_in_range_len_errors: 0 > > rx_phy_symbol_errors: 0 > > rx_phy_discard_packets: 0 > > tx_phy_discard_packets: 0 > > tx_phy_errors: 0 > > rx_out_of_buffer: 0 > > tx_pp_missed_interrupt_errors: 0 > > tx_pp_rearm_queue_errors: 0 > > tx_pp_clock_queue_errors: 0 > > tx_pp_timestamp_past_errors: 0 > > tx_pp_timestamp_future_errors: 0 > > tx_pp_jitter: 0 > > tx_pp_wander: 0 > > tx_pp_sync_lost: 0 > > testpmd> q > > Command not found > > testpmd> exit > > Command not found > > testpmd> quit > > Telling cores to stop... > > Waiting for lcores to finish... > > > > ---------------------- Forward statistics for port 0 > ---------------------- > > RX-packets: 41986112 RX-dropped: 0 RX-total: > 41986112 > > TX-packets: 41986112 TX-dropped: 0 TX-total: > 41986112 > > > > ---------------------------------------------------------------------- > > ------ > > > > Best regards > > Yan Xiaoping > > > > -----Original Message----- > > From: David Marchand > > Sent: 2021=E5=B9=B410=E6=9C=8818=E6=97=A5 18:45 > > To: Yan, Xiaoping (NSB - CN/Hangzhou) > > Cc: Asaf Penso ; users@dpdk.org; Slava Ovsiienko > > ; Matan Azrad ; Raslan > > Darawsheh > > Subject: Re: mlx5 VF packet lost between rx_port_unicast_packets and > > rx_good_packets > > > > On Mon, Oct 18, 2021 at 11:28 AM Yan, Xiaoping (NSB - CN/Hangzhou) < > xiaoping.yan@nokia-sbell.com> wrote: > >> I have cloned dpdk code from github > >> > >> [xiaopiya@fedora30 dpdk]$ git remote -v origin > >> https://github.com/DPDK/dpdk.git (fetch) origin > >> https://github.com/DPDK/dpdk.git (push) > >> > >> which tag should I use? > >> > >> Or do I have to download 20.11.3 from git.dpdk.org? > >> > >> Sorry, I don=E2=80=99t know the relation between https://github.com/DP= DK and > git.dpdk.org? > > Github DPDK/dpdk repo is a replication of the main repo hosted on > dpdk.org servers. > > > > The official git repos and releases tarballs are on dpdk.org servers. > > The list of official releases tarballs is at: > > http://core.dpdk.org/download/ The main repo git is at: > > https://git.dpdk.org/dpdk/ The LTS/stable releases repo git is at: > > https://git.dpdk.org/dpdk-stable/ > > > > > > -- > > David Marchand > > > > --00000000000068e0d505cf600b5e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Are the rx_missed_errors/rx_out_of_buffer counters al= ways showing 0 no matter how fast you push your generator?

I had a similar issue with missing counters on DPDK 20.11 that was fixe= d on 21.05 by applying this patch:
Hi,

I checked the counter from PF with ethtool -S, there is no counter named &#= 39;rx_prio0_buf_discard'
Anyway, I checked all counters from ethtool output, there is not any counte= r reflects the dropped packets.

Any suggestion from mlx maintainer? @Matan Azrad @Asaf Penso @Slava Ovsiien= ko @Raslan Darawsheh

Thank you.


Best regards
Yan Xiaoping

-----Original Message-----
From: Martin Weiser <martin.weiser@allegro-packets.com>
Sent: 2021=E5=B9=B410=E6=9C=8827=E6=97=A5 15:54
To: Yan, Xiaoping (NSB - CN/Hangzhou) <xiaoping.yan@nokia-sbell.com>; Davi= d Marchand <david.marchand@redhat.com>
Cc: Asaf Penso <as= afp@nvidia.com>; users@dpdk.org; Slava Ovsiienko <viacheslavo@nvidia.com>; Matan Azrad <<= a href=3D"mailto:matan@nvidia.com" target=3D"_blank">matan@nvidia.com&g= t;; Raslan Darawsheh <rasland@nvidia.com>
Subject: Re: mlx5 VF packet lost between rx_port_unicast_packets and rx_goo= d_packets

Hi,

you may want to check the counter 'rx_prio0_buf_discard' with ethto= ol (which is not available in DPDK xstats as it seems that this counter is = global for the card and not available per port).
I opened a ticket a while ago regarding this issue:
https://bugs.dpdk.org/show_bug.cgi?id=3D749

Best regards,
Martin


Am 27.10.21 um 08:17 schrieb Yan, Xiaoping (NSB - CN/Hangzhou):
> Hi,
>
> I tried with dpdk 20.11-3 downloaded from
> https://fast.dpdk.org/rel/dpdk-20.11.3.tar.xz<= br> > Problem still exist:
> 1. there is packet loss with 2mpps (small packet), 2. no counter for <= br> > the dropped packet in NIC.
>
> traffic generator stats: sends 41990938, receives back 41986105, lost =
> 4833 testpmd fwd stats: RX-packets: 41986110, TX-packets: 41986110 > port xstats: rx_unicast_packets: 41990938=C2=A0 (all packets reached t= o the NIC port), rx_good_packets: 41986111 (some is lost), but there is not= any counter of the lost packet.
>
> Here is the log:
> [root@up-0 /]# dpdk-testpmd -l "2,3" --legacy-mem --socket-m= em
> "5000,0" -a 0000:03:06.7=C2=A0 -- -i --nb-cores=3D1 --portma= sk=3D0x1 --rxd=3D512
> --txd=3D512
> EAL: Detected 28 lcore(s)
> EAL: Detected 2 NUMA nodes
> EAL: Detected static linkage of DPDK
> EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
> EAL: Selected IOVA mode 'VA'
> EAL: No available hugepages reported in hugepages-2048kB
> EAL: Probing VFIO support...
> EAL: Probe PCI driver: mlx5_pci (15b3:1018) device: 0000:03:06.7
> (socket 0)
> mlx5_pci: cannot bind mlx5 socket: Read-only file system
> mlx5_pci: Cannot initialize socket: Read-only file system
> EAL: No legacy callbacks, legacy socket not created Interactive-mode <= br> > selected
> testpmd: create a new mbuf pool <mb_pool_0>: n=3D155456, size=3D= 2176,
> socket=3D0
> testpmd: preferred mempool ops selected: ring_mp_mc
>
> Warning! port-topology=3Dpaired and odd forward ports number, the last= port will pair with itself.
>
> Configuring Port 0 (socket 0)
> Port 0: 7A:9A:8A:A6:86:93
> Checking link statuses...
> Done
> testpmd> port stop 0
> Stopping ports...
> Checking link statuses...
> Done
> testpmd> vlan set filter on 0
> testpmd> rx_vlan add 767 0
> testpmd> port start 0
> Port 0: 7A:9A:8A:A6:86:93
> Checking link statuses...
> Done
> testpmd> set fwd 5tswap
> Set 5tswap packet forwarding mode
> testpmd> start
> 5tswap packet forwarding - ports=3D1 - cores=3D1 - streams=3D1 - NUMA =
> support enabled, MP allocation mode: native Logical Core 3 (socket 0) = forwards packets on 1 streams:
>=C2=A0 =C2=A0 RX P=3D0/Q=3D0 (socket 0) -> TX P=3D0/Q=3D0 (socket 0)=
> peer=3D02:00:00:00:00:00
>
>=C2=A0 =C2=A0 5tswap packet forwarding packets/burst=3D32
>=C2=A0 =C2=A0 nb forwarding cores=3D1 - nb forwarding ports=3D1
>=C2=A0 =C2=A0 port 0: RX queue number: 1 Tx queue number: 1
>=C2=A0 =C2=A0 =C2=A0 Rx offloads=3D0x200 Tx offloads=3D0x0
>=C2=A0 =C2=A0 =C2=A0 RX queue: 0
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 RX desc=3D512 - RX free threshold=3D64
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 RX threshold registers: pthresh=3D0 hthresh= =3D0=C2=A0 wthresh=3D0
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 RX Offloads=3D0x200
>=C2=A0 =C2=A0 =C2=A0 TX queue: 0
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 TX desc=3D512 - TX free threshold=3D0
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 TX threshold registers: pthresh=3D0 hthresh= =3D0=C2=A0 wthresh=3D0
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 TX offloads=3D0x0 - TX RS bit threshold=3D0=
>
> testpmd> show fwd stats all
>
>=C2=A0 =C2=A0 ---------------------- Forward statistics for port 0=C2= =A0 ----------------------
>=C2=A0 =C2=A0 RX-packets: 41986110=C2=A0 =C2=A0 =C2=A0 =C2=A0RX-dropped= : 0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0RX-total: 41986110
>=C2=A0 =C2=A0 TX-packets: 41986110=C2=A0 =C2=A0 =C2=A0 =C2=A0TX-dropped= : 0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0TX-total: 41986110
>=C2=A0 =C2=A0
> ----------------------------------------------------------------------=
> ------
>
> testpmd> show port xstats 0
> ###### NIC extended statistics for port 0
> rx_good_packets: 41986111
> tx_good_packets: 41986111
> rx_good_bytes: 3106973594
> tx_good_bytes: 3106973594
> rx_missed_errors: 0
> rx_errors: 0
> tx_errors: 0
> rx_mbuf_allocation_errors: 0
> rx_q0_packets: 41986111
> rx_q0_bytes: 3106973594
> rx_q0_errors: 0
> tx_q0_packets: 41986111
> tx_q0_bytes: 3106973594
> rx_wqe_errors: 0
> rx_unicast_packets: 41990938
> rx_unicast_bytes: 3107329412
> tx_unicast_packets: 41986111
> tx_unicast_bytes: 3106973594
> rx_multicast_packets: 1
> rx_multicast_bytes: 114
> tx_multicast_packets: 0
> tx_multicast_bytes: 0
> rx_broadcast_packets: 5
> rx_broadcast_bytes: 1710
> tx_broadcast_packets: 0
> tx_broadcast_bytes: 0
> tx_phy_packets: 0
> rx_phy_packets: 0
> rx_phy_crc_errors: 0
> tx_phy_bytes: 0
> rx_phy_bytes: 0
> rx_phy_in_range_len_errors: 0
> rx_phy_symbol_errors: 0
> rx_phy_discard_packets: 0
> tx_phy_discard_packets: 0
> tx_phy_errors: 0
> rx_out_of_buffer: 0
> tx_pp_missed_interrupt_errors: 0
> tx_pp_rearm_queue_errors: 0
> tx_pp_clock_queue_errors: 0
> tx_pp_timestamp_past_errors: 0
> tx_pp_timestamp_future_errors: 0
> tx_pp_jitter: 0
> tx_pp_wander: 0
> tx_pp_sync_lost: 0
> testpmd> q
> Command not found
> testpmd> exit
> Command not found
> testpmd> quit
> Telling cores to stop...
> Waiting for lcores to finish...
>
>=C2=A0 =C2=A0 ---------------------- Forward statistics for port 0=C2= =A0 ----------------------
>=C2=A0 =C2=A0 RX-packets: 41986112=C2=A0 =C2=A0 =C2=A0 =C2=A0RX-dropped= : 0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0RX-total: 41986112
>=C2=A0 =C2=A0 TX-packets: 41986112=C2=A0 =C2=A0 =C2=A0 =C2=A0TX-dropped= : 0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0TX-total: 41986112
>=C2=A0 =C2=A0
> ----------------------------------------------------------------------=
> ------
>
> Best regards
> Yan Xiaoping
>
> -----Original Message-----
> From: David Marchand <david.marchand@redhat.com>
> Sent: 2021=E5=B9=B410=E6=9C=8818=E6=97=A5 18:45
> To: Yan, Xiaoping (NSB - CN/Hangzhou) <xiaoping.yan@nokia-sbell.com><= br> > Cc: Asaf Penso <asafp@nvidia.com>; users@dpdk.org; Slava Ovsiienko
> <viache= slavo@nvidia.com>; Matan Azrad <matan@nvidia.com>; Raslan
> Darawsheh <= rasland@nvidia.com>
> Subject: Re: mlx5 VF packet lost between rx_port_unicast_packets and <= br> > rx_good_packets
>
> On Mon, Oct 18, 2021 at 11:28 AM Yan, Xiaoping (NSB - CN/Hangzhou) <= ;xiaoping= .yan@nokia-sbell.com> wrote:
>> I have cloned dpdk code from github
>>
>> [xiaopiya@fedora30 dpdk]$ git remote -v origin
>> https://github.com/DPDK/dpdk.git (fetch) origin
>> https://github.com/DPDK/dpdk.git (push)
>>
>> which tag should I use?
>>
>> Or do I have to download 20.11.3 from git.dpdk.org?
>>
>> Sorry, I don=E2=80=99t know the relation between https://github.com/= DPDK and=C2=A0 git.dpdk.org?
> Github DPDK/dpdk repo is a replication of the main repo hosted on dpdk.org s= ervers.
>
> The official git repos and releases tarballs are on dpdk.org servers.
> The list of official releases tarballs is at:
> http://core.dpdk.org/download/ The main repo git is at: > https://git.dpdk.org/dpdk/ The LTS/stable releases repo git is at= :
> https://git.dpdk.org/dpdk-stable/
>
>
> --
> David Marchand
>

--00000000000068e0d505cf600b5e--