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 A2FC942825; Thu, 23 Mar 2023 12:51:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3C9B64021E; Thu, 23 Mar 2023 12:51:42 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by mails.dpdk.org (Postfix) with ESMTP id E7E864021D; Thu, 23 Mar 2023 12:51:40 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g850uAUp/WDGhffkxU0QGdQ+Qr4s/ybQobzFHhCT1HmHE41niOnARetiRl2FnQAvq0i7UGFTOjSe+Yd1dHXf2I2y5xwPns5zkKD3tiUMl5PcmqYuScsATtJqkVIfWY1vHl0w8OvdHjHtVz+cS9bOp/CBiXlLYOjY4WYoty4IZz+zeIc5uXigq4i57K5z1FgCz0kBDO3LVjHbnqsK3F0QqR4bcqLL1BCKtnkq5GBGZZ3GM3mFWEoiTnV7T3tPpVzXidyGjEXJwF65Jr4HF5Zz8rfwO+H87tF0gcmkpdqLliydX+CkM+oDWEQ3xMmxe5F7gmr2v4UPTiWugXNCPkhXsA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Tl/RYiqgvY1PiKoKjFgPKjvbzAdcsMoryMbcgwyfo7I=; b=drIilZcK3kcXQKEhFwjA7xUBaAa1pZYPVuDnPzOAg4zgQMo8u0gyXSFLFaPK0UIM8pwU6h8RCJ+dhWJm+JBwA/5xZtGK3UIbmwvyuh1+GW5XiBeIsVYXHdfYDJDLw8C44bmWa9ymQAxicV/dYhPr1VaiEYnrpuSPMnuQSs2ihT6NYCywKtHwHdoe6tPybPBWCzFTaNkcJG32A471IvqE6I47ZheN9CJSwFmXZ4+FuLsXEbx9LqCVFOESKquXGcHuHm4LP6kTII/zEiyNjY4NVbWZZBp5XKEH6UkJ0sV6Jzwe9IQC6N75vIu8LOmoETwJXE7HiXf6hTR68xf43Iw9Mw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Tl/RYiqgvY1PiKoKjFgPKjvbzAdcsMoryMbcgwyfo7I=; b=hAvL0ctmGmHMl9Vzu6iNvEVr43G9Yxt+dKj+5b9nU4Z53cxHRwbSnN01HtvP63x1/jcWftJ7V3eZ/4R+/5k8Zm/7Do+ob0jqF8XY4Q+7kVq9KAoK/x+KQEvdh1CsepOvt2Vm6m6Z0bw355iJDr8tdVzsUnrKY3D+TiwAV4R2duQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by BN9PR12MB5384.namprd12.prod.outlook.com (2603:10b6:408:105::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Thu, 23 Mar 2023 11:51:37 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640%5]) with mapi id 15.20.6178.038; Thu, 23 Mar 2023 11:51:37 +0000 Message-ID: Date: Thu, 23 Mar 2023 11:51:30 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH] app/testpmd:add vxlan txonly Content-Language: en-US From: Ferruh Yigit To: wushaohua , dev@dpdk.org Cc: aman.deep.singh@intel.com, yuying.zhang@intel.com, Keith Wiles , "techboard@dpdk.org" References: <20230103023027.1893801-1-wushaohua@chinatelecom.cn> <4d7f1677-b64e-add2-cc5f-fdc37467e1ab@chinatelecom.cn> <20e8dd54-1706-f454-45ce-be2efe1b69f9@amd.com> In-Reply-To: <20e8dd54-1706-f454-45ce-be2efe1b69f9@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0150.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:188::11) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|BN9PR12MB5384:EE_ X-MS-Office365-Filtering-Correlation-Id: 67f13f65-3d78-4464-2614-08db2b94f4f8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: g7aIIj7pzLx+FDMFZjKD7ODwms2OxEFoXb+VOvfYQfsRC2sv2AAUfiDEV0etd56/DopsBvAwTsAFd8ejVl57ezAu4IJ5tLfQ0UeD0eat9PUObi2GYeweQLxtsSO3JV5tTWuCuVxWC8zm8faq2PZq/30XQcKJjJqtzQQtKxQFZuKCZzYm50iAVcDGC6GQ8C+USq8t0BpgygL9zTrw4IigNW2AtyMh27KwDHLhSrOcYEHwXKs0UfjPawefFkMEHhrLwS8DoeHBS5fVJjli3QGXYnhoestEfJA01AYBcBlmG5Jf0Uiza637G0pYrgPcKn48CpOm3+Rt4RxEgSuSHWxJgK0H5vlmvs7G+mq3IJxYJdJoOCjyqg0ZoMb2MNUmEFMm7GACL8QUAYYwyqN5tEH6y2J/ryC9Yhxn3YyaFWt3br0IS6XHX/+oWL+ztdkjNWUb3bk5vIv2AQCBD/MFO8VfN5teeFUhWVUg0y91n5UEBrxDF7HJBui5aH2RuJAurZgHvJn5DTQSAS+2UXhWRFjYJzLOzpMyCC5B7J0OHr3PbLdVIVGP91C5GM33K57ROdVXd5JxuNeXHYRI8fzr8YoHJzNelNsALNbdoS4reHnf34TbPVVnxCt71I982Lh8dQKzbpg/HuT3Ia9/YtAIln1bcv3UBIFiWi4/+/mTP6QSfF5z429h9ILMP5TqKuvZk7sxWLKBOEVvymRhWN3tutb0VfNsKKhbBhhxzav2YHOtBj4jkkrNJ7hHMS77i3gxKv4tU7WQJv8fAn8nggaVCoNzuQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(346002)(366004)(376002)(136003)(39860400002)(396003)(451199018)(31686004)(38100700002)(2906002)(45080400002)(83380400001)(478600001)(966005)(6486002)(2616005)(186003)(31696002)(86362001)(36756003)(316002)(54906003)(66476007)(8676002)(66556008)(66946007)(4326008)(8936002)(6666004)(26005)(53546011)(6512007)(6506007)(44832011)(5660300002)(41300700001)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dkY4L0VsQ2VPdkFRQ1M4TzNBSHBPOE4rZmVaa0pXbi9tTWlkMGlSVE1hR1hB?= =?utf-8?B?cktsNzQyYlJnQzRhT3FXRC9kYU5uUW9uZTlmNmNkWU00OTZ3Um11dXd1ZVIv?= =?utf-8?B?TjZBQzZydDdhNFJ3cG5jZUVPc0dnbnpYYVVvaEFoQmhZeWI2eFU0N2JUK2Nw?= =?utf-8?B?STdZZ2FXMlNWODdTN1E3SH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oz?= =?utf-8?B?U2lnNENwY3BLczgzVE4wKzBud0pBR1hqZmhCSUJmTGlhcGMzOXlaYlNyT0Zw?= =?utf-8?B?MWw0WlRXMWl6NVJOazZBeUFHMTQ4NFlNSDBFd3ozc3doNytnRzgveGFXWVd6?= =?utf-8?Q?HLBywjE0FclNLNqrFZ91m5l0v?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 67f13f65-3d78-4464-2614-08db2b94f4f8 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2023 11:51:37.0628 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: OxWUSWjNCVs3M88oMDe+BbcjWdUZDGzvfyFh7c9XzYR2nj6IN1E1SkxTyNLhEhMC X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5384 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 On 3/6/2023 12:07 PM, Ferruh Yigit wrote: > On 2/18/2023 11:47 PM, Ferruh Yigit wrote: >> On 2/18/2023 11:06 AM, wushaohua wrote: >>> >>> 在 2023/2/18 4:43, Ferruh Yigit 写道: >>>> On 1/3/2023 2:30 AM, wushaohua@chinatelecom.cn wrote: >>>>> From: Shaohua Wu >>>>> >>>>> Add the vxlan packet sending module to actively send >>>>> vxlan packets using a common network adapter. >>>>> The default vni is 1000. >>>>> example: >>>>> ./dpdk-testpmd -l 32-47 -n 16 --file-prefix pg0 -- -i >>>>> --rxq=16 --txq=16 --rxd=1024 --txd=1024 >>>>> --txpkts=64 --burst=64 --mbuf-size=4096 >>>>> --nb-cores=15 --underlay_tx_only >>>>> --underlay-eth-peer=0,f0:00:00:00:00:66 >>>>> --eth-peer=0,08:c0:eb:3e:87:af >>>>> --utx-ip=11.0.0.1,11.0.0.2 >>>>> --tx-ip=30.0.0.1,30.0.0.2 >>>>> --forward-mode=tuntxonly >>>>> --txonly-multi-flow >>>>> >>>>> Signed-off-by: Shaohua Wu >>>> Hi Shaohua, >>>> >>>> This is a good feature but I am not sure if this is in the scope of >>>> testpmd application. >>>> >>>> Testpmd has basic packet generation capabilities, and it is useful for >>>> quick/dirty testing, but for more advanced packet generation perhaps >>>> other tools like pktgen [1] can be used, what do you think? >>>> >>>> What is the justification to have this feature in testpmd, and what is >>>> your usecase? >>>> >>>> >>>> [1] >>>> https://git.dpdk.org/apps/pktgen-dpdk/ >>> >>> Hi Ferruh, >>> >>> Thank you for your review.From what I know now pktgen doesn't seem to support the construction of vxlan packets. >>> >> >> I was asking if it makes sense to add this support to pktgen, instead of >> testpmd. >> > > I would be great to get some feedback from techboard. > Hi Shaohua, This issue is discussed in technical board [1], decision is to not include feature in testpmd, please find details in the meeting notes. [1] https://inbox.dpdk.org/dev/BY3PR18MB4785111EB04ED23CB0CB0107C8BD9@BY3PR18MB4785.namprd18.prod.outlook.com/ >>> In a real test scenario, testpmd only sends bare packets and cannot cover test scenarios, such as ovs decap performance. >>> Currently, testpmd of this patch is used, and the packet sending performance is 22+Mpps with a 25G network adapter. >>> >>> This is necessary for testing DPU devices or virtualization scenarios. >>> >> >