From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <vladz@cloudius-systems.com>
Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51])
 by dpdk.org (Postfix) with ESMTP id 43409234
 for <dev@dpdk.org>; Mon,  5 Jan 2015 14:02:31 +0100 (CET)
Received: by mail-wg0-f51.google.com with SMTP id x12so27314502wgg.38
 for <dev@dpdk.org>; Mon, 05 Jan 2015 05:02:31 -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=y1qadV5gcYrs3HdJW5ZsnmE6yBf4tAxWjaqISm+qkzE=;
 b=i91C2+3Fr11swmOv88AUMFfXq/FCMh7ESK9MtIur0AIzCVg1dqIod2aU/jPY1YtQYi
 k72DrbvtbjIxlFxErkIojD+24kgf6Fryyt3+RpHvnauUcoCOgPlDu4FMMo9N7Nxr/yjC
 OzeYRHjqvZuYxXZdF6Lbdf79EtY4xJIMByihqYvkFrX4L+3StiMh9q8P4WN0+DLSE16y
 HiThf0OiRLv3X4VFV07NsO+Bwk30kTejQyLYl0iRLwFvn2Feppd/uPDJ42FYptO65cgy
 i1DcqwTL1GiuxM8OgXouJv9IRJCn5sOzkN4ISbFnoKWepv1GoGKRx411GRHF3M/5Q1H5
 E6PQ==
X-Gm-Message-State: ALoCoQl1ONGaVVK7V0XS31m9M/ZLxczqdBurQ7fFvXo4txr317OfM7o489OEK52zqNGe3fZ2eZ8X
X-Received: by 10.194.91.234 with SMTP id ch10mr184280139wjb.114.1420462951065; 
 Mon, 05 Jan 2015 05:02:31 -0800 (PST)
Received: from [10.0.0.165] (system.cloudius-systems.com. [84.94.198.183])
 by mx.google.com with ESMTPSA id lg7sm9875156wic.0.2015.01.05.05.02.29
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 05 Jan 2015 05:02:30 -0800 (PST)
Message-ID: <54AA8B64.4060602@cloudius-systems.com>
Date: Mon, 05 Jan 2015 15:02:28 +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: Bruce Richardson <bruce.richardson@intel.com>, 
 "Ouyang, Changchun" <changchun.ouyang@intel.com>
References: <1419389808-9559-1-git-send-email-changchun.ouyang@intel.com>
 <1419398584-19520-1-git-send-email-changchun.ouyang@intel.com>
 <549A8E7C.7010806@cloudius-systems.com>
 <F52918179C57134FAEC9EA62FA2F96251194A6CD@shsmsx102.ccr.corp.intel.com>
 <20150105103802.GB13152@bricha3-MOBL3>
In-Reply-To: <20150105103802.GB13152@bricha3-MOBL3>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v3 0/6] Enable VF RSS for Niantic
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: Mon, 05 Jan 2015 13:02:31 -0000


On 01/05/15 12:38, Bruce Richardson wrote:
> On Thu, Dec 25, 2014 at 01:46:54AM +0000, Ouyang, Changchun wrote:
>> Hi,
>>
>>> -----Original Message-----
>>> From: Vlad Zolotarov [mailto:vladz@cloudius-systems.com]
>>> Sent: Wednesday, December 24, 2014 5:59 PM
>>> To: Ouyang, Changchun; dev@dpdk.org
>>> Subject: Re: [dpdk-dev] [PATCH v3 0/6] Enable VF RSS for Niantic
>>>
>   >
>>> On the contrary - it's a very good idea! We use DPDK on Amazon's guests
>>> with enhanced networking and we have no access to the PF. We still need to
>>> know the RSS redirection rules for our VF pool. From the 82599 spec, chapter
>>> 4.6.10.1.1: "redirection table is common to all the pools and only indicates the
>>> queue inside the pool to use once the pool is chosen". In that case we need
>>> to get the whole 128 entries of the RETA. Is there a reason why we can't have
>>> it?
>>>
>> Due to hardware limitation, VF could not query its own reta table, because there is not its own reta,
>> The reta table shared by pf and all vfs.
>> If you need know it, query them on pf is feasible way to do it.
>>
> It's not feasible if you only have access to a guest. :-)
> IMHO since the guest is seeing the results of the RSS redirection table,
> it should be able to query the table, if it wants. It should not, however,
> be able to modify the table, as it is owned by the PF.

This is exactly what I meant! ;)
The problem at the moment is that upstream PF driver has no VF-PF 
command for that and I'm in the process of pushing the patch for it. 
Then it's accepted (and pushed into the Amazon's HV ;))
then DPDK's VF driver may proceed with what u and me are suggesting.

Not related question to Intel guys: I can't find a x550 spec in the net. 
Can anybody tell me where it may be found? ;)

>
> Regards,
> /Bruce
>