From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by dpdk.org (Postfix) with ESMTP id 14248C3C2 for ; Mon, 3 Aug 2015 17:08:35 +0200 (CEST) Received: by wibxm9 with SMTP id xm9so118743072wib.1 for ; Mon, 03 Aug 2015 08:08:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=7n0C/RCJ3kIKkMTxwC0h2PHKU9+v/d11ysPAjqxXqw4=; b=TXO4I2Y4TXTyefGAMkyfROZRlboQGKLRJHseK5l/hwAE5Ns5hMi9IcvymKZEi+d1ub 9mFsOoH0Hpis6nvcH+c8+4jR46mqnBDqimu3t8uAM+pcgvFH3EgUO0nyYIAh8zf9q2Ac FZLCFkOX/JLkNu6gRdMDHuTHBebSgR3/q17iMMHqH/qEdQgH60M+q1DZGOoZFtYRL564 72hcHfcyMmaOf3Xn/Yln+q8YrZzG30QX6pJ0rxBSuYnHhXVv6D67asPeUbPpQprPb+Ic 9Z/r4ju70e9dowEkM0dikUrl3cB0t4ivS/aPOhvKAX/fzYJ/78Y8sOACcXkhbgO6iQVv k/uA== X-Gm-Message-State: ALoCoQllsXllxASR9fFqyy+Pp8vxgb1LnUOf3KhN4MPHPX706brKWElChRBbjNEG4Qw/3dKee+/0 X-Received: by 10.194.78.84 with SMTP id z20mr37068622wjw.141.1438614514894; Mon, 03 Aug 2015 08:08:34 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id k4sm14026165wix.19.2015.08.03.08.08.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Aug 2015 08:08:34 -0700 (PDT) From: Thomas Monjalon To: Eric Kinzie Date: Mon, 03 Aug 2015 17:07:20 +0200 Message-ID: <3452808.fsduaX7ycr@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1435256741-25489-2-git-send-email-ehkinzie@gmail.com> References: <1435256741-25489-1-git-send-email-ehkinzie@gmail.com> <1435256741-25489-2-git-send-email-ehkinzie@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 1/2] ixgbe: vector rx rearm after queue reset 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, 03 Aug 2015 15:08:35 -0000 2015-06-25 11:25, Eric Kinzie: > zero values in ixgbe_reset_rx_queue() used by vector receive so that > rearming the rx queue happens at the right time. Not doing so can in > some cases result in the software inadvertently setting the card's rx > tail pointer equal to the head pointer, which indicates that there are > no descriptors available. This causes receive to stop indefinitely > on that queue. > > Fixes: 01fa1d6215fa ("ixgbe: unify Rx setup") > > Signed-off-by: Eric Kinzie [...] > --- a/drivers/net/ixgbe/ixgbe_rxtx.c > +++ b/drivers/net/ixgbe/ixgbe_rxtx.c > @@ -2261,6 +2261,10 @@ ixgbe_reset_rx_queue(struct ixgbe_adapter *adapter, struct ixgbe_rx_queue *rxq) > rxq->nb_rx_hold = 0; > rxq->pkt_first_seg = NULL; > rxq->pkt_last_seg = NULL; > +#ifdef RTE_IXGBE_INC_VECTOR > + rxq->rxrearm_nb = 0; > + rxq->rxrearm_start = 0; > +#endif A similar patch has been applied: http://dpdk.org/browse/dpdk/commit/?id=48e967695ba78 Thanks