From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by dpdk.org (Postfix) with ESMTP id 6656BB613 for ; Thu, 19 Feb 2015 15:50:16 +0100 (CET) Received: by mail-wi0-f169.google.com with SMTP id em10so725869wid.0 for ; Thu, 19 Feb 2015 06:50:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to; bh=8jiQ2TL/NB3gSOaTU3cKMXEEcT39LuOqPj2oP7tl4hk=; b=BoozJ7hYHHJS1mHWPJ/KyN3a09H2y20RE3K8YRTKe3kyoPf99EC98D2nBGClHYoG3i 3thihupZ4+/v6EFa/x4nN9N3r7cafp1oWRA12TZ//W5uRnvyeCMKsdTtr7twzu6MEpQz xuWt1l+q/XdkJQfe99eXyMzOZqD8KW7uZkS9GTK4jnxvjhjHQFEkO+SsyLEQPkdghFTz ccED+vtbyjBEom9dECNEluuSIvuG6V++3qgaj4UdfcXBoG3Lw2Za02K+MQG7AWrSIeei CQYA29DmLjbh6WA5n3wRaMrxSM10XSuJXGT7J2zPm11EsQhze+L5c7QyjFVVZr6CHEnb f1hQ== X-Gm-Message-State: ALoCoQnrYCQaEDmKdnyuA2fKzM6iFr1mqj/uLnGWHA029Es6+QnS+jFcHZkGFwwAx25y/PtVjsZo X-Received: by 10.180.82.129 with SMTP id i1mr7129287wiy.77.1424357416163; Thu, 19 Feb 2015 06:50:16 -0800 (PST) Received: from trex.cloudius-systems.com (bzq-84-111-155-225.red.bezeqint.net. [84.111.155.225]) by mx.google.com with ESMTPSA id dx11sm34795666wjb.23.2015.02.19.06.50.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Feb 2015 06:50:15 -0800 (PST) Received: by trex.cloudius-systems.com (Postfix, from userid 1042) id 599AC83F85; Thu, 19 Feb 2015 16:50:10 +0200 (IST) Date: Thu, 19 Feb 2015 16:50:10 +0200 From: Gleb Natapov To: dev@dpdk.org Message-ID: <20150219145010.GB29513@cloudius-systems.com> References: <20150216133654.GQ24740@cloudius-systems.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150216133654.GQ24740@cloudius-systems.com> Subject: Re: [dpdk-dev] i40e and RSS woes 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: Thu, 19 Feb 2015 14:50:16 -0000 CCing i40e driver author in a hope to get an answer. On Mon, Feb 16, 2015 at 03:36:54PM +0200, Gleb Natapov wrote: > I have an application that works reasonably well with ixgbe driver, but > when I try to use it with i40e I encounter various RSS related issues. > > First one is that for some reason i40e, when it builds default reta > table, round down number of queues to power of two. Why is this? If I > configure reta by my own using all of the queues everything seams to be > working. To add insult to injury I do not get any errors during > configuration some queues just do not receive any traffic. > > The second problem is that for some reason i40e does not use 40 byte > toeplitz hash key like any other driver, but it expects the key to be 52 > bytes. And it would have being fine (if we ignore the fact that it > contradicts MS spec), but how my high level code suppose to know that? > And again, device configuration does not fail when wrong key length is > provided, it just uses some other key. Guys this kind of error handling > is completely unacceptable. > > The last one is more of a question. Why interface to change RSS hash > function (XOR or toeplitz) is part of a filter configuration and not rss > config? > > -- > Gleb. -- Gleb.