From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D0364A0547; Mon, 21 Jun 2021 10:34:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45C3541158; Mon, 21 Jun 2021 10:34:49 +0200 (CEST) Received: from AUS01-SY4-obe.outbound.protection.outlook.com (mail-sy4aus01olkn2185.outbound.protection.outlook.com [40.92.62.185]) by mails.dpdk.org (Postfix) with ESMTP id B104A40040 for ; Mon, 21 Jun 2021 10:34:47 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=judSrZkp3xRjh68nrQzXosVcBkCrqw7avTvmA8tinB/tK35TzuImC2evOOrfRpzTe8lBtj4dK4rEdpUHGyj7bnkhJe6/o/OtANApB7zgrzC8c5Agz73YOBjALatuoV8JoOCJUklqlh166v1WBgo+2XAJqZPcXsFQh1JBCF/Gj7lelO1HhPZzDwEjPgLhfoMtC/xZ9U4nM2OY+D+lTB3yc7cNb43dBJP4N/iUcB17PYtJ/w2lbDwXpI5/d1Mx16MI4aJPZHAQzIE1v7XEK/OgCwkimliEVigjHsowcjiB8HWZyNMcVSW76qUYnvTY1JeiCpWLp4jc8yUfNkcoIjH0Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OM3edPytTLD/pvNTbXE7xqrV91M60OoGxVNrLqcqdO8=; b=V9hgftC8AJH91U1R3FUQDWH7YXzoKLgKgkZuhGzkZ1+YDeeVh6qzV2WnRU/M0aJ5qFYfveF0nXWOa7njT7nUX6PwUDPIsnUm/zVfnTjEgANjHZ/XQ+jb/gCJnsN7SMZus5TBFSISUIn7lGfcT+OplWW9Wj8e55TTVBUfEj+s/usM2YcjI8ef9puBU7pxnZ1N9XFerVeXYn8r0cRlHQ3/6DB2gI9A8mYBR7dpcAuFAz0zPzRVfYuYoIscvz12EuajQm7En74PAvE8j7YcJdOQ/K5yjZKU69S9b10A3Dnj5npOT0W/dFG++wqf4J/zrDTagq0w2G8xijH5DXeRBPcdnA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OM3edPytTLD/pvNTbXE7xqrV91M60OoGxVNrLqcqdO8=; b=I/+pTZpDiXCMSJEh2Yaz4oQGIcIlcCzgL5logf4P+4IgNdbPCVoZoTfqugnKxMEPdk/jtv+BSqMqnRBBO9SGc5n7tLeyZZWciD8QTDNGUs65uD0zlzraFmfJM8nOA3tVy4WQHdvqLmuYE9F3iWcuzzA5SMgwpX5EOn7VIYTnBawVxi0+wbqxHaTwS2jf7WJnKkw995BrVw9CzyGTxY5s9XT2u1vIE2ikmS56gGVQUlK+dKVgqOczc7MYsiv0ZKIdTBJWsRFHMZbLKdj3JI6iPQvubbMSD/8cfLvXer61/jubV1YsaPRtrW8GXTTJNA6X0j6LOoxwyh96NoY7IXATJQ== Received: from ME3P282MB1668.AUSP282.PROD.OUTLOOK.COM (2603:10c6:220:a5::11) by MEYP282MB1541.AUSP282.PROD.OUTLOOK.COM (2603:10c6:220:ba::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.16; Mon, 21 Jun 2021 08:34:43 +0000 Received: from ME3P282MB1668.AUSP282.PROD.OUTLOOK.COM ([fe80::a5ea:6127:5368:d8b8]) by ME3P282MB1668.AUSP282.PROD.OUTLOOK.COM ([fe80::a5ea:6127:5368:d8b8%7]) with mapi id 15.20.4242.023; Mon, 21 Jun 2021 08:34:43 +0000 From: =?gb2312?B?1cUg0e4=?= To: "Wang, Haiyue" CC: "dev@dpdk.org" , "Zhang, Qi Z" , "Lin, Xueqin" Thread-Topic: [PATCH] net/e1000: fix nic ops function was no initialized in secondary process Thread-Index: AQHXZGdZgdFS04FMb0K/Zbmr9URfRKseFf+AgAAOd8c= Date: Mon, 21 Jun 2021 08:34:43 +0000 Message-ID: References: , In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [PPJdukOWtnA3vgR95D/SWwyEFE7a0dzh] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7a209547-8e52-41d7-ca47-08d9348f6b87 x-ms-traffictypediagnostic: MEYP282MB1541: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ouR/1MOtFVivEyMkFHmUvmuUiWjp1mW9ltAxwi+IBV4ety3Wyd1aAo6EOJG8/ALyJDojQy79nyGSbamd/aT18fAAOh5uXCUDM5H8exKQ1fL2Sd/YYUyJaeMcc+yFGQBwoC3ZzxfPh3Foz2oasGtuBfv5K8rzmqyISuUD1EVGE2LGHpDrh4MmbywKa37SGrs++pZ93LifD/J30nDScUZPVxBRbu/m5kVEtELMRHTSmybLWHQDk1vnnI1GTu6QrH8X/sztOCGxYjMruq0T7KxoxtrcUA9ddfM7DWEnpBzjToOHn6QPGuwu6oK+JLjMPSeqQdtRu7eSUWQBPTKMmVPlyX8OvgPZOfiH9CQG6BgEQdOYIFZVbd2Jj/5K6Hl+xuyuIPetCVJheth2yEdXNydlhQ== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: eXL26QbTuNQS7vn+xGpCOvkpgRJjklMdiB8y2IiChmKS8LPHoA3aKYtIOFw8FeUQdUk+dVsSrEc7/kHNZlw6Yn+cWRXrJnI0yyOZSoZe2urR509Z61ZSfG1If/I3QiFychpWCs84BAlNnDMKWDz1OA== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: ME3P282MB1668.AUSP282.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 7a209547-8e52-41d7-ca47-08d9348f6b87 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jun 2021 08:34:43.7539 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MEYP282MB1541 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH] net/e1000: fix nic ops function was no initialized in secondary process X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" t6K8/sjLOiBXYW5nLCBIYWl5dWUgPGhhaXl1ZS53YW5nQGludGVsLmNvbT4NCreiy83KsbzkOiAy MDIxxOo21MIyMcjV0MfG2tK7IDE1OjMxDQrK1bz+yMs6IFRlbmdmZWkgWmhhbmcNCrOty806IGRl dkBkcGRrLm9yZzsgWmhhbmcsIFFpIFo7IExpbiwgWHVlcWluDQrW98ziOiBSRTogW1BBVENIXSBu ZXQvZTEwMDA6IGZpeCBuaWMgb3BzIGZ1bmN0aW9uIHdhcyBubyBpbml0aWFsaXplZCBpbiBzZWNv bmRhcnkgcHJvY2Vzcw0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IFR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