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 054354407D; Tue, 21 May 2024 01:20:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DCAB2402E0; Tue, 21 May 2024 01:20:49 +0200 (CEST) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mails.dpdk.org (Postfix) with ESMTP id 390F94021E for ; Tue, 21 May 2024 01:20:48 +0200 (CEST) Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-1ec486198b6so84224905ad.1 for ; Mon, 20 May 2024 16:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1716247247; x=1716852047; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=ORzK9WGkxjJBZBRyGIeVZt1h1px0VBiU7psAWtls/H0=; b=dhN8wC4Afn9xwhu4owvqOB4rihmXJS4gUehrnNjNeOGz9dRxZRFNOX4VGlt6zlGvgB layVD6JTgGZWGJ86CcJgrV3DtEiQ9pceycBMuRuUB8MsvqsrVt0HXRMM2mSsYz0YzUbD dA3guz4yMBGJ6DcILY3z4bXZtAUbf4xAVlke5WjAUYnGP+3GgSWqMIfmkMWVMD3jcbzl 1x7v4LC8inmRd3BmSRGjoZ4y29/02aZhHwxwa/2tXpkd7XqQpaztvWUcwZf40je+fjsi cbm8fT/nrogkDgfgx5ERULB64IRYRWRSeZ0lLVwwEMycReARzxNvhbOo0AEDcMcI3bBs MGqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716247247; x=1716852047; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ORzK9WGkxjJBZBRyGIeVZt1h1px0VBiU7psAWtls/H0=; b=Tr74XlT8ziEwjL5qUBOeG5RGeUv/ryG+jFDzHo0iei1P2cTsIA1H3uQjTlDhfWRMTk JhEuidIuYMfVUNPwiLzXL1tdiDT21n5urAuPZgoJmFyhxNYxjGFb9La80ixvJE+UUsO1 mn6AV0DPxAUMl2lgRLcgnmkohsJgy3SlKXJ/cXhcFeaMP3w7ySR3IbVue7me0RGko/fV 0LbQWs2z+Vvz/SX3z1f42hyYLT0uVtIhRNkl83n6xPuXk4vb3s4RWq09TTdW040e2geS 9XZYhF2y2m3H53UmzvyVnQ33rRQ5QHsHKSl9oa4diNoDErmpLG9wWcS3KK5D9wHUjTrc Qn5g== X-Forwarded-Encrypted: i=1; AJvYcCXKlN3y+hV0nu+dodN0bq/Diga23DUEqnTQMs4qU/O8Nc6osdr4VYiMNjgeMMcSqZy/sDA/vfoBqrLO1dg= X-Gm-Message-State: AOJu0YyfcisLigfVkb/PO/ODWzsf2w1mp+Gh4q+fr3GAFmKZOBhdFG6p A2mMj8gRJz9XkJUqZKg0SGHGInB/MGmMtHYd4ac27z/q1fyuwunEVf91YrwLjrM= X-Google-Smtp-Source: AGHT+IFINcQcXxuI4m3s+bqNuVfqSRg0hKjR3i3Muxt+7UNBtWh5zvu5SIew6n2N7Tn7JPXHb28G2A== X-Received: by 2002:a17:903:2cf:b0:1e4:436e:801b with SMTP id d9443c01a7336-1ef441c113dmr373887365ad.67.1716247247132; Mon, 20 May 2024 16:20:47 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ef0c1368cfsm209319765ad.253.2024.05.20.16.20.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 16:20:46 -0700 (PDT) Date: Mon, 20 May 2024 16:20:44 -0700 From: Stephen Hemminger To: Ferruh Yigit Cc: Luca Boccassi , Christian Ehrhardt , Patrick Robb , dpdklab , Aaron Conole , dev@dpdk.org Subject: Re: [PATCH v12 07/12] net/tap: use libbpf to load new BPF program Message-ID: <20240520162044.42e27d48@hermes.local> In-Reply-To: <44b38cc3-b6ee-40e3-b6d1-e2d3f51a01fc@amd.com> 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> <44b38cc3-b6ee-40e3-b6d1-e2d3f51a01fc@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Mon, 20 May 2024 23:08:04 +0100 Ferruh Yigit wrote: > > > > 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 ? Yes it does. Tried this on a 24.04 VM, needed to install pkg-config and clang. But then it builds. It does have some other fortify warnings (in rte_pcapng.c) but these are unrelated and exist on main branch as well.