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 2FDE344079; Mon, 20 May 2024 19:49:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1CDB340395; Mon, 20 May 2024 19:49:28 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2044.outbound.protection.outlook.com [40.107.237.44]) by mails.dpdk.org (Postfix) with ESMTP id E53CC402CD for ; Mon, 20 May 2024 19:49:26 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b8TLi3pa5x+h57NIqbOGikKPNg176n17MGA1zaQIH5WUtuQ4aqnjPUtLFfbcMObdSAuRo7d0DgipSzt0idfZ/GqpFVIVC3eGa0TreiNJPdPfDJBUWaYJqEmqsDdslPhP3Jq/DsI1QzBrPYXXY/jitErYk0dIR8LEMsFUrYM6A14KfaKUKuxLYhu3Lfk42F+3Noo0raQHq+DiNSZ6SjU2q+jofdoMJ8BI0ce4DM3qqiduX51lyJHSWyLR1LTHx4MV3pKmkgtACL36Ek0BajoZCktd3MVNUvK2ozUXF0IRco2S22VuYKCXsLmV7b2/O7hgBuNb+F8a8ATBz3Xb52UvoQ== 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=Sj0ddcIqeqE+zEKI2N0d3IyfdJkEcQ8rz+12ZNJ+dTM=; b=JENL5vCQc5T2Pn7qYLjSACtJvioxifmRU5zxB/hhz0rTgwGz8Lz6a01epnZwY8kCHrIxuThtR9KTwyPyKXTwkChORNkciQ2QQJtSI9NiGuNXOs0aQoKp4A7/puyFKd0NrZZWFKHyeYu2ovluppGHx/NZhSzzQjh9aVGKBQnbEzo1+ZjfwSCtF7RUU/hUakktFma+mgYSXxdNXWFHSroQQ221xp3kXLbrsky7YZJOxpwF3ehdkBNUPYQjM915EdoStJWQvAL/h1D3EypEzC3KbnqJEmitun13mRTL9RMOlfyKkUeN2OwPuCgv79MeME30u/ZML0wMSXQMigNcxjX33Q== 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=Sj0ddcIqeqE+zEKI2N0d3IyfdJkEcQ8rz+12ZNJ+dTM=; b=0K3PR9YWkJcSZu0jMEJL3q6fb7qH7e8OhsSZgktfK4crLcYlZJ1g7aRqrInp8zf/kuIrIlc2eCEF2gdEsTAmewdF7WLjwtlfPINu3sA7JOeVDxMDHt74QeU96KJqDAhZg2omS8igGdYz1Q0N0Sp1GKqRoIpqIMd+Q86xinr7Muk= 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 CY5PR12MB9056.namprd12.prod.outlook.com (2603:10b6:930:34::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.28; Mon, 20 May 2024 17:49:24 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::282f:29d3:cac1:cde3]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::282f:29d3:cac1:cde3%7]) with mapi id 15.20.7587.035; Mon, 20 May 2024 17:49:24 +0000 Message-ID: <6bb00014-b2ee-4fc9-bdfd-7583e172d3e2@amd.com> Date: Mon, 20 May 2024 18:49:19 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v12 07/12] net/tap: use libbpf to load new BPF program To: Stephen Hemminger , Christian Ehrhardt , Patrick Robb References: <20240130034925.44869-1-stephen@networkplumber.org> <20240502213618.11391-1-stephen@networkplumber.org> <20240502213618.11391-8-stephen@networkplumber.org> Content-Language: en-US Cc: dpdklab , Aaron Conole , dev@dpdk.org From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7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zME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240502213618.11391-8-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0306.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:196::23) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|CY5PR12MB9056:EE_ X-MS-Office365-Filtering-Correlation-Id: 041d925d-ba35-407e-79b5-08dc78f52f71 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|376005|1800799015; X-Microsoft-Antispam-Message-Info: =?utf-8?B?ZmVYTklsMm9rRlhjUm5nTXVyU0FQSjFWWHlyWGZmZTFnWGdva0Y0WWxwZkVj?= =?utf-8?B?aUZvTjZtVk1FckhxMTJiZWhVc2RMQTFKanhSdEVjeFhCSHRUV3lMbXhIbC8v?= =?utf-8?B?Vi85Q3U3ZTBycnpDR1lqNThGMlBLM2RBajNyU3YzMzR3ak84Nk5DbDlqenRH?= =?utf-8?B?cGxhL3dOVTFvRGI0VVFaMzMrbWVIdkt1SEdWQWdXTUNZbGNoWHVFZFdrWSta?= =?utf-8?B?VkJieEoyWVJkeWl2cEZ6YkZ2VlNNMXVRbis5b2hVb29DSitmbi9TWGFPY2o3?= =?utf-8?B?Smc0UnQreWh2MGJmZDhqYmJVZjZBdkl4NTUvRXdoVEcwK3NjYjdqMUpZeFlY?= =?utf-8?B?a3dZN0haQ01ndHpXSVpnaTBSN2FrOGJuNnVHWXJ3LzYwUGp0REJ2TFVTOWY2?= =?utf-8?B?WjBXdDNHR0ZkNjRqZmZGME5lU05Od0prLzdCVnlFeFBpU1lCYXRNNVNPR2x1?= =?utf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I4RVJ2?= =?utf-8?B?dXcyT3JQM1ZPTUl3eXNMSEZ4K1BGOG9wQTVEQ0RBMmhpcXpLTkVvc2RHQ3ov?= =?utf-8?B?VWhEbitEUTdUVWEyRm84RnBZYUFUcmJ1K1JlUjVqeXd1dUhRSHcyNTZwZGJh?= =?utf-8?B?eS9UUW5CQjExQnk5d3VOeHc2WkcyT2ZtRDNPQ09SL3lJaWlPa1RlWFBiaXN4?= =?utf-8?B?eU81a3JRdXU2TGdIakUxNWs3VmowdGVtOW9CcFFRRHF2Rit1QnBFM1IveDFZ?= =?utf-8?B?bGlObjBZYVozbU4rL1d6NmxxbW8vWFNSeWdPUE5tejRMRlRkTXlRdUlMLzZo?= =?utf-8?B?bk5QYk1lSDgrMjBQVWY3eDRROUlLZHZzKzhhQVFNR3gxNlRubmhaRS9RPT0=?= 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:(13230031)(366007)(376005)(1800799015); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?N1ZuS1ZZNkZINzVXSDhFSlN4K2JBenBjelNHeUZYOWJlcmx1UnpHV25FTFow?= =?utf-8?B?U3pIWmdaeWNrSDdCd2dMYXlNcU5yVWlGMG9KbThCOWpxaEM4aEJQNXIzUDR6?= =?utf-8?B?QVJyenFRLzRQd1k0OVE0eFhKYWhGeHg0WURsY1NtSHZDdi8rK0NHeHg4aDIy?= =?utf-8?B?MWsxK2lXMTVsS2xKUzN3U2VKTDVYa2h3bjRjR0NyRnQ3Si9CMzA1b285T3hw?= =?utf-8?B?S1BmUzgwU1dkamVsV2FYYTlQL0x0ZW9GdWg1c1A2S0JKZXVHdHhXR1JMdTR4?= =?utf-8?B?MlozZjZRNjV2alhmdHNYN2xEazVtaU1aTmRBZTd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X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 041d925d-ba35-407e-79b5-08dc78f52f71 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2024 17:49:24.0145 (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: j/X6H36+8HM9G4b7WvAX/v5uQ4cSOzO0W1HsMk7cXHRuF4wCGng1grj5t58ItLOp X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR12MB9056 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 5/2/2024 10:31 PM, Stephen Hemminger wrote: > There were multiple issues in the RSS queue support in the TAP > driver. This required extensive rework of the BPF support. > > Change the BPF loading to use bpftool to > create a skeleton header file, and load with libbpf. > The BPF is always compiled from source so less chance that > source and instructions diverge. Also resolves issue where > libbpf and source get out of sync. The program > is only loaded once, so if multiple rules are created > only one BPF program is loaded in kernel. > > The new BPF program only needs a single action. > No need for action and re-classification step. > > It also fixes the missing bits from the original. > - supports setting RSS key per flow > - level of hash can be L3 or L3/L4. > > Bugzilla ID: 1329 > > Signed-off-by: Stephen Hemminger > The libbpf version in my Ubuntu box, installed with package manager, is 'libbpf.so.0.5.0', so it doesn't satisfy the requirement and bpf support is not compiled for me. @Christian, 'libbpf.so.0.5.0'seems old, it is from 2021, do you know is there a reason Ubuntu stick to this version? And can we expect an update soon? @Patric, I assume test environment also doesn't have 'libbpf', version: '>= 1.0' which we need to test this feature. Is it possible to update test environment to justify this dependency? I think we need to verify at least build (with and without dependency met) for the set.