From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0069.outbound.protection.outlook.com [104.47.40.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id BB13621E9781A for ; Fri, 15 Sep 2017 06:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=faUbemaNDjDdRDu1LW5L1zy+z/AQSuUOJxSznjdlMXI=; b=evS73K9N8FKhQBTVRaANK1t0a5rU2rDHTA/1RRNFH53kmARGiLDmiFKlg9Ox1uhYzNsRYgA/mx0hIY4xGYRKKTJmLtooUGUpgYFgT+m7wXzuw35aKYDiJ09Zxfj+zh3IUeOZUJz/DypYDsWyYmd0qvS0pR8ZM9ZHXx66folCT68= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=brijesh.singh@amd.com; Received: from [10.236.136.62] (165.204.77.1) by DM2PR12MB0154.namprd12.prod.outlook.com (2a01:111:e400:50ce::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12; Fri, 15 Sep 2017 13:38:36 +0000 Cc: brijesh.singh@amd.com, Jordan Justen To: Laszlo Ersek , edk2-devel-01 References: <20170915085747.7209-1-lersek@redhat.com> <20170915085747.7209-2-lersek@redhat.com> From: Brijesh Singh Message-ID: Date: Fri, 15 Sep 2017 08:38:30 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170915085747.7209-2-lersek@redhat.com> X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: MWHPR08CA0058.namprd08.prod.outlook.com (2603:10b6:300:c0::32) To DM2PR12MB0154.namprd12.prod.outlook.com (2a01:111:e400:50ce::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6ec36192-a5c3-4dbf-a4d3-08d4fc3f112d X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(300000503095)(300135400095)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM2PR12MB0154; X-Microsoft-Exchange-Diagnostics: 1; DM2PR12MB0154; 3:swUMnDuHpWh2mwOQ0cfrzmiVOQ6khZoOKNHtvQJ7w3KuLUachhL15yAzMaeJiCNF/Nsi5lmIQ4C1PyDhOnhYd0uy2ewMGWmkgR9NNi64XltNmZtjHFZUt6VbhunhgLSfX+PCZwnBfgDzfbPqrehQVtUPDDZCzK8syzZdCb4aqLxb0uwJwhxhunbGpHGMzJ4yPzEgDhM8M0vUlpGEy5KBPThwr4pM6afDjIQDcW+JIXDvbCUK+DCXGPKAwSC28Pr1; 25:AGBjhMknJDX5nypcoa+5yC/dCGPV46a5to/xhxCkjFGaTV195glGpw6XSXuGMTmgjYwHIK4MzHoEM2gLJ5dAelq80764Nm5C/4Ct7mrEloP6FFHwVB6TnYUGHHMGnikrbAUwk5eCatdaki9hJaOmaW3AbDlQutDCm0KQ6eSeo5RfX9m/+G7/ojs7G/WUeK9+HtVP/LphEKxVAdUVu8TmRL0B0Vhg20bd8Ax407lvYBfse2FzEvUWhTdNrhPzpKGdJLI0Iukemtg/uqcg2qLAvF+THdRcVYtVbzjv/a4YHqqSqP+LcNRY+ImMSWJg2cLYZ7xaDE2Z2cWZZUXUxZbDsQ==; 31:ToQZzf37fRvLIElX+DjZ4AflEBYWArFJ2r8aQru3+OCypHq2rhyalzct9D22Iepwj70lLTovtbKS9k2OEiGnyhGPjtHFIYHKpd49jOPwnvy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test: UriScan:(767451399110)(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)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123560025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM2PR12MB0154; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM2PR12MB0154; X-Forefront-PRVS: 0431F981D8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(6009001)(39860400002)(376002)(346002)(199003)(189002)(377424004)(24454002)(377454003)(230700001)(106356001)(478600001)(7736002)(53936002)(83506001)(6246003)(23676002)(229853002)(68736007)(6486002)(65826007)(31686004)(77096006)(50986999)(305945005)(6666003)(25786009)(5660300001)(65956001)(36756003)(76176999)(101416001)(54356999)(105586002)(64126003)(50466002)(2950100002)(189998001)(65806001)(66066001)(316002)(33646002)(8936002)(47776003)(3846002)(2906002)(6116002)(31696002)(81166006)(97736004)(8676002)(16526017)(58126008)(86362001)(16576012)(53546010)(81156014)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR12MB0154; H:[10.236.136.62]; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTJQUjEyTUIwMTU0OzIzOjVscDVkVUZ3M01rZDRPUUZMZTVtYXVhQTBV?= =?utf-8?B?c3E3MHJNdDNGekJLSHBQSTdRQTEySktkVzExamxLNCt1OXlqVE9hUVpucFEv?= =?utf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EyMIIyLf+nQl+WIISc1IuuqNtbaDBGSQDGFO60BGLnokMsyrstIS/0aAPUmiIuNMmngT/zfTmSAgtbLAOvCdJaxWy3MU/oizDGF X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2017 13:38:36.0863 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR12MB0154 Subject: Re: [PATCH 1/2] OvmfPkg/VirtioNetDxe: document Rx/Tx allocs and mappings on Init/Shutdown X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2017 13:35:38 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 09/15/2017 03:57 AM, Laszlo Ersek wrote: > Document the following actions on the > > EfiSimpleNetworkStarted <-> EfiSimpleNetworkInitialized > > state transitions: > > * from commit 46b11f00ac70 ("OvmfPkg/VirtioNetDxe: alloc RxBuf using > AllocateSharedPages()", 2017-09-14): > > VirtioNetInitRx -> > { VirtIo->AllocateSharedPages, VirtioMapAllBytesInSharedBuffer } > > VirtioNetShutdownRx -> > { VirtIo->UnmapSharedBuffer, VirtIo->FreeSharedPages } > > * from commit 891f016c1b99 ("OvmfPkg/VirtioNetDxe: dynamically alloc > transmit header", 2017-09-14): > > VirtioNetInitTx -> > { VirtIo->AllocateSharedPages, VirtioMapAllBytesInSharedBuffer } > > VirtioNetShutdownTx -> > { VirtIo->UnmapSharedBuffer, VirtIo->FreeSharedPages } > > Cc: Brijesh Singh > Cc: Jordan Justen > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Laszlo Ersek > --- > OvmfPkg/VirtioNetDxe/TechNotes.txt | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > Reviewed-by: Brijesh Singh