From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] enic: fix TX hang when number of packets > queue size Date: Wed, 30 Mar 2016 19:29:30 +0200 Message-ID: <4635344.5mjFQ5mRE8@xps13> References: <1458953007-11129-1-git-send-email-johndale@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: John Daley Return-path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id BB2F129CD for ; Wed, 30 Mar 2016 19:31:28 +0200 (CEST) Received: by mail-wm0-f54.google.com with SMTP id p65so81714306wmp.0 for ; Wed, 30 Mar 2016 10:31:28 -0700 (PDT) In-Reply-To: <1458953007-11129-1-git-send-email-johndale@cisco.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" 2016-03-25 17:43, John Daley: > If the nb_pkts parameter to rte_eth_tx_burst() was greater than > the TX descriptor count, a completion was not being requested > from the NIC, so descriptors would not be released back to the > host causing a lock-up. > > Introduce a limit of how many TX descriptors can be used in a single > call to the enic PMD burst TX function before requesting a completion. > > Fixes: d739ba4c6abf ("enic: improve Tx packet rate") > > Signed-off-by: John Daley Applied, thanks