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 A828145B1D for ; Sat, 12 Oct 2024 17:08:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9094640268; Sat, 12 Oct 2024 17:08:44 +0200 (CEST) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mails.dpdk.org (Postfix) with ESMTP id CDD7440265 for ; Sat, 12 Oct 2024 17:08:42 +0200 (CEST) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-71e02249621so2382611b3a.1 for ; Sat, 12 Oct 2024 08:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=domainhart-com.20230601.gappssmtp.com; s=20230601; t=1728745721; x=1729350521; darn=dpdk.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=SeUx9VgQav9OCzYEYByXP4uSmKRAH0dZKCuIzKIIPOM=; b=MBrJiAHRg0G//6YnEwcYHWXhfBdN+GI9V5xUDsxTIeeWb86aGwx8CPzXBfu2xQqunu tmWY/jfzkRZ4loTiuhsc+1XHylobRyF5+m1gli/6kaNm/f3u9t8wQ/glJ6pwkOiIW64D B2xGvwHzQSB5FOa993L+RMhNA5DI4+r7Xk3pSwPU+uq6Kpl9L94/BPmoS+1pFOOKdelU g81duqcX8WKyd58DorzXBizFmhPnl6hFfcZ8a3HPCrzQscmyhivp2geWWJp2nR+wmexU r718JSx2rjkTd1maXDFk9bN8WrujPE7rm1HvGRAFrt+PCz7i3E4HUJuXbW7+D1bxOGq9 t/Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728745721; x=1729350521; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=SeUx9VgQav9OCzYEYByXP4uSmKRAH0dZKCuIzKIIPOM=; b=ecWwJrnSmiA6DMGgSfCID2ZuIVXrT+z4jObGJYtDcsqvr8fLjJwCxVrl7F9HJ8nP6J 1H68O3xR6QZEYkGT7ffMGzHAYBReSoxWwCtE9Hirghde8GwFtJjfNvRQYmlVFsWlGhWW zNePHnIl8/96gR6wMr47xRohCJCvqr1SUxX1adkuIvc/+uWkGBXJGpvCgNOMAXzgiI6g WCZhUYgsFaIjLw3y5vV2hCNwaN6UbqNiJSRXwSeQDemj5zBkYxo5DUgagD6T+pNlq+wQ eEBsjoWgDW3Dg1ihrBBz4kNuc6EBpNGmGY/U24fSRIYjYbt3O6jQNVNQpPEJybkW/Vc3 VGEQ== X-Gm-Message-State: AOJu0Yzkjc5CyZIHu62lz80ncnLBn6Ni4J1JCVAN/xCvWaEj8Ma2qcN/ Xnkw8fQNgWRfELmajPYPcMLOmeliyhsrjY/eCDn0yDO4ZMfFoUn615qqYW/33PabodSnTepayiD Yv7fUCDSVhau9Akrccfmx889I6EX2q0RpL0KA1jAxRNmKeBwXq5Q= X-Google-Smtp-Source: AGHT+IFvNiVi7Y2EmulvsrHy+qxwp97IeMgGyz7SNIswdTTKi9qluALnd3X0AnJSksTV9JOcl/TiwwMRsJgmkEMFUow= X-Received: by 2002:a05:6a00:3e03:b0:71e:cb:e7bf with SMTP id d2e1a72fcca58-71e4c1bfb45mr4486897b3a.18.1728745721489; Sat, 12 Oct 2024 08:08:41 -0700 (PDT) MIME-Version: 1.0 From: Tony Hart Date: Sat, 12 Oct 2024 11:08:30 -0400 Message-ID: Subject: mlx5: imissed versus prio0_buf_discards To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000a309d3062448fa92" 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 --000000000000a309d3062448fa92 Content-Type: text/plain; charset="UTF-8" I have a simple DPDK app that receives packets via RSS from a CX7 (400G). The app uses 16 queues across 16 cores. What I see is dropped packets even at only 50Mpps. Looking at rte_eth_port_xstats() I see rx_prio0_buf_discard_packets matches the number of packets dropped however the imissed counter (from rte_eth_port_stats) is 0. Indeed when I look at the rx_queue depths from each thread in the app they barely reach 30 entries (I'm using the default number of queue descs). What is the difference between rx_prio0_buf_discards and imissed counters, why would rx_prio0_buf_discards increase but not imissed? many thanks, tony fyi: this is using DPKD 24.07 and the HWS RTE FLOW Api to setup the RSS flow. Firmware is 28.41 --000000000000a309d3062448fa92 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I have a simple DP= DK app that receives packets via RSS from a CX7 (400G).=C2=A0 The app uses = 16 queues across 16 cores.=C2=A0 What I see is dropped packets even at only= 50Mpps.

Looking at rte_eth_port_xstats() I see=C2= =A0=C2=A0rx_prio0_buf_discard_packets matches the number of packets dropped= however the imissed counter (from rte_eth_port_stats) is 0.=C2=A0 Indeed w= hen I look at the rx_queue depths from each thread in the app they barely r= each 30 entries (I'm=C2=A0using the default number of queue descs).

What is the difference between rx_prio0_buf_discards = and imissed=C2=A0counters, why would rx_prio0_buf_discards increase but not= imissed?

many thanks,
tony

fyi: thi= s is using DPKD 24.07 and the HWS RTE FLOW Api to setup the RSS flow.=C2=A0= Firmware is 28.41
--000000000000a309d3062448fa92--