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 75E084384C; Sat, 6 Jan 2024 17:54:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E9ED0402C7; Sat, 6 Jan 2024 17:54:37 +0100 (CET) Received: from mail-oi1-f182.google.com (mail-oi1-f182.google.com [209.85.167.182]) by mails.dpdk.org (Postfix) with ESMTP id AEC6F4027C for ; Sat, 6 Jan 2024 17:54:36 +0100 (CET) Received: by mail-oi1-f182.google.com with SMTP id 5614622812f47-3bbd6e37a9bso678859b6e.0 for ; Sat, 06 Jan 2024 08:54:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1704560076; x=1705164876; 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=56Z5kP8p41GObEfDZaGXiZw068SoCrRoJSARopS40G8=; b=exnR3LvG4mi0UtgKxBsadGBn0CVZ3xcfjZ9FGU0k+wLyREoQN1g9nvyF6qp5uMbnSf Sn1GOT3y/+AtX1nbBef6Y+Vjv/ukSXiEi9ZZlEX/fGRYHtHvpPNTYIrg2aTJNcsjnafN cTsR3y6i91/PYLOsGnTmPcFa6EtVhLUE19tnKM0b54rX1Wyr0Emx5NyXotKpGyg0AoGI mWvbnQxvms5vK3irBaFne6txMjF30yNYHvgM5UqlHKyAAR2YYrZuPc/4hWzqlIskS3Ak unUETeXI5mlBm1X+BeEsfCfjWpTcjJHABuDE5KF2kRp+Nr0Ck8WgRZRWc30SnbNUc9Tt DuPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704560076; x=1705164876; 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=56Z5kP8p41GObEfDZaGXiZw068SoCrRoJSARopS40G8=; b=hDeA3quQGCtUuH1jA1wECdehIMKUmwVbepf1P7dBsaR8fzOuA+N8f2cNK5og+jdzL0 UoBJylLJ8OxfYYV2kUSxKOWIqc3gmIIA8J5r9DtqBb+H5jjOgUk7eJ6gAMBZU3xk0Guv BjzcseLw8sUv+oAAZQBQ4YmEuseO3cBSBhxYdkb8ZclCjjMqzTOim8Ph00PH7PrEONmV 4yqoUq/fXWKqPMzTGyfomkxNxN9eqKPmdk8WbXHkvtRzj4LK1tuCnIM+NxsYHSGVpv0Q WdOfZCTDfCJ550f1cYM7zg2J11I/cvp8eUqoyyOEnC6DDS+/o981OgTkbnLaHNtjGHMH dTmA== X-Gm-Message-State: AOJu0YxBrEufLmBNUjM4q4AvTeDW0D0bHTMCqjoYSfMPrkHfOIrZDyAZ Jufrdsl/NCvhFjYfcTC4LamMI0vGgbnshg== X-Google-Smtp-Source: AGHT+IFlAwRhdOVCBlqrIri2JBrTv5CmQ2Q1iOWitCo6QLRFf2IbmWM/Lc96Z3RWZawL8BRYC2kpWg== X-Received: by 2002:a05:6808:2029:b0:3bd:252d:5d2d with SMTP id q41-20020a056808202900b003bd252d5d2dmr507030oiw.53.1704560075757; Sat, 06 Jan 2024 08:54:35 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id t185-20020a625fc2000000b006d942f43140sm3408035pfb.34.2024.01.06.08.54.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jan 2024 08:54:35 -0800 (PST) Date: Sat, 6 Jan 2024 08:54:33 -0800 From: Stephen Hemminger To: Madhuker Mythri Cc: "ferruh.yigit@amd.com" , "dev@dpdk.org" Subject: Re: [External] : Re: [PATCH] net/tap: Modified TAP BPF program as per the new Kernel-version upgrade requirements. Message-ID: <20240106085433.35174a8b@hermes.local> In-Reply-To: References: <20240104172756.2213-1-madhuker.mythri@oracle.com> <20240105113055.54190838@hermes.local> 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 Sat, 6 Jan 2024 10:23:57 +0000 Madhuker Mythri wrote: > Hi Stephen, > > The new Kernel expects the BPF maps in BTF format: https://www.kernel.org/doc/html/v5.4/bpf/btf.html. > So, we need to compile with "-g" option as follows: > ============================== > clang -O2 -target bpf -c tap_bpf_program.c -g -o tap_bpf_program.o That makes sense, but using that command line won't work because it causes Debian to not find asm/types.h