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 A3001A0548; Tue, 11 Oct 2022 18:18:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 88C284114A; Tue, 11 Oct 2022 18:18:37 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2072.outbound.protection.outlook.com [40.107.223.72]) by mails.dpdk.org (Postfix) with ESMTP id 8E0DF41147 for ; Tue, 11 Oct 2022 18:18:35 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cU3aFJLOUAjmBceFur9mmZZGQ0gigsNKcqSXaybYFnVk159oxR22hUeRc4bqJJkNU9DRELR2pBznoGt80dlO+O2GJw07PpVep+/t9E/BxAxz/7EzDt53EbzfpMr/4/CY0kqTldHa5iTIPjClFMggq51BQOT5SlA4tSKHAbrtLsZkSPcPnJVx3ropZPXSfrae9jjNIU6jOuw/SL4B3d4C/FOI2G/Pm4AbvdCXWkkxWpoomqt3xCuw4000EYKnpZzx5tUykJfdT8cwgpgsx39U1x/NxDkntOkLBKPZ/6FfWE0DWl2tEZAceQNYLxBZlSNIqjHpwfPdS+4uDqidE3xJWA== 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=WExVUF6OpWPkb1x6EhluaBjHIbtKinPzGWuKZK0hav8=; b=lyUgy2j4cZyi+bPvke50IMAQwysU/ngdS+NwRmbB3phCF6YLBd17z0TmmA7Gxm0sgTqKA7LKKtupxbJS+y95Or0hO03UXRBQo9od8GudndhGxyzdWJeiSCnS9i/+l/xWhA7VVPUkuU88FdoqA3o8shdMmdRnuU/s5P/6bL85Senl8o8XiDb0bpJBXjU8UpO+VoM0FTOXzTY9AVI5tsKag0dz5w2/6s0/Ecgb84OwDCINbY2l4V3na1fer2ng23dENaCD2v4fGc/6U2Vl1fo3iXzkMPI93wX7qMiXexeKEUffbaRTrqHJ+LCbzeDVvRACvo6RvmCEBUmoCNETVqL10g== 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=WExVUF6OpWPkb1x6EhluaBjHIbtKinPzGWuKZK0hav8=; b=or9xAv7mghr1H6PlNMUJykw70bypTwufLLs0oTycWzXrM/6jcrp1EMavGvoxM5oJvo+P8mmI3FtH/lKDoIZO27M6MF+TEN01W8Txly2YL3Z1NZszl48ryTbFjCM2fZ74IsAAwhOJ5CC0JCQT0lecCtJID67z2ZYfmDKmPKOA3UM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DM6PR12MB4297.namprd12.prod.outlook.com (2603:10b6:5:211::20) by PH7PR12MB6419.namprd12.prod.outlook.com (2603:10b6:510:1fd::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.19; Tue, 11 Oct 2022 16:18:31 +0000 Received: from DM6PR12MB4297.namprd12.prod.outlook.com ([fe80::b9fd:e732:4585:6b25]) by DM6PR12MB4297.namprd12.prod.outlook.com ([fe80::b9fd:e732:4585:6b25%7]) with mapi id 15.20.5676.036; Tue, 11 Oct 2022 16:18:31 +0000 Message-ID: Date: Tue, 11 Oct 2022 17:18:26 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [RFC] net: add experimental UDP encapsulation PMD Content-Language: en-US To: Stephen Hemminger References: <20221011001016.173447-1-stephen@networkplumber.org> From: Ferruh Yigit Cc: dev@dpdk.org In-Reply-To: <20221011001016.173447-1-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0388.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18f::15) To DM6PR12MB4297.namprd12.prod.outlook.com (2603:10b6:5:211::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR12MB4297:EE_|PH7PR12MB6419:EE_ X-MS-Office365-Filtering-Correlation-Id: 85537ac8-fdd9-4848-8c16-08daaba43d1a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: haZ/+o+FCYkf5zT2Ihl3ilCznC/Wb+vgyZSmILTztdmBW1ltrsOg8yn8A/uXm6iKCNs4oR4GRuxbP9m1ebrs0I5EJB3PRHiOU3QxMLDbnyA9tTD6uZEu1G67MvRT94T5Yhg6m0EaHtUTrRoHsCA6SjA4443S9xhKHRfn8sie1qAjQtzTEbix20s1leClQevE/uVAErdA54oYzfzLiqsC7z0nx6mrdmPm76ec0n8NysaEqdRSmR6RwfFEMPsbS2JeYp6CCJjfGYcT3RgvAfNdUpnNXFxaw4TquT9ZO24zrho+CX76JHQ+D3R42+Msrp5b+pi0lnZmJc9zDc0Q3UYVVict6X5CfjgsaiBNC9z8HXY4l0PLB10t2YgLfE/QmPid2I/fJIDAF3faJ8t8voYdhdT0WI1HmcTqUwaVQ2IDjYBFXJnpVinhQlADu4Rad7K3TccrwfuVjYi9ET2VjB/PiIEhdIwyh4xxyfhqVukWulfjN+HfssBRkrcxsZwoG098RF9FjzNQFD6DTUcaJhphTfr/E2uCMnu6WMMTx63OX96fes2v6MfelI2MrgjDgvLN8HUX6RJv6z0EObQjY+wMOvCSPIrQM6KkA/XHu1raRHe98HN1NsyXqp8SIo9nxhK15RJ0lxwg78PZvG5XFvFgz/eCLef/8rqliN8uKUbpIQKM815woFhs7W5R1oPxCyXRrc2SjaqQ/RGS1g3s0EGIXlWeUByajLxSHmNSqNoEhobao/+d5BLuTl0ML6DAlRyFqldemr3bXOVz1wB9/zhPCJf6QLqcbEsnVgam58t1Oa4= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB4297.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(346002)(136003)(376002)(39860400002)(366004)(396003)(451199015)(8676002)(36756003)(38100700002)(6916009)(316002)(478600001)(6486002)(31696002)(86362001)(2906002)(4744005)(44832011)(66556008)(66476007)(66946007)(4326008)(5660300002)(41300700001)(6506007)(53546011)(2616005)(26005)(31686004)(6512007)(6666004)(8936002)(186003)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SU9SREsxd3ZqdW9oL0kwajNLcm15TkpmZnlKZWUxaFQ5WU9scnVVS0l3SW9P?= =?utf-8?B?QWRMUUtqUXV6dXNMT3ZqbERHb2R5WWgvUWY3bkVKd2FmWjUwV3h4WTk1MkZk?= =?utf-8?B?NHRhTFd3bDNJZklXYjYrZjhjeU00TVpaeE1MK2RxaEF1YXBwWW5PeVJELzFB?= =?utf-8?B?RmljZFdaMXhBZ3ZSNmFWUVpadjFURXhnL2hVR2VNd2VsQ2pObFlpY0wzNDFF?= =?utf-8?B?RzUydFZmaEJyWGpVWkxRK1BDTFNRcXBqSDhiSFU1ZDJUNnNUamJ6eW5oQi9J?= =?utf-8?B?RWxlRFIraHkvZnR1bUdkQlFHa2Zxd0tXYUJvSHZWbHhNelJRMEo3U01V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6KP?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 85537ac8-fdd9-4848-8c16-08daaba43d1a X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB4297.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2022 16:18:31.7450 (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: 0nhH3lm5kxiXgtKYw5hjIms0GHksGUTVpVN7o68WP4sujPrByhe0dZIKzJaLPAeW X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6419 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 10/11/2022 1:10 AM, Stephen Hemminger wrote: > This is a new PMD which can be useful to test a DPDK application > from another test program. The PMD binds to a connected UDP socket > and expects to receive and send raw Ethernet packets over that > socket. > Why is the 'connected UDP socket' requirement? I guess this maps with 'SO_REUSEPORT' in the code. > This is especially useful for testing envirionments where you > can't/don't want to give the test driver program route permission. > > Signed-off-by: Stephen Hemminger > --- > This is 1st draft port of some test infrastructure to get > feedback and comments from community. > > Later version will include an example and unit tests. I think pcap PMD can be used for similar testing purposed, but we can have UDP PMD too, it may open other possibilities as a method to communicate with other non-dpdk applications. Although this is draft I will put some comments in other thread for next version.