Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758103AbcK3TLf (ORCPT ); Wed, 30 Nov 2016 14:11:35 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:39832 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754198AbcK3TL0 (ORCPT ); Wed, 30 Nov 2016 14:11:26 -0500 Date: Wed, 30 Nov 2016 14:11:21 -0500 (EST) Message-Id: <20161130.141121.375154493677208609.davem@davemloft.net> To: sunil.kovvuri@gmail.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, sgoutham@cavium.com Subject: Re: [PATCH net-next] net: thunderx: Fix transmit queue timeout issue From: David Miller In-Reply-To: <1480419620-32500-1-git-send-email-sunil.kovvuri@gmail.com> References: <1480419620-32500-1-git-send-email-sunil.kovvuri@gmail.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 30 Nov 2016 10:11:59 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 327 Lines: 9 From: sunil.kovvuri@gmail.com Date: Tue, 29 Nov 2016 17:10:20 +0530 > + /* Check again, incase another cpu freed descriptors */ > + if (atomic_read(&sq->free_cnt) > MIN_SQ_DESC_PER_PKT_XMIT) { > + netif_tx_start_queue(txq); You have to use netif_tx_wake_queue() any time you restart a queue after bringing the device up.