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 8D9C641EA2 for ; Wed, 15 Mar 2023 19:44:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4FCEF40EE4; Wed, 15 Mar 2023 19:44:40 +0100 (CET) Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mails.dpdk.org (Postfix) with ESMTP id 878A140141 for ; Wed, 15 Mar 2023 19:44:39 +0100 (CET) Received: by mail-pj1-f50.google.com with SMTP id rj10so9334932pjb.4 for ; Wed, 15 Mar 2023 11:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; t=1678905878; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=qo6NB6AE8TLu0caP8Ys26xqWdiQoSuDqTICnFsp7GUE=; b=IrWdjcaHm7K1OoRpPKQu0eOpjpx6OLQaFSq7bQe4phNOTDt1pwX4Hj39FhNvx6AOmy L17MwbNu/WdnvA5XLxvyeXRh9OKTsS9kRXZfuYNZkB3zLIB0RzfRGtlaWOVL2YHIJYOg QeJl/xIfXJ15TqvMqHK99itD4OK5sKmk22tmFMGv/jPaovrnKAVOsTzUNG3wA7eJ0ghB 0iwARAvksnhsfYCcVGgXIM1OaLhx7jEKs2e86dXOYClRhs2nPP5klkSOTbMvXIEllciy 1CkR6mxfx6+JoSZ3U8orGD8Mi1d1SV4ZAcoRoeew5cIZtjHFw8yaOu07cM8rBGMERNOg 29Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678905878; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qo6NB6AE8TLu0caP8Ys26xqWdiQoSuDqTICnFsp7GUE=; b=NW8htZjVL+fhjR7Xf5hvv38aTuw2KQe/A4HigOxuED+9xHNdKR4GV3u9e6jjxkqhOb GsJF0ygmHGILF8lcg2d/0bJAhC0UXZrk0Blb1fAEcDHGY+U4N/S6ioH2xV/UTDHhkqyA tCWNS5Y62LCdOlgDiul5KkfjmwhZ2ypxRL6VULzEtbKWf6GUtNWeoM5dUOn8lqWVAp+2 tvmWe56aJcz2z2MsQd4tfq8dEitsODuB/kaGPCK6i6SJEirguNB/3U0Ajx0/TVUF0VkZ 5KZwBtZWi9QRTweePabOo+hspABUxLEeg9ul9NH8Jky5zt95WtJRJdm07LoFG5yMfC8C eP4w== X-Gm-Message-State: AO0yUKWDRI4lbs3bGchUH8XQWTyoPR4+vatkLM2uqmH0i8jWnNtnNbr3 Pzn+A+h3Px9ZMOIcH1n4NNq4Skqz9QgnxSB2WPTL/w== X-Google-Smtp-Source: AK7set/O/PkTZPOHg7nCRSi21tRETzpZbsPr8Lhe39gZ9ul5Up1cpgGSJTmjHW5uefOGpOQd5ako9Q== X-Received: by 2002:a17:902:c403:b0:19e:7628:9165 with SMTP id k3-20020a170902c40300b0019e76289165mr748556plk.4.1678905878493; Wed, 15 Mar 2023 11:44:38 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id kb5-20020a170903338500b0019a6cce2060sm3992067plb.57.2023.03.15.11.44.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 11:44:38 -0700 (PDT) Date: Wed, 15 Mar 2023 11:44:36 -0700 From: Stephen Hemminger To: Igor Gutorov Cc: users@dpdk.org Subject: Re: net_ring, net_memif are missing RX-missed counter Message-ID: <20230315114436.0af987cd@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Wed, 15 Mar 2023 20:41:06 +0300 Igor Gutorov wrote: > Hi, > > I've noticed that net_ring and net_memif PMDs always report RX-missed > counter as 0. Is it just a feature that is missing, or is it something that > fundamentally cannot be implemented for these PMDs? Rx missed is used by hardware devices to indicate the packets that driver could not receive because of lack of resources. It has to come from the hardware (or maybe the host in a virtual driver). There probably is not an analogous counter in memif because it would have to be maintained by the other side (sender) and then have a control API for it. If it is your application, then the sending side could report how many times tx_burst was unable to send packets.