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 2F464A0350; Tue, 23 Jun 2020 09:38:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EC5861D563; Tue, 23 Jun 2020 09:38:26 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70045.outbound.protection.outlook.com [40.107.7.45]) by dpdk.org (Postfix) with ESMTP id F0B161D555 for ; Tue, 23 Jun 2020 09:38: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=ABoT9SOFnkRGq59dEjCmflKzbuHnxbe2Rh2wikoDuRY=; b=cMXUA/rSxzWmLB1pnEfjCSq11pciBaUKU1zYI8VUkUl/90eSNIIfiOmtqtGKn6ZraWJyvHnMPNBYtKOUxApg8cOhGbYqTevIGAeApa77Z4BPZ028VOek3WCG1h+LvRbtFPmCOxDV7IOCYQdFme3GpZIjP/PIJrcwHmJ7gIxIWao= Received: from AM6PR0502CA0063.eurprd05.prod.outlook.com (2603:10a6:20b:56::40) by HE1PR0802MB2473.eurprd08.prod.outlook.com (2603:10a6:3:df::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.21; Tue, 23 Jun 2020 07:38:24 +0000 Received: from VE1EUR03FT020.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:56:cafe::10) by AM6PR0502CA0063.outlook.office365.com (2603:10a6:20b:56::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.23 via Frontend Transport; Tue, 23 Jun 2020 07:38:24 +0000 X-MS-Exchange-Authentication-Results: spf=pass (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=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT020.mail.protection.outlook.com (10.152.18.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22 via Frontend Transport; Tue, 23 Jun 2020 07:38:24 +0000 Received: ("Tessian outbound 147ff5d152c1:v59"); Tue, 23 Jun 2020 07:38:24 +0000 X-CR-MTA-TID: 64aa7808 Received: from 873d87d141dd.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 2885425C-BDB1-4E38-9C5B-04A1881203E7.1; Tue, 23 Jun 2020 07:38:19 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 873d87d141dd.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 23 Jun 2020 07:38:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CjdmWRk6uuYxPKpjbwYfOSzaEG281uMuqRQzybtjIMBpHZQUzeRnZq1yVRqKiyiUV+Ts4AJgPpCK4DejlKMkKPAGqsHVTUcNsgHusUnIAr3qr8lrB9ymtkjv9/VKhsXLTsSiGyutHR0FJmH3HDSqiMYpFGKiVCY0JT7QLcr9+C5jUHfTtJVukdzrPB3kYhAWnrYKpTAoyRLDFig+BlFgEAA7i1OJHAkBy4v/XiqfRKRNeMsX015UbVqw/Fv3baEVzqsJLTaSe2Vyugb27qpYFjTElNWpYofiOwph258Fi8QCKj69pFzDH21+cLEvjsT6aB721JRDwBw0+lFxfwKjmg== 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=ABoT9SOFnkRGq59dEjCmflKzbuHnxbe2Rh2wikoDuRY=; b=n8apI/eyZ41Z+JPfiV2a7PJFMGVC7BMgT59fNpmWccabwYFFdeSiC1OUTrA3wzCRxAJT/2FdQ/Wo9/a2G6Wojlaq9RzZqnKSc8opV3CiptnRc4EgolJxGofOIr+GYnV3KTa1LCJp+A7XLRJbe9gG/TQOfIW+fQ6NKgWc1+Cb2xy+VY1QMpm2run0q+ai0vf0JIHN7nzsK0qgFTWrRt10dvYVXBmO4V3bsscCe11AQxUWKGKOkOoWyHhuo0JCkNCyIJqgbpzhpzuEnvw7zq7pd1Gyb6CqeLWrkys8sayl5QA5+F+a87YococpzPyPEbPswnh1ZOF3AGlA8d8huHvN2g== 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=ABoT9SOFnkRGq59dEjCmflKzbuHnxbe2Rh2wikoDuRY=; b=cMXUA/rSxzWmLB1pnEfjCSq11pciBaUKU1zYI8VUkUl/90eSNIIfiOmtqtGKn6ZraWJyvHnMPNBYtKOUxApg8cOhGbYqTevIGAeApa77Z4BPZ028VOek3WCG1h+LvRbtFPmCOxDV7IOCYQdFme3GpZIjP/PIJrcwHmJ7gIxIWao= Received: from VE1PR08MB4640.eurprd08.prod.outlook.com (2603:10a6:802:b2::11) by VE1PR08MB4783.eurprd08.prod.outlook.com (2603:10a6:802:a9::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22; Tue, 23 Jun 2020 07:38:17 +0000 Received: from VE1PR08MB4640.eurprd08.prod.outlook.com ([fe80::c2e:9ccb:a690:6863]) by VE1PR08MB4640.eurprd08.prod.outlook.com ([fe80::c2e:9ccb:a690:6863%6]) with mapi id 15.20.3109.027; Tue, 23 Jun 2020 07:38:17 +0000 From: Phil Yang To: Jasvinder Singh , "dev@dpdk.org" CC: "cristian.dumitrescu@intel.com" Thread-Topic: [dpdk-dev] [PATCH] app/testpmd: remove softnic forward mode Thread-Index: AQHWSK0MaI92m2ebFUyoXbdwLbUU4qjly/1w Date: Tue, 23 Jun 2020 07:38:17 +0000 Message-ID: References: <20200622155122.56200-1-jasvinder.singh@intel.com> In-Reply-To: <20200622155122.56200-1-jasvinder.singh@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: adf6f7b8-232d-4951-90a9-7a8248555980.0 x-checkrecipientchecked: true Authentication-Results-Original: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [203.126.0.113] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 75f9d3a3-02c5-4c04-a567-08d817486927 x-ms-traffictypediagnostic: VE1PR08MB4783:|HE1PR0802MB2473: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:8273;OLM:10000; x-forefront-prvs: 04433051BF X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: itic3Hld0J/8kn86gu33szIlGLj6H9gZ+P2BxSEoRpBCqM+arRjO26CNheG1tmfxK/NshVu3giSYTkIwkBeF9gTcl11vpVRZkpM/3aupa9ool3UMGvmZ0OrJP5v1oFc0aLuNEGyQcjODAblVtruBN7wIOpUq6UywetUAIac6FV06kMQ/QIAdvYxmyckqFtPgZGmCEcPynRCq5XrB+SArcAEV+eu457ZjaYmlxrgkvS2LuQt5zkiH2PkdC+hSYS2zSXJNPhxREhtkapMdEynCCI7Hhoufrz4iC3d358StPal4xnI92jD/8Mq2ZvFRuvs/ X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR08MB4640.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(366004)(396003)(346002)(376002)(39860400002)(186003)(2906002)(478600001)(9686003)(66946007)(55016002)(5660300002)(76116006)(66556008)(8936002)(66476007)(64756008)(8676002)(4326008)(66446008)(33656002)(71200400001)(316002)(110136005)(7696005)(26005)(53546011)(6506007)(83380400001)(52536014)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: Hz2WcF1sMA3E6WTkmlGZUts3rKaNoqQEfMtTrdxvex5PoZxWeYXKdjB1Zn2ixRLHvOgl/XP2IbKsH9SsN1at1gfV21YW0ckPwpwF6uCtYs2JmCXkClJYGDiQMyrlxMdKhWWLhNV/H/7A14CfxTU73pjvkYRZzWWHEKXzjUNBOS+VsPzYXkd5j8gG0tndpdtDps1Xwne6PHQ4TEq2eVsUnjhQijuHOkcP1ZJKTXbLRZ+ptkyhALrAoSriEl3GvSHbhan5ftDEsT2AS96SmR/KBaedrveCxA68Cde55rTCPC65/CjflQj8926NN+ALeGTADxusESLWq6nqGf+WkRlmFJdXWYIeVGQivoat2beiZbXaOHvn++Kl+oAP6zkvAlTEBUze9jFNTZyasqcCXu70d2Oz28FK7fhRd6i0pfDlifz5o1librBShgblR03Xf9z06UGcB75A0x9jz+du/8o2qcgvwIYUQ+rRevdEzdy+lcg= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4783 Original-Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT020.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFTY:; SFS:(4636009)(376002)(346002)(136003)(39860400002)(396003)(46966005)(478600001)(6506007)(2906002)(53546011)(36906005)(9686003)(110136005)(55016002)(336012)(316002)(33656002)(26005)(83380400001)(81166007)(7696005)(82310400002)(356005)(186003)(47076004)(8676002)(8936002)(86362001)(82740400003)(4326008)(107886003)(5660300002)(52536014)(70586007)(70206006); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 14edb51e-ba30-4a5f-b15f-08d81748652c X-Forefront-PRVS: 04433051BF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tu8qTHyHNmHKFVo2orkdOws4Ym8gyTW/4Ocodv1ugp8fzFL0ck0Q/THfyPVjvlLUumAELbtalkUYG2xJtAvXe6bklBk8vhDIsFroiGCw0HNGfsVA/hLipjlAbzNcPCkfVFBgPgYKwR6V3OHyC0W3b7e7852dHua8+2XW1gZS1VHPw4cE6qw6eVRsDuwvLMZ2eykFhgdlOWOk98ZJyWTiw7v+wM/EkDkG0e60q+BRdytaoI5Z+sZe8kdEFBmhZrgF+ESxOWitsWjRdUVit+TyO7Jttk9ZU8LzIkaf/EflveyGvvwN+YiZtpATpjkw7Vq+uOwJt96qB7X3Bz/MlG/nDfAsscbxpomZQSIrgkj1LXM9F7JkBh9k+iLU++gr3CWvdCPiDEsaA59HV1afuLVXpw== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jun 2020 07:38:24.1125 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 75f9d3a3-02c5-4c04-a567-08d817486927 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: HE1PR0802MB2473 Subject: Re: [dpdk-dev] [PATCH] app/testpmd: remove softnic forward mode 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: dev On Behalf Of Jasvinder Singh > Sent: Monday, June 22, 2020 11:51 PM > To: dev@dpdk.org > Cc: cristian.dumitrescu@intel.com > Subject: [dpdk-dev] [PATCH] app/testpmd: remove softnic forward mode > > Softnic can be used like other virtual devices without > needing any special mode. Therefore, softnic forward mode > is removed from testpmd app. Documentation is updated as > well. > Hi Jasvinder, One quick question for this change. How can we test the softnic PMD withou= t this mode? The softnic PMD guidance uses testpmd softnic mode in the PMD test section. However, when I switch the forward mode from softnic to IO mode, the testpm= d cannot work as expected. I think you need to update the softnic PMD page as well. doc/guides/nics/softnic.rst Thanks, Phil > Signed-off-by: Jasvinder Singh > Acked-by: Cristian Dumitrescu > --- > app/test-pmd/Makefile | 4 - > app/test-pmd/cmdline.c | 82 --- > app/test-pmd/config.c | 56 -- > app/test-pmd/meson.build | 4 - > app/test-pmd/softnicfwd.c | 686 -------------------- > app/test-pmd/testpmd.c | 16 - > app/test-pmd/testpmd.h | 22 - > doc/guides/testpmd_app_ug/testpmd_funcs.rst | 10 - > 8 files changed, 880 deletions(-) > delete mode 100644 app/test-pmd/softnicfwd.c IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.