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 469274388B; Fri, 12 Jan 2024 17:42:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 35F2E402C5; Fri, 12 Jan 2024 17:42:28 +0100 (CET) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mails.dpdk.org (Postfix) with ESMTP id 40E41402AD for ; Fri, 12 Jan 2024 17:42:27 +0100 (CET) Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-5ce74ea4bf2so4353654a12.0 for ; Fri, 12 Jan 2024 08:42:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1705077746; x=1705682546; 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=fNAoiPAo46bsTyXJmH37YY8cS6YD6qPWXhg+KNSO0no=; b=k7BJOmCW559CpO9PiGzmY67i9QZm5I6TfRzvR+fX6G8cpBxTWyleev+4X4mKZD376y iXrr+5RnHaXtdLDm45IbLiRi/aCBL2Osb+tIVEeU971l/xwR2msf/teqL1FyesgWGe1z gW6gDgeHa2FeIMlU2jVvuqH1sD6C1RkXzBdWeT/kZuRR5HYrU1200mmYUKShYWmKg+bA G0Moff4CRLGqjrcq9ikFq6pd0tURXpc8BlGAKYg/WUhfhUbsr1Qmzbh+01mrfK/Nk28/ uqddN0riFNVwc7RcvgE4IghFxiv/SHbZdyfPzeJL42XRmK5gBKVKCKB1hMhBrl1m4BTU svuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705077746; x=1705682546; 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=fNAoiPAo46bsTyXJmH37YY8cS6YD6qPWXhg+KNSO0no=; b=nxsH93okbDfHRNM9mJgmNWDqZuqEkLMAtdINUhGIW6a1jCJ0kiDqta202IdZzrdJxa 0UAH8eOPgBtU/AZnkqEqpIjkdPuNxOtN51U0gqLDhqwbimk0CFGotAt1+sySmMf3tpuj HGLMkc7JMc1qcfOUU2jV9FJFH3+wEPsreFC44c4zvhRZmqAHZcJ1+Db0xeDu9gNqk45G 535qOtPsNRB2XMkErYyQX1uzzU6LNHe3JjP6lLCHSUFUWTm0C1Lgzn47ciVMU717aMc5 DhlrSNITl6CWQeHOsj7ZElms98Mlm18uVX62OjRjqFdDHp3btexpn+W+f06KRg31BZfo 584A== X-Gm-Message-State: AOJu0YwjaVG1ZCWHq3I6KxnsdFccsSN66nhfcRIJs03XeCvS0R07ey39 w+0zZQD9Hte6UCcpq86h0jcfx5J5yIawMw== X-Google-Smtp-Source: AGHT+IHwMPKsiyVx8JJC+p8C2AZnXHIEcuaidiDn35LHtdUvst2V4ZYMDzd9C5NwL+Z57FG47Mnifw== X-Received: by 2002:a17:90b:1c8b:b0:28d:9238:71bf with SMTP id oo11-20020a17090b1c8b00b0028d923871bfmr2563496pjb.18.1705077746260; Fri, 12 Jan 2024 08:42:26 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id a22-20020a17090abe1600b0028cda1c68b9sm6464656pjs.19.2024.01.12.08.42.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 08:42:26 -0800 (PST) Date: Fri, 12 Jan 2024 08:42:24 -0800 From: Stephen Hemminger To: madhuker.mythri@oracle.com Cc: dev@dpdk.org, ferruh.yigit@amd.com Subject: Re: [PATCH] net/tap: Modified TAP BPF program as per the Kernel-version upgrade requirements. Message-ID: <20240112084224.5121cce4@hermes.local> In-Reply-To: <20240112134821.2067-1-madhuker.mythri@oracle.com> References: <20240112134821.2067-1-madhuker.mythri@oracle.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 Fri, 12 Jan 2024 19:18:21 +0530 madhuker.mythri@oracle.com wrote: > 2) Kernel SKB data pointer access not allowed, instead use the BPF helper functions. This is not true, many of the current kernel BPF examples uses skb pointer.