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 6C9C8438E1; Wed, 17 Jan 2024 04:26:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 09E97402A6; Wed, 17 Jan 2024 04:26:04 +0100 (CET) Received: from mail-oa1-f48.google.com (mail-oa1-f48.google.com [209.85.160.48]) by mails.dpdk.org (Postfix) with ESMTP id 8B69E4028B for ; Wed, 17 Jan 2024 04:26:01 +0100 (CET) Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-21082dcce8aso759063fac.3 for ; Tue, 16 Jan 2024 19:26:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1705461961; x=1706066761; 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=h44TTrUcMVLPTLD7qGHaE068TknTojDpTHhjvEGjnPM=; b=0FDSi07iNrFeWLLnZ03Qkgt0vSSln/vtykFHqKVLAwbMFBk767U63lRH7fqo5G903S VN46Y1EDPZPVUH7OJHEJpq9+gI3fPJb3C5hYzvldNc5Z2JU4dScdvV4Rv0zz2qGTgUu1 MAwnk1Ov03O6DfoF8AGP2ihoHdd1t6vMxvsxb/yXuZvdJn9IinN6Iaiah9ZWhA/w4OVN d9tVMJlDsY9EqfjQTU1kU4wigVsh2iLYEIwHJaYGe0BXU/86/pSkw9OOyApLJTWXtJOD LpNDrCw3586sQJ8NdyEkvIRKrbaWTjGTjUxNzUn8M7QHJXQ1hNrYHiMVI0fEb0FcYuow bTyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705461961; x=1706066761; 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=h44TTrUcMVLPTLD7qGHaE068TknTojDpTHhjvEGjnPM=; b=JG6kIIiCe3YbcCVKQP/9BN9uuDMePyfsR0o6jr+370aXwZteGaMw2KmjqNolIix2wL x5VBxozAMwY2zuixJD3RShdOKqHV+qFrglNEC/qONaO7A9XY3tRWwsNMejsFyuQbel5g /W5/eifongPWpyskaZvSECltIyRiY9XM9v3DYCJDaD+SRsl73P9DJpytMrZ1HTdiYGdM 8hgQYO1qKmYa9rFenkU4CS5n1Rbts9o5AI5GHazQxDsbimuuCpwdELeKr+k3otNrUurD NZ8+fuAcdttxLLOAh0xPEZx0ThHoMeOva3MeBuk1tz2p+BztV+/YVo+27Bum4m/tKx/9 n+VQ== X-Gm-Message-State: AOJu0YzJ1296kFuVUxWypnkhhYogadl7LmfFY0kBpam1ywhTErlaC7hu v520zQe6Ys4hrFkERJsEJZ0xtbGipWootg== X-Google-Smtp-Source: AGHT+IE6cIFrlw/VtiYmedOfMynC4vxytiyBUwHLuHAWVqcsLuOwxXtEE5E5TFeJVtzTUl+5PLnirA== X-Received: by 2002:a05:6870:d205:b0:207:1d9:1daa with SMTP id g5-20020a056870d20500b0020701d91daamr9664131oac.14.1705461960752; Tue, 16 Jan 2024 19:26:00 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id h3-20020a635303000000b005cf6e5feeb4sm5230283pgb.38.2024.01.16.19.26.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 19:26:00 -0800 (PST) Date: Tue, 16 Jan 2024 19:25:58 -0800 From: Stephen Hemminger To: Madhuker Mythri Cc: "dev@dpdk.org" , "ferruh.yigit@amd.com" Subject: Re: [External] : Re: [PATCH] net/tap: Modified TAP BPF program as per the Kernel-version upgrade requirements. Message-ID: <20240116192558.03b413d6@hermes.local> In-Reply-To: References: <20240112134821.2067-1-madhuker.mythri@oracle.com> <20240112084224.5121cce4@hermes.local> <20240113100607.389c9ba6@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 Tue, 16 Jan 2024 05:43:00 +0000 Madhuker Mythri wrote: > Hi Stephen, > > Yes, I found that the Kernel we use has more Verification added for safe execution: > https://blogs.oracle.com/linux/post/bpf-in-depth-the-bpf-bytecode-and-the-bpf-verifier > > Here they mentioned about SKB pointer direct access, math on pointer and array with undefined access is denied on BPF code. Have you tried running Cilium? I would expect those custom changes would break that