From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E37FEA0566; Tue, 10 Mar 2020 16:16:41 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9AE181BF7F; Tue, 10 Mar 2020 16:16:40 +0100 (CET) Received: from smtp-fw-33001.amazon.com (smtp-fw-33001.amazon.com [207.171.190.10]) by dpdk.org (Postfix) with ESMTP id 366361C029 for ; Mon, 9 Mar 2020 11:07:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1583748474; x=1615284474; h=from:to:date:message-id:references:in-reply-to: mime-version:subject; bh=GQKEJUWamFw7ilPvnfJ32W/6T5vf4N+BYICGjw+iY+Y=; b=XdaVjSVZzTD4mhActgHFxZXNfbCpP3TdnQOw69sA/oacW3VVNFi0GTVP aZ6cNKuzpJZduRq5RL9FYhYYsrbxx7EAzOeW1PhJsQvKA9RHNRZf3dekN 6bAG11IsSIln1Y3cWust2MbZSC7R7hJk40dGdP5Y5jQyFmKVcpcROHHw7 I=; IronPort-SDR: g52bBXYd0w8pcvbbXa0n228FFyEIl/zGJFhcRVdegDKJZaiaUquUXPNnWEfy/Rgq8bKiMponjw jJkfNcZlPNLg== X-IronPort-AV: E=Sophos;i="5.70,532,1574121600"; d="scan'208,217";a="31429390" Thread-Topic: [dpdk-dev] [PATCH v1] ena_ethdev: don't override the user provided queue length value Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-2c-87a10be6.us-west-2.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP; 09 Mar 2020 10:07:52 +0000 Received: from EX13MTAUEA002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan2.pdx.amazon.com [10.170.41.162]) by email-inbound-relay-2c-87a10be6.us-west-2.amazon.com (Postfix) with ESMTPS id 821ADA2493; Mon, 9 Mar 2020 10:07:50 +0000 (UTC) Received: from EX13D11EUC002.ant.amazon.com (10.43.164.130) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Mon, 9 Mar 2020 10:07:49 +0000 Received: from EX13D12EUA003.ant.amazon.com (10.43.165.147) by EX13D11EUC002.ant.amazon.com (10.43.164.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 9 Mar 2020 10:07:48 +0000 Received: from EX13D12EUA003.ant.amazon.com ([10.43.165.147]) by EX13D12EUA003.ant.amazon.com ([10.43.165.147]) with mapi id 15.00.1497.006; Mon, 9 Mar 2020 10:07:48 +0000 From: "Chauskin, Igor" To: Vladislav Zolotarov , "dev@dpdk.org" , "Schmeilin, Evgeny" Thread-Index: AQHV8z1mflHEbtRyfUSlEqfrLklSb6hADX5Q Date: Mon, 9 Mar 2020 10:07:48 +0000 Message-ID: <895623d153b7461b8750eb2524f8d8b6@EX13D12EUA003.ant.amazon.com> References: <20200305222333.18784-1-vladz@scylladb.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.165.119] MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 10 Mar 2020 16:16:39 +0100 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v1] ena_ethdev: don't override the user provided queue length value X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" QWNrZWQgaW5saW5lDQoNCkZyb206IFZsYWRpc2xhdiBab2xvdGFyb3YgPHZsYWR6QHNjeWxsYWRi Lm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