From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <vladz@cloudius-systems.com>
Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com
 [209.85.212.177]) by dpdk.org (Postfix) with ESMTP id 934D0683A
 for <dev@dpdk.org>; Tue, 16 Dec 2014 16:36:15 +0100 (CET)
Received: by mail-wi0-f177.google.com with SMTP id l15so12957026wiw.4
 for <dev@dpdk.org>; Tue, 16 Dec 2014 07:36:15 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to
 :cc:subject:references:in-reply-to:content-type
 :content-transfer-encoding;
 bh=1N3vGhvvREF1XsTl0pgnf8/o5gZbgddZbfAFUC21ZEc=;
 b=B4A+rbVi/sBIJ7uRdWeDJRkiQZaEABFnBWdakMKx6VkEHA8rby264jWitKWkese8lT
 ak3H5CBXJW38w2LpezTeBuFsSfX1DoIQGsozW1n2f5uRuUVIEeJnNKN96f/NewX29rO4
 HnRUE0+39fFXJM/aUbaWwBZYEdrBFxlINJIcFCxPgNoCG7GigJIPJ4oStaSzVmCB1Di4
 CIPEnTecDpeIJqVwLtlzUPMlB9O7xFzHNKDEPiV6nuAIMyjp6EM1PZ/CdueDdWh475cR
 5GpH00LZWiFtecA5y1ZPlwqRMnxesRLlBlWwuI7jK6OOFJsIkbQ34EprdXSQ9hxS0LOB
 OVNw==
X-Gm-Message-State: ALoCoQmlj++rcIWmAtYRh8ExJMTdavHYQ2ZKc7GZ3zb18EDLP25wuaBonEClCdELYuvZtKtkkQGB
X-Received: by 10.180.96.33 with SMTP id dp1mr5842107wib.13.1418744175359;
 Tue, 16 Dec 2014 07:36:15 -0800 (PST)
Received: from [10.0.0.165] (system.cloudius-systems.com. [84.94.198.183])
 by mx.google.com with ESMTPSA id c10sm1531510wjy.4.2014.12.16.07.36.13
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 16 Dec 2014 07:36:14 -0800 (PST)
Message-ID: <5490516C.8090202@cloudius-systems.com>
Date: Tue, 16 Dec 2014 17:36:12 +0200
From: Vlad Zolotarov <vladz@cloudius-systems.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: Thomas Monjalon <thomas.monjalon@6wind.com>
References: <CAOYyTHYyx73=n2+9c9=6F6c5xLVD5F9sL6a1r--C92bwa6N7Tw@mail.gmail.com>
 <6168753.p4Vk7dlKkK@xps13>
In-Reply-To: <6168753.p4Vk7dlKkK@xps13>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Cc: dev@dpdk.org, Avi Kivity <avi@cloudius-systems.com>,
 Gleb Natapov <gleb@cloudius-systems.com>
Subject: Re: [dpdk-dev] DPDK RSS support for ixgbevf PMD
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Dec 2014 15:36:15 -0000


On 12/15/14 22:33, Thomas Monjalon wrote:
> 2014-12-15 21:11, Vladislav Zolotarov:
>> Hi,
>> I'm running an ixgbevf PMD on an AWS guests with extended networking
>> (SR-IOV functions of 82599 Intel's NIC) and noticed that even in the
>> current git tree there is no support for a multi-queue in this PMD: reta
>> size returned by rte_eth_dev_info_get() call is 0, while max_rx_queues and
>> max_tx_queues are both 4.
>>
>> Linux ixgbevf-2.15.3 driver on the other hand successfully initializes 2
>> RSS queues: for some reason it always limits the number of RSS queues by 2.
>>
>> ixgbevf_main.c: line 2539
>> u16 rss = min_t(u16, num_online_cpus(), 2);
>>
>> The above is strange since if MRQE is set to 1010b there are 4 RSS queues
>> available which seems to be the case in my AWS Guest.
>>
>> However, let's get back to DPDK. As I've mentioned above the SR-IOV
>> function i have is RSS capable (to be 100% sure I've verified both queues
>> are receiving packets in a multi-socket TCP test). And it's a shame I can't
>> utilize it with a DPDK.
> Yes, it is not yet supported.
> But a patch was recently sent:
> 	http://dpdk.org/ml/archives/dev/2014-December/010028.html

Applying this patchset seems to break the NIC fast path functionality of 
a AWS Guest NIC.
I'm still debugging it - will update u as soon as I have more specific info.

vlad

>
>> I wonder if there are any blockers to add this capability to the ixgbevf
>> PMD and if not is it scheduled to some time soon?
> Please jump in the above thread for your questions.
>
> My turn to ask a question:
> Does it mean DPDK is going to be supported in your system (OSv)?
> I've seen it in the OSv roadmap.
> Could we have more details about how it would be integrated?
>
> Thanks