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 4B9424407D; Tue, 21 May 2024 00:08:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E22840648; Tue, 21 May 2024 00:08:14 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2046.outbound.protection.outlook.com [40.107.93.46]) by mails.dpdk.org (Postfix) with ESMTP id EAC954021E for ; Tue, 21 May 2024 00:08:12 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JzkKqVQ3LtBO/fszC2R4ySCP9JhSKaU7y1gQp/OCyS5OmteLIxWD8AvJA+1I9hkgZ2SgAdQvw2ZYwM3M71qGg5MySC5Cn7nLHrVs+wF9JSk/acxktJJPdIvUsNMNte3008zBerN+2Xn/LRwkZ5IsSQ680Tpe/TqVDDxQ6GVUIQAyo/UvBceJ1MnZ/WM5Z5e14y3KzgEW4e+t3pw7JXrIqAgU3dw5sqlwbpHPkT9xPFgYY9JCT/YkElyAqFI9Pf0v5AuF1iC2GnVF79guES8QYTjcllcRXuT9//VGmuWi6kM5WGYUvFaQQJVubVV5dgjGnQ0f1Vuhm05mhr9TwKH0/g== 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=XSyxsiPqzXuXkRj8GoN7r/wqJ6R8X0NIQN1bDtWowA0=; b=HYUo3BlQO/7N6jxBkHhd6luirhv6n+2Du3V/spux6LzNDpaay+Ox8BQiobWusJ+WqwUf1CvPBaQOMJpt6PTp1L0UIDvX0+MRTi8lh2tvn/+VoFlxIZQdoZZF62uFxrGtPskh8+y8zzkG2uiD5gX4RVc4EquqNgbj9CSd1ZmZV77FASnKf9HWdAWr/vEuaG3DbrSCuPhtQkdcLrZY3UQLMGcT3DkCiWjAiEDFOk+4pu8Ye7nc5AkqWzAYpjK3/nCDFLwCQfL86mftueJVxxHejddXfuHMxCafHbUsbZsvj2MjltmAtxcGxt7S38qQxqaRxv3fLXOMlBpy+GH0ilRBxQ== 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=XSyxsiPqzXuXkRj8GoN7r/wqJ6R8X0NIQN1bDtWowA0=; b=EbJPnnYsJDV/RCyHWyqUiD40khOwiVEJ8OYrmZHbGuGBapfymw4GcSPgiCvgBahegGdZMxatmbSyAZLf6EVvzz7Lb9+0b2g7SM4GbrwBNgPp07D32UfgnYqfTP8/q0c/wk+ybY3V24s5KRCfTCrhfnZCnyK+QaeJYo5FJ12uZiI= 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:08:09 +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:08:09 +0000 Message-ID: <44b38cc3-b6ee-40e3-b6d1-e2d3f51a01fc@amd.com> Date: Mon, 20 May 2024 23:08:04 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v12 07/12] net/tap: use libbpf to load new BPF program To: Luca Boccassi , 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 aXQgPGZ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yA/2qVe cMh1CLUHXF1GlofpGbe1lj4KUJVse5g3qwV7i9VrseA8c4VIZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0026.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:151::13) 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: f6d7c2aa-1010-40af-b758-08dc79195593 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|1800799015|376005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?N3BFTnNxK0V3NDRGV2JFblRxck1KMTgydTZBejE1bzlzNG90Z3VnMmRWcmt3?= =?utf-8?B?ZWc0NndBZWxhZm04SU9xQ1BsTk9KYmJqT3M0Rk9UMVhaWlNTQm9JVFM4aEFm?= =?utf-8?B?djJ0b2VNZzMxOU9KOEhwbnRBUWI5TENhc0tqTXp0M3hDK3NXblA2aUFMeTNm?= =?utf-8?B?clRqOS9OZEc5a3VFeFc0UXJRVzVXNWdRZFlhTnRqZ0hrZ0RRL1BPcDJ0NG9Z?= =?utf-8?B?QkVKZEdMdGhJU3ZqdHk2d08zOCtSZDhocmlLU0FPOFlZN1phSUV2NjdUTnZl?= =?utf-8?B?ZVBsL3BXNHEyZkZJdFdoR0ZLVSt3TmRIMjdrNkVFWEZ2L0MydFV4cWJTNTMv?= =?utf-8?B?bEc5QXRkZ0xSSy9XT3ZmY240YVpJQlRPYm9zbUdxRzhGZXNjanZ6M1NiZExs?= =?utf-8?B?RE56TH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?= =?utf-8?B?dTlTd1plejFyS2t5UXZSb0xwcnZSNHNpMTNUZDN4aHI5WjNjSWp4dWJENUVH?= =?utf-8?B?aFBUWFRBWlRBVkdDYTAyeGQ4OUNsSHpFVG5kVmJyZkFOc3VjaVdneDBLcnI3?= =?utf-8?B?MEVMR2JOUjRtYmFmVjhjTld2Y20vS2cvOVdWT2J4VmNxaTl2Z2xnVVYzb0VY?= =?utf-8?B?SWw0YkpxK1ZYTTg4ZkFKQlZnYVJPUW9qLzJGRk5qTGt4TDYzR2tYOGJIS2Q0?= =?utf-8?B?dDBMOW5RT1ltSGVuMVBrMnpBZ09YeExtQllzTy9lNk1pUjJzMGk0WmVPaklo?= =?utf-8?B?UXo1dU5QWDVjdUY5NE04VmdaUjFoeFkxT1ZwOUJGZ2RjQmRrWkRDR2R6aDBJ?= =?utf-8?B?L2JZRGtGWUl2MG9TYXAzczRrM0h3QnNJcWNQUkc3cWF0Rzk5UzBqa0N3PT0=?= 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)(1800799015)(376005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RGZwOEtNTS9vNkw5VXU5MlBMZWdMQVltNXM0ZVFzTUhwc3VjL3pBQ2h4OERI?= =?utf-8?B?cXB1M2tWcWdyMHhNYk1oM29heURCQ21wbE1FYi9wWHpNT3NZckQ0b0MyQ21v?= =?utf-8?B?SGlkOStzaVc1MnB2Q2dZMFExTmRBYjc3ZCswM0VQQ2hISkhmaVMzSE1KVmk1?= =?utf-8?B?NHNZWTBPVjNWM0xpMWFCTXBzT0F0RHNOaHFSYUc4VlQxUnJTeGxMYU1MaGxi?= =?utf-8?B?cm5LRXFIRzFqL1ZBUkM5VitwZ29uN0RRTElGc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1?= =?utf-8?B?bkJ2T1ZmVXhSZ2UzajNvUU9IbmdrNStJVys0SU9LZzRVNHZBNjgyeitkbzFV?= =?utf-8?Q?PnnqSeJa+M0nC8yO7iagvvk1a?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: f6d7c2aa-1010-40af-b758-08dc79195593 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:08:09.7503 (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: B3K/tUztZX1ef9VDMk3L2dJOqb4wOOAa0WBhV8dqRnc+9580vwjBVMokqY9BIumW 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 10:42 PM, Luca Boccassi wrote: > On Mon, 20 May 2024 at 19:43, 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. > > It can be done, but it is a _lot_ of work and requires a lot of shims, > so for something optional it's not really worth it. Given libbpf 1.0 > also broke ABI, Ubuntu 22.04 and older cannot really get a new version > as it's incompatible, so this pmd will simply be skipped there. I > think it's fine. 24.04 has a new one. > Does Ubuntu 24.04 have libbpf >= 1.0 ?