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 E5B6EA2F18 for ; Thu, 3 Oct 2019 15:01:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2AE031C0BE; Thu, 3 Oct 2019 15:01:02 +0200 (CEST) Received: from dispatchb-us1.ppe-hosted.com (dispatchb-us1.ppe-hosted.com [148.163.129.53]) by dpdk.org (Postfix) with ESMTP id D31C71C0AA for ; Thu, 3 Oct 2019 15:01:00 +0200 (CEST) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us3.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 00A11480089; Thu, 3 Oct 2019 13:00:58 +0000 (UTC) Received: from [192.168.38.17] (91.220.146.112) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 3 Oct 2019 14:00:41 +0100 To: , CC: , , References: <20190914055247.3841-1-vattunuru@marvell.com> <20190914055247.3841-2-vattunuru@marvell.com> From: Andrew Rybchenko Message-ID: Date: Thu, 3 Oct 2019 16:00:36 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20190914055247.3841-2-vattunuru@marvell.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Originating-IP: [91.220.146.112] X-ClientProxiedBy: ocex03.SolarFlarecom.com (10.20.40.36) To ukex01.SolarFlarecom.com (10.17.10.4) X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24950.003 X-TM-AS-Result: No-5.050600-8.000000-10 X-TMASE-MatchedRID: HXSqh3WYKfs6yy6RAAEPc/ZvT2zYoYOwC/ExpXrHizzLkl8e9W70i/zq OOqr4pRKxTQcD/QNIsv5IV2n4J3Q9wHYCNT1xjfz9DGkDtq4vAwXw5Hb3/XOHfn6214PlHOFRrz Ipk4noLXfUD/8m2HznMa90ACXixbaJLmhhdkJpFVtaBEa+BY5ESILdc+InEErby6AnHQZNsgAwl wc7PMO4yQPHPUuX+yXjlR3W9rmU/33uvD+1Bkl7Z4CIKY/Hg3AtOt1ofVlaoJlgn288nW9IN5/H gWYxplM5MIx11wv+COyO81X3yak87thDjW7STIyk1P1GWY1okFs0CTv80u0rGC2LjvrcRhAp2KH ZhnskXN+3BndfXUhXQ== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--5.050600-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24950.003 X-MDID: 1570107660-eitoZuwv0HqB Subject: Re: [dpdk-dev] [PATCH v1 1/3] lib/ethdev: add ethdev op to get hash index 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" Hi, On 9/14/19 8:52 AM, vattunuru@marvell.com wrote: > From: Vamsi Attunuru > > Some networking devices may use custom algos for computing > hash indices and spread the packets accordingly. > > Patch adds a eth_dev op to get the hash index correspond to > the given hash value received on the given port. > > Some of use cases where applications would compute hash index > from hash value upfront and it can predict the packets come to > a specific queue. > > Signed-off-by: Vamsi Attunuru I'm sorry, but the purpose of the API and provided functionality is unclear for me from above description.