From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0068.outbound.protection.outlook.com [104.47.33.68]) by dpdk.org (Postfix) with ESMTP id 8C3831D90 for ; Thu, 5 Oct 2017 11:23:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+Puk3aMMxH2uTQtxdFt4tBKMerr3lsN8s1ZNVZnOAaY=; b=kCx5r+mA/itvDzQKo3wgfQi2DfMixCOq+Cdw9Ab5W12r/mGOu2/SCoGYr5bFpz8TAX1P2EDxKCCpXGKgfsdfHZGFxYW1O7l/ZMsY1kNFCbZckRL5wfa3+4TxFM/a3c+hh2huIRwB3ng4JGY035MVSd14M9F8XcD5K8/j6RDaOWg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Santosh.Shukla@cavium.com; Received: from [IPv6:2401:4900:1984:75ec:516e:bc2f:cd22:9551] (2401:4900:1984:75ec:516e:bc2f:cd22:9551) by BN6PR07MB3091.namprd07.prod.outlook.com (10.172.105.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Thu, 5 Oct 2017 09:23:10 +0000 To: "Hunt, David" , dev@dpdk.org References: <1507108515-186477-1-git-send-email-david.hunt@intel.com> <1507130720-48891-1-git-send-email-david.hunt@intel.com> <1507130720-48891-2-git-send-email-david.hunt@intel.com> <0e15f564-a4f1-cdfd-69bf-b7cb9bc4617c@caviumnetworks.com> Cc: konstantin.ananyev@intel.com, jingjing.wu@intel.com, "Sexton, Rory" , Nemanja Marjanovic From: santosh Message-ID: <392f5aca-fa63-0170-8181-8daac0703659@caviumnetworks.com> Date: Thu, 5 Oct 2017 14:52:57 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Originating-IP: [2401:4900:1984:75ec:516e:bc2f:cd22:9551] X-ClientProxiedBy: MA1PR0101CA0022.INDPRD01.PROD.OUTLOOK.COM (52.134.136.160) To BN6PR07MB3091.namprd07.prod.outlook.com (10.172.105.9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e4e6a4dc-80a6-4e7f-05fe-08d50bd2b3e6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:BN6PR07MB3091; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3091; 3:3Z0OxH6jY6NM7hQ7wL0u3fB1Hld+nGSwB1ywksSA4LJSWRjiAC5GUWtdhtNQ9M35NUQNq2SwLg+FQmolQkdUxxdOzJ6TaZ9feXbxCl/m5Y2/GC1iVaYzLveG5XFAbIQ5zy7Zb4zmxFAxoSE443uTMMX5o+KKteBBUuGNLedKTkli6/jL0XjhhtHS4BPf0dnGbtvWndo8PKGsQGqVN69QqY1Hx7bJ1fvwvO1U0tTdJ4yZvdyRnvhJtMI6wTumkU9k; 25:eMrxNT9JPNLUhFGUuyVRiR5udgHndAqZPXUMP5x+UzaPHwx6Y4xWHeuWBywrRcNc37R7NtrWfCHJ+VUQ/Pu0gNhK3du9BmtI145nbw38dJsp0aP7Itq+ZEf2lYCzt4IoMWqEYN9YESCLwLdihWHrugWEKwNKLWqqCRNbjPG5cQHcnRuw1f5+nKytq+91me+pgiHaKJ52zFN5VQGXIaraTW/vXtXXIxLJOyPiyTXSrjKHZqViiQhseKQ+hsETgIrxcdl/pimDzptwKwe4RF2txdJ7RY/EiMJvtons1pPT06x+/zvX4dbXVJfXe5eGkw/biUmtB6OeQ5xu4AqFmSgbvw==; 31:Ysl5kXR1DcUpHRadlsmkbWb17YvH9bS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k08quRdpGxfNuWaTiMn2YBDKOiKQDVBqJfyI07R+S17Fd0QlBcWPZ52k8UUTzOEVo1XNFi9ZUWplAwa1fraDr11cX1SBnYQvH7BL2HWSR++hfPJXo3d5to= X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123560025)(20161123558100)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR07MB3091; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR07MB3091; X-Forefront-PRVS: 04519BA941 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6059001)(346002)(376002)(24454002)(199003)(189002)(377454003)(72206003)(23746002)(53546010)(106356001)(105586002)(47776003)(97736004)(68736007)(966005)(83506001)(230700001)(65956001)(65806001)(93886005)(50466002)(54906003)(64126003)(478600001)(33646002)(25786009)(7736002)(305945005)(2906002)(31686004)(229853002)(101416001)(42882006)(2950100002)(6246003)(6666003)(58126008)(54356999)(5660300001)(36756003)(81156014)(6306002)(76176999)(4326008)(53376002)(50986999)(86152003)(6116002)(31696002)(6486002)(1706002)(53936002)(8676002)(189998001)(65826007)(8936002)(316002)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3091; H:[IPv6:2401:4900:1984:75ec:516e:bc2f:cd22:9551]; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BN6PR07MB3091; 23:ab6KpH9SZ//Veh+Ma/miVwggoTRMHHhCom9km?= =?Windows-1252?Q?IX461K1uF5KMREYltumoc0Hr6bR0MMfldWh1bFEpqAULWUrtuWBPUsdQ?= =?Windows-1252?Q?JBq10wHr4e/+uMCm8lg4khoCxrIOOoJdBVud5sDfDLjuHgX5cuVc5g/T?= =?Windows-1252?Q?ojnzNsn7yc3k7nl2xP/FsLGOZFN9dP2VCFv8lMQt5/MW0mr4PAWi9asP?= =?Windows-1252?Q?CI9Mm8/vn9U6pUuMSJ+NBBYd6me5jmmuMy98J0qnDUPG2gwE1Dkmloka?= =?Windows-1252?Q?Kfi1O3jjLlieTrbg3oRVnCpPBa85WNq7raVY4lAB7UH8Hx1/cLhsP+hP?= =?Windows-1252?Q?nffSFU0k6k2tL96jtNzj8T/0WNfVgUo29CbdrgqLs4pSKCtPKQ78OVWq?= =?Windows-1252?Q?FgCzga6qD16Mr35FVzETY4BmXL0HTG1bzSRjmtBpty5H/UiXw3IIFSik?= =?Windows-1252?Q?JMXIRVc7tBOiPktCcrD3fALbK8jW+6dmfm75vVaTvjHvHEQaoS5abA+/?= =?Windows-1252?Q?FLblWycLKL+DFXI8Ak3Evvph4RWxVRYkWsVsniRykgOb+yuK1OBt/eLF?= =?Windows-1252?Q?K22YCK8mCH/7EOsso/eRmOVXRrF2NWyxJ3Ue4gUFnzWJdKFGymw1/DN6?= =?Windows-1252?Q?8/eS5uPFYxOLUFD7Hj8totCYKvK635Rh5Ne3emsePh1t6kHQKX1uamns?= =?Windows-1252?Q?Rr8UGOLx9n1jolh09I4++XNmiaK+2DcLreMCscSf57ze0cE4uitEIpje?= =?Windows-1252?Q?NN0KUXrARkqmg/e1AgsrgGVfBREfrJl6cLnVt8WRispjiwtr9KOqL07n?= =?Windows-1252?Q?0pNsbXETpGr2qoTJ+1GWN7MLR404+RBvPD22WhWI/3ZZsJFliGku4pEu?= =?Windows-1252?Q?N6Mk/anleJncmKxdqcI1zyWcitntYXjspZ2to1yJ7S0oC91AiynYuja7?= =?Windows-1252?Q?zaexGD+xGqAe3i6KpoU9havTjABycf2U1ZrmEfm+padICxZxDTTBmVU7?= =?Windows-1252?Q?Ql2XPbJH5Ja+EStQkZmvWUnEpXVzWHlL9r78PrOdLk+CZ5PsGNsjAnPu?= =?Windows-1252?Q?Xbqa6B752qAkV2DdljUKx/7bqyUwi4xnxuHY1TO1d5hNCVw+uNpkB9G7?= =?Windows-1252?Q?7Xp7BraXofedT3uzjzyKofF6fQ5LN1VYyz0qENfXFq44OVba4E01orP3?= =?Windows-1252?Q?8NCARLNK/ilCKhPQRu5k0jR3uLwM5g+/FL6LGkuuaiZsKxZqMmp8hb74?= =?Windows-1252?Q?P27/+cH7q9ztw7h9lfy0aXu89pwl9j+IDq691nWPSgSGlFm+u1+DKXFb?= =?Windows-1252?Q?ccDGD8WS64y2PvgU5OxGcObLhlrIV7FGHdS06HW2QGfLwPI7RC8xbEzX?= =?Windows-1252?Q?sus4+RrVbQrX3hc4sGD2tKzYbNX9VGJoL4WYxpD2cjRBES0bcEsTfqt3?= =?Windows-1252?Q?kMsjRLCaY1OGHOVagn0Z/6SDJ7jgfvwewBPZVB1bMFEWAp9/SoDPAVF2?= =?Windows-1252?Q?btFmG4=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3091; 6:2K6HMwYmyY7kh3y2aVVIWu0N0Xn5fzsPM2KEiSuS1EhaEdBWBakYc7KwASgaKBJkZzzGc/JcwecodzFmuofYOmScGBfNBoOtH7qVvYmrJ+0JBNxMuGiJTfkLXxvv2l3ccCriCw93pkUraCJ1kaC8ASPrBPd0KmE1n0io95fYr66en+TtCpSM+RUf2ryp35a3iyZs7mRsLw/I+69NuYxAor+dZjRSmG5yEuRl4h/9CU2YtB8rxIgmw1a8yRv3XfONbsgZQo1wpMgrPXLnHSjpWOQr5SCZTgIeMyCKnFduTjgwHCvHlF/IndOi81hTBvgaImVMh8Gp1Crx99QTG/zwJw==; 5:kAYGTXXgsvoqSjDlpw6IyGY86+h8JwD1e7YswFWpdjGPWfHDfbDc9pvImTvqVTH3HkUZfK4AfLzXg9vnWqQ5ldyVZs7Z4EEXYq5UiwV0M9tFyQVnI/3VHnDt2S3BP39Hfddm2hfqKgP5962FIcXSEQ==; 24:5wTaw0aT3pi/5BUynYzN0bTfKocL7JqJCZvvzEjlGwBW5Rjs41N2J3RZEDGmk+UPiBrUldkBctL0AbjCHbDBG2WjFMuimMHSyhjt3dw2bb8=; 7:ZpR4OyX9jOoKDq5ir05Be7WCjszEsxvrMmDUznH7Ufo6E1MwEIeQ/QDSZRRjrVu8vtLmL+RQQZLiTSVaXrqRd29EcFa3GpN9pFgeocbpX/M6MV/o16RmV48WI64vUDqjPEr3HaE15vqNkPtObczoZJqX+MJBSQMyDdKR48bPkk5/diRXsmTyomtjgbDwpU2Hdof9u8WDW41tGQE2exZizxttQbX5IQ8JUnici/43hHk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2017 09:23:10.4839 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3091 Subject: Re: [dpdk-dev] [PATCH v5 1/9] net/i40e: add API to convert VF MAC to VF id 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: , X-List-Received-Date: Thu, 05 Oct 2017 09:23:15 -0000 On Thursday 05 October 2017 02:01 PM, Hunt, David wrote: > Hi Santosh, > > On 4/10/2017 4:41 PM, santosh wrote: >> Hi David, >> >> >> On Wednesday 04 October 2017 08:55 PM, David Hunt wrote: >>> From: "Sexton, Rory" >>> >>> Need a way to convert a vf id to a pf id on the host so as to query the pf >>> for relevant statistics which are used for the frequency changes in the >>> vm_power_manager app. Used when profiles are passed down from the guest >>> to the host, allowing the host to map the vfs to pfs. >>> >>> Signed-off-by: Nemanja Marjanovic >>> Signed-off-by: Rory Sexton >>> Signed-off-by: David Hunt >>> --- >> I see that you just now sent out v5;) >> But I guess v4 comment on this patch [1] >> is still applicable (imo). >> Thanks. >> >> [1] http://dpdk.org/dev/patchwork/patch/29577/ > > The v5 went out just as you were commenting on v4. :) > > I agree that your comment above needs addressing, I'll do that in v6 today. > Thanks. > Regards. > Dave. >