From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 018D2A00E6 for ; Tue, 6 Aug 2019 10:18:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7652C1B9FA; Tue, 6 Aug 2019 10:18:27 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70047.outbound.protection.outlook.com [40.107.7.47]) by dpdk.org (Postfix) with ESMTP id D94F41B9F1 for ; Tue, 6 Aug 2019 10:18:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PhCadHM6cum5xkLVMTQnkoqWtjw6jS0cBHdjPIEzjl0=; b=Tyh44apIGJH8fFJFS/Ct+g5jMXhAi+fo3Jb3EFtDgMBe5mGwzapBzz9Yhpx0pBKjDxJsDMa2LVkbB4Do4SUuuPI4kWtbO3MVDN7yIZoFB64GEW+NEl0V5xKQlE0KysY7VCUH4evqESIT2TCV8UB+ev5Rvk+4y6afSxvO7iYRy54= Received: from VI1PR0802CA0033.eurprd08.prod.outlook.com (2603:10a6:800:a9::19) by AM0PR08MB4947.eurprd08.prod.outlook.com (2603:10a6:208:158::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.14; Tue, 6 Aug 2019 08:18:23 +0000 Received: from AM5EUR03FT013.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::205) by VI1PR0802CA0033.outlook.office365.com (2603:10a6:800:a9::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2136.16 via Frontend Transport; Tue, 6 Aug 2019 08:18:23 +0000 Authentication-Results: spf=temperror (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT013.mail.protection.outlook.com (10.152.16.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2052.18 via Frontend Transport; Tue, 6 Aug 2019 08:18:21 +0000 Received: ("Tessian outbound 220137ab7b0b:v26"); Tue, 06 Aug 2019 08:18:20 +0000 X-CR-MTA-TID: 64aa7808 Received: from 8cefa9abde7d.1 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.8.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 070661B5-8763-4AC5-B848-D90B429EB3AE.1; Tue, 06 Aug 2019 08:18:15 +0000 Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-am5eur03lp2050.outbound.protection.outlook.com [104.47.8.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 8cefa9abde7d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 06 Aug 2019 08:18:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dL6N64wiIPRtVEZQWB6LX5WQZ3WFn/uqY15uoxrzh1nfmWlVGzmz/3QCdLw81ixWRpRrka8KgA9BVdnwj2F2kIiHX/kgXBJPJZLKKQyx7hRY0zdxwzyPbqUVjmjNmTkNnKvfDn/RDQJxuENtTcXfDfhyUEBs0b/UKO4Q/pFE+Lwk7PIS4G+55JhAWindOO/jgaKjyXmZG+XNadqTZSKTi+4GtVI7SF6rNjkNChDBrOCfv4EXg4YVeaTGw8hURe/9Fh5Q2sJDkxZlFOW0pW+zUw6hXVW6IvdHtQ75AtVqqRJBjTqDprr1kucQnrGr/K7R2/UGCOW+I/2+EjM7KF/kWg== 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=PhCadHM6cum5xkLVMTQnkoqWtjw6jS0cBHdjPIEzjl0=; b=b3/2Y8CIIvhkesHarjP8BeOYiZC/k2S8Tu/U/7REpVzAfjoWqxmLFqHJzaNzJNaOelhXbc5ykbcFMSko7KCkt/iP/tEJDSstCBbKAm6I683vTQlbz8vVpGato/6AKBRUI7fH+qF/Qln92+jLDsoigwcPYWy39yc27Vdxfq1hNq0yWB1IShgrHg23OT+QnFwEcQYc2HUFHayLthXq8BfQ1abcIs8fC6Lf2sXoX0r1D/YRpvkDmT32fUNvHh0GXuJvXVyTZ7a6K+PW51785c8Jt81NSrSoVtfWqIN6BGdzAD7K87uRKXOWttxoYmLlqPVEHgJxXpPoVMKCwPMNSoS4OA== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=arm.com;dmarc=pass action=none header.from=arm.com;dkim=pass header.d=arm.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PhCadHM6cum5xkLVMTQnkoqWtjw6jS0cBHdjPIEzjl0=; b=Tyh44apIGJH8fFJFS/Ct+g5jMXhAi+fo3Jb3EFtDgMBe5mGwzapBzz9Yhpx0pBKjDxJsDMa2LVkbB4Do4SUuuPI4kWtbO3MVDN7yIZoFB64GEW+NEl0V5xKQlE0KysY7VCUH4evqESIT2TCV8UB+ev5Rvk+4y6afSxvO7iYRy54= Received: from VE1PR08MB4640.eurprd08.prod.outlook.com (10.255.27.75) by VE1PR08MB4781.eurprd08.prod.outlook.com (10.255.114.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.16; Tue, 6 Aug 2019 08:18:13 +0000 Received: from VE1PR08MB4640.eurprd08.prod.outlook.com ([fe80::f4e4:378b:49d3:d876]) by VE1PR08MB4640.eurprd08.prod.outlook.com ([fe80::f4e4:378b:49d3:d876%5]) with mapi id 15.20.2136.018; Tue, 6 Aug 2019 08:18:13 +0000 From: "Phil Yang (Arm Technology China)" To: "thomas@monjalon.net" , "jgrajcia@cisco.com" CC: "dev@dpdk.org" , "anatoly.burakov@intel.com" , "ferruh.yigit@intel.com" , "Gavin Hu (Arm Technology China)" , Honnappa Nagarahalli , nd , nd Thread-Topic: [dpdk-dev] [PATCH] net/memif: fix multi-process device probe error Thread-Index: AQHVSFTgzFZeGWshgEu2X6fNDgzgQqboWigAgAVxVICAAAA4gA== Date: Tue, 6 Aug 2019 08:18:13 +0000 Message-ID: References: <1564655727-4142-1-git-send-email-phil.yang@arm.com> <4150673.WUjg2Ml5sm@xps> <2404131.uETaXi0Jkk@xps> In-Reply-To: <2404131.uETaXi0Jkk@xps> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 3cd2976d-1832-495c-9126-d2e31c21f9fd.0 x-checkrecipientchecked: true Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Phil.Yang@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 602b8cdc-32dd-4161-4ea9-08d71a46a551 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam-Untrusted: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VE1PR08MB4781; X-MS-TrafficTypeDiagnostic: VE1PR08MB4781:|AM0PR08MB4947: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:1775;OLM:1775; x-forefront-prvs: 0121F24F22 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(366004)(39860400002)(136003)(396003)(346002)(376002)(189003)(199004)(13464003)(446003)(229853002)(33656002)(316002)(110136005)(8676002)(68736007)(6116002)(3846002)(53546011)(55236004)(6246003)(102836004)(71190400001)(26005)(7736002)(54906003)(4326008)(186003)(71200400001)(6436002)(52536014)(5660300002)(66066001)(11346002)(476003)(486006)(478600001)(53936002)(305945005)(2501003)(86362001)(99286004)(9686003)(14444005)(25786009)(256004)(14454004)(6506007)(55016002)(7696005)(76116006)(81156014)(8936002)(66556008)(66446008)(76176011)(66476007)(2906002)(64756008)(74316002)(81166006)(66946007); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB4781; H:VE1PR08MB4640.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info-Original: ciOhMk0NSHIMP+bcrPuRj0pLBnYq+ri/SzqHYXdpswgdZB0ZrwC3zrAOVYUrVJiTxtnilSyHp+TILklyI8U8aTjXHJbhtEV+8NC8ZkVDnMJAzDmNDOFl3jVencKbfXaSWhHdNZWU8tuL7vTr6q/brw4vFNdR2u9BZL7fO2GWLVg0Sm+FybjlNUR/1HVtrnzMsGj5CpO5kRaPnQd4XMAe6XH+BvIz1ZeKwNRZkyyI5zQCbh5EHbfCgKlpSwmCeTy/R80vAxX2MtDzQhg4IB44K5YXVOc1bkwO61zQ7TO1hATJyKvkMibMuh/6Srns5CxXvG9pTL5B5TP+nJ/To7PsCKfIf3CREpjkjmsqKPkNDMb7AlkIwagGOfFYKnHshe7b7MLYLGP5jKXCF2oHbh4ynPCha+3DrqTTv3XBgVEbf3k= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4781 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Phil.Yang@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT013.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(396003)(136003)(39860400002)(2980300002)(13464003)(199004)(189003)(356004)(25786009)(6506007)(7696005)(9686003)(14454004)(53546011)(55016002)(22756006)(33656002)(478600001)(99286004)(81166006)(81156014)(26826003)(6246003)(76176011)(4326008)(26005)(2906002)(102836004)(8936002)(229853002)(8746002)(86362001)(63350400001)(5660300002)(46406003)(11346002)(63370400001)(66066001)(36906005)(446003)(74316002)(305945005)(486006)(50466002)(7736002)(476003)(47776003)(52536014)(126002)(70586007)(70206006)(76130400001)(14444005)(54906003)(336012)(186003)(23726003)(6116002)(97756001)(3846002)(316002)(8676002)(110136005)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB4947; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:TempError; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 1a0c3592-a1aa-46ca-4ced-08d71a46a021 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(710020)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:AM0PR08MB4947; NoDisclaimer: True X-Forefront-PRVS: 0121F24F22 X-Microsoft-Antispam-Message-Info: IfSCAqAlhkTs5rdou9BEjvRubo9m09XdYY4RxObelSkTeDNFfwWiyVQ9TvW8ma/vr46XfKZMUG0C/mJ1CUqHezSxULk+unHy/Zi3iPgKiaw50QmJ+PKqVsRUz1JN8Dbq1Cci1Zdqn66qFJ/ukPhL//hpqLxcSrBygH/ZEsH2ZAXd5u238kAaVcDlUVyawPrK07XEPeHDXjHmFsGpmiYxwdV+JOnOGvL2VRusfLLjzFXIkESYAtdnPpxYeiWsZTzyOSfTbigt5SkpOYk2f46wx32jWzEIWGml/7KStPJuS0c6wFjmPeU0MrIY/dprycGnR/RDYQb9UtyXZQxDLMpciPJg1EoaxLk3EnZsUEEdnYlEU5dC9I6W41BxQoXjLjwo/uEmVrQhh6PkIQLXb2PhlJGTSIeIxvqoCaZxlihRfSs= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2019 08:18:21.9056 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 602b8cdc-32dd-4161-4ea9-08d71a46a551 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4947 Subject: Re: [dpdk-dev] [PATCH] net/memif: fix multi-process device probe error 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Thomas Monjalon > Sent: Tuesday, August 6, 2019 4:08 PM > To: Phil Yang (Arm Technology China) ; > jgrajcia@cisco.com > Cc: dev@dpdk.org; anatoly.burakov@intel.com; ferruh.yigit@intel.com; > Gavin Hu (Arm Technology China) ; Honnappa > Nagarahalli ; nd > Subject: Re: [dpdk-dev] [PATCH] net/memif: fix multi-process device probe > error >=20 > 02/08/2019 23:01, Thomas Monjalon: > > 01/08/2019 12:35, Phil Yang: > > > Fixes: c41a04958b ("net/memif: support multi-process") > > > > > > Signed-off-by: Phil Yang > > > Reviewed-by: Gavin Hu > > > --- > > > --- a/drivers/net/memif/rte_eth_memif.c > > > +++ b/drivers/net/memif/rte_eth_memif.c > > > @@ -1265,7 +1265,7 @@ rte_pmd_memif_probe(struct > rte_vdev_device *vdev) > > > eth_dev->dev_ops =3D &ops; > > > eth_dev->device =3D &vdev->device; > > > eth_dev->rx_pkt_burst =3D eth_memif_rx; > > > - eth_dev->tx_pkt_burst =3D eth_memif_rx; > > > + eth_dev->tx_pkt_burst =3D eth_memif_tx; > > Hi Thomas, Sorry for the later response. > > It is not a probe error, but malfunctioning device, right? Yes, agree. > > What is the current behaviour? You could better explain > > the symptom in the commit log, and the root cause (typo). Since testpmd has issues working as a secondary process, so I cannot get th= e typo for this issue. But in logically, the memif PMD should use eth_memif_tx in the egress path. I will update the commit log in v2. >=20 > Nobody is replying or sending a v2? > Jakub? > Thanks, Phil =20