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 D1FE7437D7; Thu, 4 Jan 2024 21:42:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B78E5402B9; Thu, 4 Jan 2024 21:42:41 +0100 (CET) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mails.dpdk.org (Postfix) with ESMTP id 18B004029A for ; Thu, 4 Jan 2024 21:42:40 +0100 (CET) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-6d9bba6d773so633045b3a.1 for ; Thu, 04 Jan 2024 12:42:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1704400959; x=1705005759; 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=FkY2arGsbn8aGy73xQ4nZP8g+V+0leY6weJtgawfvCc=; b=cSJU9fqj8MlW4sFKiZHtWzC679qIH7Rx0IcufO1gzkmngGIWYq0a3e4yXzoqL3vPYi 8WAcbdys+FcaopP9iTI7Z4Kopt5Qo19iB+jsXcp210JE35RinHz9y4mOgFnz4meceMnO VFfrpTmCL1Q7tZcEUSc2jG/QlvFlDtv/Wn1q847cKEqhoT5/AsNTE0gUgnI8sndRUNDA O5DJdcj5XfhGKsxxY/WaUwskjEwe1NwSxOpDNQ+RXDk+zmT4UePHm5NNzalrk7QvHYYS sjlWuKgSS0mgAJ0SUlbWpn7pgv8y/99hXg/0yH+Bq0dJlPgog1fFdq+B0bgrZOZ28HyE lA4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704400959; x=1705005759; 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=FkY2arGsbn8aGy73xQ4nZP8g+V+0leY6weJtgawfvCc=; b=wQNmjTRRjkvYMvKcV9ngjynm9yCu9CnXsnM1PlM3fkgCEB1pPH6gHppySwqhcWW7rT 2IVcpB8HSz5i27iwHTq4qkB8ZCDSUvLN55cpONTvvowiXm70XRuuIzJL+hXvXwaXZYla kBYKg5J8AJ8PVs31yJq2WeXLD9GyadFuz82pTBlLD3jdzb48+UBTWIk5AmbWcN5rS3xE Xx2ROzM91pxS5RNJeDKjBTCh0jLCUf8uvhTgLEx3ecf57saVqskaJ1PJEGWPLT1CSu3R H1SBgcdxc4JAjatPQ0o9/+y76+kry3hHvtvcMbW6+qNm9gslnhEkJ/mqQelsGtn1hv52 4TJw== X-Gm-Message-State: AOJu0Yx5iN21S5qo///d1GQjZCNxm6qX6lq7pDt1hdHtgRmTIF2DvnNL aKcpObGMPITdRfuYJN8Nu23EwRZQgurn5w== X-Google-Smtp-Source: AGHT+IFSfr/Lujc4UUpaZYq6WfemGM4vCsbJXXtA8Tio6vBvSUpgz4gEKvUcw1S1DFkYvu90N6r3Lg== X-Received: by 2002:a05:6a00:3a15:b0:6d9:30d4:a88a with SMTP id fj21-20020a056a003a1500b006d930d4a88amr1294977pfb.62.1704400959245; Thu, 04 Jan 2024 12:42:39 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id x6-20020aa793a6000000b006d994a0bba7sm75609pff.189.2024.01.04.12.42.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 12:42:39 -0800 (PST) Date: Thu, 4 Jan 2024 12:42:37 -0800 From: Stephen Hemminger To: madhuker.mythri@oracle.com Cc: ferruh.yigit@amd.com, dev@dpdk.org Subject: Re: [PATCH] net/tap: Modified TAP BPF program as per the new Kernel-version upgrade requirements. Message-ID: <20240104124237.5166a1c0@hermes.local> In-Reply-To: <20240104172756.2213-1-madhuker.mythri@oracle.com> References: <20240104172756.2213-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 Thu, 4 Jan 2024 22:57:56 +0530 madhuker.mythri@oracle.com wrote: > { > - void *data_end = (void *)(long)skb->data_end; > - void *data = (void *)(long)skb->data; > - __u16 proto = (__u16)skb->protocol; > + struct neth nh; > + struct net6h n6h; Sloppy non-standard indentation. And original code would work with tunnels, this won't