From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-fw-33001.amazon.com (smtp-fw-33001.amazon.com [207.171.190.10]) by dpdk.org (Postfix) with ESMTP id DDA431B130; Mon, 14 Jan 2019 18:54:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1547488471; x=1579024471; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=1hX81+Q/QyzqLmfgDGKOJv9VpkKnbQ1PQVavi56hUxU=; b=QtrFJ9/708SaiG7qmgV1qKDVcFfQiF0IIQseOfkej8vs8DUzDz6zlzaS yNjFS8bN6ppl5mrjv2/Vdjh7cp2z/iasXHEfuS8yNaaJsSpJMIdes33B9 Y2C67kC41ygQt17nDFpylnf39io3absGQ0FtBPqEYdiEP8bk5t9pXAYwd 4=; X-IronPort-AV: E=Sophos;i="5.56,253,1539648000"; d="scan'208";a="776369805" Received: from sea3-co-svc-lb6-vlan2.sea.amazon.com (HELO email-inbound-relay-1d-2c665b5d.us-east-1.amazon.com) ([10.47.22.34]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 14 Jan 2019 17:54:24 +0000 Received: from EX13MTAUEA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1d-2c665b5d.us-east-1.amazon.com (8.14.7/8.14.7) with ESMTP id x0EHsLQm018077 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 14 Jan 2019 17:54:22 GMT Received: from EX13D01EUA001.ant.amazon.com (10.43.165.121) by EX13MTAUEA001.ant.amazon.com (10.43.61.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 14 Jan 2019 17:54:21 +0000 Received: from EX13D01EUA004.ant.amazon.com (10.43.165.123) by EX13D01EUA001.ant.amazon.com (10.43.165.121) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 14 Jan 2019 17:54:20 +0000 Received: from EX13D01EUA004.ant.amazon.com ([10.43.165.123]) by EX13D01EUA004.ant.amazon.com ([10.43.165.123]) with mapi id 15.00.1367.000; Mon, 14 Jan 2019 17:54:20 +0000 From: "Soni, Shivam" To: Stephen Hemminger CC: "dev@dpdk.org" , "users@dpdk.org" Thread-Topic: [dpdk-dev] TX unable to enqueue packets to NIC due to no free TX descriptor Thread-Index: AQHUqfp8gs2WiPzhjEunZZjrnn3cVqWquS6A//+HxQCABElRgA== Date: Mon, 14 Jan 2019 17:54:19 +0000 Message-ID: References: <454CCFA5-5843-441F-9C6D-33E807419574@amazon.com> <20190111153709.3117c539@hermes.lan> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.166.81] Content-Type: text/plain; charset="utf-8" Content-ID: <4106B161628D1F459D3E82D5DF96AF8F@amazon.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: Bulk Subject: Re: [dpdk-dev] TX unable to enqueue packets to NIC due to no free TX descriptor X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2019 17:54:31 -0000 SSBkb3VibGVkIHRoZSBtZW1wb29sIHNpemUgdG8gNjU1MzUgYnV0IHRoZSBpc3N1ZSBpcyBub3Qg cmVzb2x2ZWQuDQoNCu+7v09uIDEvMTEvMTksIDQ6MjcgUE0sICJkZXYgb24gYmVoYWxmIG9mIFNv bmksIFNoaXZhbSIgPGRldi1ib3VuY2VzQGRwZGsub3JnIG9uIGJlaGFsZiBvZiBzaGl2c29uaUBh bWF6b24uY29tPiB3cm90ZToNCg0KICAgIEhpIFN0ZXBoZW4sDQogICAgDQ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