From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=zH1JdOap/Jxt91eRY6XREBBAaFAj4BC8qZkHTAsz3xk=; b=p+iTozl/yxxZ4WAH8/ze8HPQW+JeKPFQRvOvz7sf2NSOzibCjT3VIH+g1YFdgmmvPH UfKaP+QKrgMHZ4vqMIxuZAIOSbHVzMEFKnehHeH1QO0KYivb+/3PnA1YQ8luchx1qIi1 q8oPwDga7b7kbcoG8MOXjNyw807FHpijN95kU1ENP6gbxshMy3x3ZuDbaKONWlv+IUKU +VJ9syfdXo0nlUc7IXLECdS4RtmOAa9dw8Ywzph5C76n/U8o78cAyYhFcuLMz30QbXh1 tpbc21rlXWJX5NFeH2r7Ld/llBvVK3xwTD8xU9DPI5J6YgQLnK4v8fgGnMZbo9c5pdrV WaOw== 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; bh=zH1JdOap/Jxt91eRY6XREBBAaFAj4BC8qZkHTAsz3xk=; b=Qn2I8yt/AJ2Nv2Kv/uw/1wTXOEpGojiHyMWa/EM+gopw/wX5iWuno7+eZ4OTc2B2i6 dJidpQOaJWAwJLO/mvXvqhGpQdt0f+nFqZGpIwfSzfPplJgHz0UL7VRH2p8Nta63YkKl Pv+szQ/qPAO+SPu4gbovrKCagabya9rXOtDb32bnMKnqyNpTGEMjxa8Qsw14xz6WJP3m 93kO5MdW8OuN1cqXvuvVuX2t4TpjPQDKGM1NrPqL8L0mFXxZpQE2PHRn/h06ElG+rF8n 19yYBkh+9ogu9SIEuC5Rj/zWJjPqLerlS32xlY+GiaXT4vPfqapvn1dF1egB2dJkUkdf Y2og== X-Gm-Message-State: AD7BkJIbce7mg70ywZxNVkKdNw2JP2fOPe6ijE1to4RoFzQitc6/wt1J4Ef54utDomvRZUnV X-Received: by 10.28.52.197 with SMTP id b188mr25932311wma.77.1459359088568; Wed, 30 Mar 2016 10:31:28 -0700 (PDT) Received: from xps13.localnet (109.202.154.77.rev.sfr.net. [77.154.202.109]) by smtp.gmail.com with ESMTPSA id m130sm3859105wmf.10.2016.03.30.10.31.27 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2016 10:31:28 -0700 (PDT) From: Thomas Monjalon To: John Daley Cc: dev@dpdk.org Date: Wed, 30 Mar 2016 19:29:30 +0200 Message-ID: <4635344.5mjFQ5mRE8@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1458953007-11129-1-git-send-email-johndale@cisco.com> References: <1458953007-11129-1-git-send-email-johndale@cisco.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] enic: fix TX hang when number of packets > queue size 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: Wed, 30 Mar 2016 17:31:28 -0000 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