From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by dpdk.org (Postfix) with ESMTP id C93B48D89 for ; Tue, 22 Sep 2015 00:41:17 +0200 (CEST) Received: by padhy16 with SMTP id hy16so128524172pad.1 for ; Mon, 21 Sep 2015 15:41:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=XMK3qJtdAiPK4Pu5GN+5EpO+V0QckvByxUGYb+FbRqA=; b=lu8sqeRluSgdPMCPYMa/U+96x3SKq0Qb5eOo7syKY11LL4tZLEmPSpadrdKZmqeSuC TQqOa1FPZ+ryPcd93M5plYvoAoBCnw62Eri0/QqJgPMr3CsWkz6n+ykvsY7I0+Uki83b 2i/JUdc6QPkllLk5qxp+EThQUWm2g0zwgjth9kBmO6nYgVPNTY3XuRUd97FzojNVZkls B1yvpDgkHUsjRQry8RvRw4kKg8qxJaL5mnqSqvYPJXhKVcC69r3TY6+F4llemZq/4XnD sCvorrvmO2aPZMrMqvp7TnYIyiv08Q3emm1f67Lv4/2rtvtUvfeA3RqTJneTWRjceF9m 66Iw== X-Gm-Message-State: ALoCoQlNbHEB3DvGAc2uFgofI78JnyyoLNqZyOKXPZm0g6ikV7ER3WmGBJtqggwSYVyoxyEbofDC X-Received: by 10.66.121.229 with SMTP id ln5mr27153057pab.133.1442875277245; Mon, 21 Sep 2015 15:41:17 -0700 (PDT) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id ql5sm26665429pac.46.2015.09.21.15.41.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Sep 2015 15:41:17 -0700 (PDT) Date: Mon, 21 Sep 2015 15:41:30 -0700 From: Stephen Hemminger To: Alejandro Lucero Message-ID: <20150921154130.5b5dd845@urahara> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev Subject: Re: [dpdk-dev] rte_eth_rx_queue_count accuracy X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2015 22:41:18 -0000 On Fri, 18 Sep 2015 11:33:36 +0100 Alejandro Lucero wrote: > I have seen the API definition says nothing about accuracy but some PMD > implementations sacrifice accuracy for the sake of performance. If I'm not > understanding the code wrongly i40e and ixgbe check DD bit just for the > first descriptor in a group of 4, and they take all of them as used if the > first descriptor is used. > > By other hand, they do a "heavy" calculation when the descriptor ring wraps > which does not make sense (to me) if same performance goal is used. > > There are PMDs not supporting this option and I can not see any app or > example using it so I do not know how important is this function, its > accuracy and its performance impact. Can someone comment on this? > > Thanks I have version of this for virtio/vmxnet3 It is useful when using the interrupt control mode.