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 1B9964407D; Tue, 21 May 2024 00:06:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 931B540265; Tue, 21 May 2024 00:06:23 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2042.outbound.protection.outlook.com [40.107.93.42]) by mails.dpdk.org (Postfix) with ESMTP id 1486C4021E for ; Tue, 21 May 2024 00:06:21 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QMYAss3k2uO785SA9/rFjUWHX7/oAnpK8xpsxsUwaw0pE5XRlG8ZbPzVVlXiGOUDJVHdRrg4FL1wQJueKyOOGaZltdqM2LZoPE9wzILgA3rWM5RnRScaCotRuFhPI8yLdt/6AMeq31ewtZQYWYT7dZybFV2WTsQmNSnaZUeiJXEqdaaocFMNCRmV6N92VAt7uKryKC13yEnS4ysw/w+E+RWzBj2/NQP3Td8yKzWjwxaRPIrxe2OsaWnTxdvGXev1/Uj+THwSMZZHMBEHBbylhNRUTxu+5rzKGNlnpRqtBB+837alfktvM00B+m7KatYSSyNIUD8yLSxNLtZWWRgkgg== 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=eo4eJ6cFchJKKeF70WVf9V91weKtzXDrAdwoWQY+EyY=; b=lkUI82RcQFy6vVoK4pix02uyYN0JYGJW74Fzo2ZfXLS+xAnMf/SbaolVoeF0JEixIcFUJh6TQMigXPmo3P5U7TUkjP7MlZDK4ifXGulkdAXSVT7IVpePzKc8qw84i1pyWgJyMGeY6JDoLL3dBQ/Hq1gbx0EBCTILnRIjYfA3bpKGSM+JOSJHqmnh0VgmNDDEX5nXoVbMNzBBNEi12PIOI7YwsWeYuPuYphjob9XneGN9TCC3c27Luhmfxe2J4P+tmIRiCVxY1u6z2hJq4s1cWFafm5Rpzfx4Qr7W1J44aH1OlnZBEG9GJMIHJygork3PZOz0w1Bj0nlUzi8TIyuEdA== 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=eo4eJ6cFchJKKeF70WVf9V91weKtzXDrAdwoWQY+EyY=; b=UVNfwcLowmtvsfATf1MwiTNJARCBiERUw6jLZ0Nau0e7RwGIMTaexIQYEw1n4YGumc6knKfa1lUlXYATf0I//zCNXS9syk/yCuCdCq/qu9N4IyMelE8tmijygxTKYSSw22lXAtUY0tFv81Vc7ZsY1/6KWDy1h/nDVoVQOveEcFI= 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 PH8PR12MB7157.namprd12.prod.outlook.com (2603:10b6:510:22b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Mon, 20 May 2024 22:06:13 +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 22:06:12 +0000 Message-ID: Date: Mon, 20 May 2024 23:06:08 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v12 07/12] net/tap: use libbpf to load new BPF program To: Stephen Hemminger Cc: Christian Ehrhardt , Patrick Robb , dpdklab , Aaron Conole , dev@dpdk.org References: <20240130034925.44869-1-stephen@networkplumber.org> <20240502213618.11391-1-stephen@networkplumber.org> <20240502213618.11391-8-stephen@networkplumber.org> <6bb00014-b2ee-4fc9-bdfd-7583e172d3e2@amd.com> <20240520111804.0ee1fff2@hermes.local> Content-Language: en-US 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 AQIeAQIXgA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LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240520111804.0ee1fff2@hermes.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0279.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:195::14) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|PH8PR12MB7157:EE_ X-MS-Office365-Filtering-Correlation-Id: a6a3b830-254b-4775-3739-08dc79190fd7 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?MDBrZ1M1NVNzMDlzcXBybXJKZlIvTkVyamF3WDY0SGRqSEpwamlLY2tKakJt?= =?utf-8?B?S250TGw5RkhCTGZWOWJtWWYyRFZESmtrQTNDVXcybHJRaGNiQlg4NWxJMnVw?= =?utf-8?B?cDdJNWVwL2ZVTG4zYmp3cmJ4MU1PVENwZGhsbWFFY3ViL1dUQTZGUjBIS1lz?= =?utf-8?B?RFppTzZxQmRMYzVuU1l4TkFUN3NIdlFsbU92RWYxcVpBQnZDTkcxU0Z5QXdZ?= =?utf-8?B?bjh2Z1RMZ2pKQlozWkhRZFdybzZPUVp0RmpqQzVNRmxSRFBYV2ZKVTJIZWxq?= =?utf-8?B?SlJhUmNMbWQxTHJjOHl4RWl1N3AvME9TQWk4dVBzVEZJNlJXNWd0VDdUMGxk?= =?utf-8?B?bWc2SGo5RDBvUURoYjRUY1FDRGUxSUV0a0s2amFNYlJtaHhVT2hBZnppd2J5?= =?utf-8?B?bjE2N2FLMGkvT3Zpam42Rk1VcFVpRTBvTWFnYU42Zk1YYkVvS0lCSW00MmRM?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SR3djS0xyYWg1bGFMbGlrQW12?= =?utf-8?B?WWxocjFneVBTTjMxaUVOU2ZCZTZCS0ZNODA3bHJqcDRWeGhUelBteFJ4QXlO?= =?utf-8?B?RHI2ODRhMllaMDhTR1Zjay8zQmgvendKbnN5SUVwanN0cVYydWZQbnJJT2Vy?= =?utf-8?B?cjZRbys0UDVleklDOGhSMjVOaWNiRlZvZXZBSTJYZVVGck0rZjVsYkdtWkx1?= =?utf-8?B?Zmhra2xKaXdWSGtEaFRGYmNUbVhpOHJrVjNBaEs1SzRZbkVXNmJ1MTAvWFdq?= =?utf-8?B?SnNqNnFoVEkrY3NzcjJSTFZ4QWVqVmNYR3c3bnlCdE91REV2dTBucVAwL1c4?= =?utf-8?B?UjFtSGtGVDNIM2JMeDJPQVI5SHV3MUl0Z3VUalBOcjU0b2QzNU12ei9BPT0=?= 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?V2V5eENkQ2pWNDRNRHJpYVVVdWlaU0pCTHBpaXM1SFlvdm9GV1A5Mkt5UFpv?= =?utf-8?B?bXJuUEpaZWg2c01RbUxDRHd3SjVyNERVOWxRRDZ3eVFTQ1M3YkdFRk41ZWxC?= =?utf-8?B?VjM0MHdkOUpNeEVTM1cyWllYOTBXdlUzZUs1eS82SHgyQW9Ud3ZtOTBHUmhi?= =?utf-8?B?TFFMcWpRbENFQjR0YU9QUGJDZmpOOTVqMWZVK3pZeGhVTmMvblJqMTRyZzRy?= =?utf-8?B?Si8zeFlCTzIyWXVySDV4NzN3VGxZQmVockJ3cWR2NkhOUkx6WXQxY1NOUW1E?= =?utf-8?B?NUtMcG42NytuUlBJc0MxREtGa3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4Tlh4TUgxU2Ru?= =?utf-8?Q?UhfNd4DTNVNSoVvN+u8VaPYLY?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: a6a3b830-254b-4775-3739-08dc79190fd7 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2024 22:06:12.8386 (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: qj6XfLx4vFocobJvKB8ahjW1vRHzYEEVygBaJSUHsdesw/0rf1tsbMqeii59PAeJ X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB7157 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/20/2024 7:18 PM, Stephen Hemminger wrote: > On Mon, 20 May 2024 18:49:19 +0100 > Ferruh Yigit wrote: > >> 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. > > The BPF API changed a lot, and it is not really possible to support > both. > I didn't mean to support both library versions. My point was to test both "libbpf >= 1.0" requirement satisfied case and unsatisfied (tap ebpf disabled) case.