From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f50.google.com (mail-vk0-f50.google.com [209.85.213.50]) by dpdk.org (Postfix) with ESMTP id 952F88D9E for ; Tue, 22 Sep 2015 12:40:07 +0200 (CEST) Received: by vkgd64 with SMTP id d64so3340722vkg.0 for ; Tue, 22 Sep 2015 03:40:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=6pOq+6oQAk74qpGgYKV/gPm+FO5Jal5N/G7FBXxcdS8=; b=RDfx0mmevZunsduSp1liaJaFx24MTMGaGNCurUPbMle0pWopGT2xE4lzvHT+lx+dfS uD7Dgx2NbStq4o+RgoQfxIIUzaivwSGQcdU6T2+xbqXhf0U1SMVDtFEV4c1YGWNkOcU0 ZcNlDcvxDtf0d+8tE527+hbSW27AN4p8Np1eo3bk0D3Ob6AEREt1PHH/tCzbRWc9y16g wCI57PopO/ur2itd3hN0Aul0Td4UzVjWnboClcoXR4D+fA/IeEaFkYCbbbqoR3XGaAgZ /YWPb7kVSVjJ7bzXLpNQ806ZAHlvDjPcgBVwbaf1DBgyLkrx2qO3/HihVkctEFh0J/J2 Fn+Q== X-Gm-Message-State: ALoCoQlqggyK6+POm4DMUTWu+1a9uj6PbQwZEHKt4eXVKhn2HJJLbGKVKtdbot7/bp+edu0e+Qta MIME-Version: 1.0 X-Received: by 10.31.36.151 with SMTP id k145mr16912180vkk.150.1442918407005; Tue, 22 Sep 2015 03:40:07 -0700 (PDT) Received: by 10.103.48.86 with HTTP; Tue, 22 Sep 2015 03:40:06 -0700 (PDT) In-Reply-To: <20150921154130.5b5dd845@urahara> References: <20150921154130.5b5dd845@urahara> Date: Tue, 22 Sep 2015 11:40:06 +0100 Message-ID: From: Alejandro Lucero To: Stephen Hemminger Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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: Tue, 22 Sep 2015 10:40:08 -0000 I can not see that code. Can you point out where is it? Thanks On Mon, Sep 21, 2015 at 11:41 PM, Stephen Hemminger < stephen@networkplumber.org> wrote: > 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. >