Received: by 10.223.185.116 with SMTP id b49csp7918719wrg; Thu, 1 Mar 2018 13:33:37 -0800 (PST) X-Google-Smtp-Source: AG47ELtyS6NdHe3gpnAozP/K6PL0yqc+fLh3YEUki4+H+BFGAHR87U4r0qsiTGEjolAC9jnQOS9D X-Received: by 2002:a17:902:7e0d:: with SMTP id b13-v6mr3103269plm.97.1519940017889; Thu, 01 Mar 2018 13:33:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519940017; cv=none; d=google.com; s=arc-20160816; b=GeyfPZufnRaS7HwbusTfIg0g9HfiMSUiCy0I+Ni+t8VOq/LbrC+9YXhpMdgE9tOoNP sKH+3cDYw2uC7TiNWksOVnQZXUMlLkWof0z95giLcsyBwmf2qgtWkpU3V2XGvZgpkn9L SrZHQFxXhp+vb8ft1rdeAFUAKYd/MZiu9LygIpuEQap3qrNha2vkMC7+on6sa7rSJpZa 7FsTxdN9SByaSi0FOe+769yjQ1FLyDVbkrQrqMdPK/cqr+6wEhLayuNLqUsTZ6BBfbaA sPHRprApWJjfr1T/k0m1fq/+PTz118w5rZuLTk/LqwaPDBL6MEknFDz5+4nCnsslsEZU BaBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=1fMuSShaK7OY7XJU/UEbcEWdO89WOHU0BZ57DZsQLnI=; b=yjZZkxMTXLehjCurrnvTe4rjL2CEmW4bh0apWHAmbOvSK17hyseR0yC2Xk/4rYT7Fz WJeM6W1cr5FdLvOQHEwwqN7XgCcxajcdfpAQ+yzPNCp5AWKovbH2mVifEMTotpYiFGZf 2PKh46tYaSXQKpQNz6qGXgq2ayR/v7ZLXq38WeZnWSZn9FRNqwK3vV2JY86BtGS3bP8t DP8BfVQxfBpFKKv3EVrimo7oAfKrUlIfQbkqbTbEr80foCxMc688nuc7tumdvAVTZMAS ybmh3S0oZa9erlwDM9oHOeEjA2pAdUcM4n8OLfQmv4fb+8Cu+aQppAPlsMknj6wD4562 jppQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=qbZ7upWe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t15si3608890pfg.333.2018.03.01.13.33.23; Thu, 01 Mar 2018 13:33:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=qbZ7upWe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162104AbeCAVcS (ORCPT + 99 others); Thu, 1 Mar 2018 16:32:18 -0500 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:40396 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161792AbeCAVcM (ORCPT ); Thu, 1 Mar 2018 16:32:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1519939932; x=1551475932; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:mime-version: content-transfer-encoding; bh=1fMuSShaK7OY7XJU/UEbcEWdO89WOHU0BZ57DZsQLnI=; b=qbZ7upWeCPr83WRxbAL8MLdzduqmvXYf5RqOvjQ7uD2bwaT/cvgYkqOW pGZdcrIonQ0/7PP7cYt4OwrsTNV71RfRhRJHJD0+iJj7rWJGAXm+lJYB/ C+/pCqheqJ/U4IBaDhcpoigWUNLD1npjfbLx4+MMGiPRiZizwG0R9G7Fe w=; X-IronPort-AV: E=Sophos;i="5.47,409,1515456000"; d="scan'208";a="668874718" Received: from iad6-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-2c-87a10be6.us-west-2.amazon.com) ([10.124.125.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 01 Mar 2018 21:32:09 +0000 Received: from EX13MTAUEA001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-2c-87a10be6.us-west-2.amazon.com (8.14.7/8.14.7) with ESMTP id w21LW4Uq029054 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 1 Mar 2018 21:32:05 GMT Received: from EX13D01EUB001.ant.amazon.com (10.43.166.194) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Thu, 1 Mar 2018 21:32:03 +0000 Received: from EX13D01EUB003.ant.amazon.com (10.43.166.248) by EX13D01EUB001.ant.amazon.com (10.43.166.194) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Thu, 1 Mar 2018 21:32:03 +0000 Received: from EX13D01EUB003.ant.amazon.com ([10.43.166.248]) by EX13D01EUB003.ant.amazon.com ([10.43.166.248]) with mapi id 15.00.1236.000; Thu, 1 Mar 2018 21:32:02 +0000 From: "Raslan, KarimAllah" To: "helgaas@kernel.org" CC: "linux-kernel@vger.kernel.org" , "linux-pci@vger.kernel.org" , "bhelgaas@google.com" Subject: Re: [PATCH v2] pci: Store more data about VFs into the SRIOV struct Thread-Topic: [PATCH v2] pci: Store more data about VFs into the SRIOV struct Thread-Index: AQHTsWDs7fDQMe1Am0i79I3K4P45AaO7xcKAgAAg9QA= Date: Thu, 1 Mar 2018 21:32:02 +0000 Message-ID: <1519939922.15908.51.camel@amazon.de> References: <1519910764-12789-1-git-send-email-karahmed@amazon.de> <20180301193405.GL13722@bhelgaas-glaptop.roam.corp.google.com> In-Reply-To: <20180301193405.GL13722@bhelgaas-glaptop.roam.corp.google.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.164.111] Content-Type: text/plain; charset="utf-8" Content-ID: MIME-Version: 1.0 Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDE4LTAzLTAxIGF0IDEzOjM0IC0wNjAwLCBCam9ybiBIZWxnYWFzIHdyb3RlOg0K PiBzfHBjaTogU3RvcmV8UENJL0lPVjogU3RvcmV8DQo+IA0KPiAocnVuICJnaXQgbG9nIC0tb25l bGluZSBkcml2ZXJzL3BjaS9wcm9iZS5jIiB0byBzZWUgd2h5KQ0KPiANCj4gT24gVGh1LCBNYXIg MDEsIDIwMTggYXQgMDI6MjY6MDRQTSArMDEwMCwgS2FyaW1BbGxhaCBBaG1lZCB3cm90ZToNCj4g PiANCj4gPiAuLi4gdG8gYXZvaWQgcmVhZGluZyB0aGVtIGZyb20gdGhlIGNvbmZpZyBzcGFjZSBv ZiBhbGwgdGhlIFBDSSBWRnMuIFRoaXMgaXMNCj4gPiBzcGVjaWFsbHkgYSB1c2VmdWwgb3B0aW1p emF0aW9uIHdoZW4gYnJpbmdpbmcgdXAgdGhvdXNhbmRzIG9mIFZGcy4NCj4gDQo+IFBsZWFzZSBt YWtlIHRoZSBjaGFuZ2Vsb2cgY29tcGxldGUgaW4gaXRzZWxmLCBzbyBpdCBkb2Vzbid0IGhhdmUg dG8gYmUNCj4gcmVhZCBpbiBjb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