From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4] ixgbe_pmd: enforce RS bit on every EOP descriptor for devices newer than 82598 Date: Tue, 27 Oct 2015 19:09:19 +0100 Message-ID: <1764015.lv7zT9MUyf@xps13> References: <1440085070-13989-1-git-send-email-vladz@cloudius-systems.com> <55DAD1C9.3010802@cloudius-systems.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, jeffrey.t.kirsher@intel.com, jesse.brandeburg@intel.com To: Vlad Zolotarov , Konstantin Ananyev , helin.zhang@intel.com Return-path: Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by dpdk.org (Postfix) with ESMTP id F31328D9A for ; Tue, 27 Oct 2015 19:10:29 +0100 (CET) Received: by wijp11 with SMTP id p11so226368270wij.0 for ; Tue, 27 Oct 2015 11:10:29 -0700 (PDT) In-Reply-To: <55DAD1C9.3010802@cloudius-systems.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Any Follow-up to this discussion? Should we mark this patch as rejected? 2015-08-24 11:11, Vlad Zolotarov: > On 08/20/15 18:37, Vlad Zolotarov wrote: > > According to 82599 and x540 HW specifications RS bit *must* be > > set in the last descriptor of *every* packet. > > > > Before this patch there were 3 types of Tx callbacks that were setting > > RS bit every tx_rs_thresh descriptors. This patch introduces a set of > > new callbacks, one for each type mentioned above, that will set the RS > > bit in every EOP descriptor. > > > > ixgbe_set_tx_function() will set the appropriate Tx callback according > > to the device family. > > [+Jesse and Jeff] > > I've started to look at the i40e PMD and it has the same RS bit > deferring logic > as ixgbe PMD has (surprise, surprise!.. ;)). To recall, i40e PMD uses a > descriptor write-back > completion mode. > > From the HW Spec it's unclear if RS bit should be set on *every* descriptor > with EOP bit. However I noticed that Linux driver, before it moved to > HEAD write-back mode, was setting RS > bit on every EOP descriptor. > > So, here is a question to Intel guys: could u, pls., clarify this point? > > Thanks in advance, > vlad