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 4A3AF437D7; Thu, 4 Jan 2024 21:41:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3198D402B9; Thu, 4 Jan 2024 21:41:19 +0100 (CET) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mails.dpdk.org (Postfix) with ESMTP id D54C54029A for ; Thu, 4 Jan 2024 21:41:17 +0100 (CET) Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-28c7c9b19f1so640925a91.1 for ; Thu, 04 Jan 2024 12:41:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1704400877; x=1705005677; 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=/tryAWBx4K/YhAx6GZaP+FOaDAgoZyFstksL8mJBRlM=; b=2LvHRQ/9pBzpNqBTNM/oD4z4g5EfopNJGoAXeqQlQl1wCJP4pBW42mJDcZHRbCronL pXYZ1MEcofo1CgCf5a/TCB3iqSSRYpL5j+xWaUyFP1RHEx/hc5yMCD+DU0+T20E3dyvO I1iAg7vcuQQ0iMr/NJ6M7VCwpltv+BX8aMp96Ye2XBon7NZ6RFmI/F9Re6jxHrICrz9X /5A6BjSpoNBGFaHeEhOVdfoJXmaD0wkuYEnCchtynE9cp5qEqLDlFvU2plxsJinL8FRM 0MjLFhseNFJRYASGA3oZlJE79AyL/Cx31eLUh1jAWyir8e8Jidgn0zS2hlriifBUimkJ FDvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704400877; x=1705005677; 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=/tryAWBx4K/YhAx6GZaP+FOaDAgoZyFstksL8mJBRlM=; b=uzbZ6QEmXt4iS3dNX3v69aZ5BSzbCkg1BD3KO2kR/caM+dT+4KYxDGUxAeAyI1tEQY 1g1/at2kLQGEr2N0lkeaOSLHHfF8S7s/7vq78TpLDo7kXD5vJrtSkxkdhYS31hjrJP/U YmOIpH/u5oQPx9qBG5dR878qsUGiyVUkncNQcPByFPhXjL4JZhpN+p7ndilvDzNyQ3zd y9xxOpGvWwL/+CTLK6k+7P0B4I36MhRr9P7TMP77qy8tTsy97CroeFpghNosHoIWOc4Y 7loXre5A2P90EBRG04xTA9xGcGFOZzvz59e+G231jnrmpoQZLvNjywb55SxqV6eRCrgU 6DPg== X-Gm-Message-State: AOJu0Yxo39pGJH7fsLnqtukS2Ph12qdBletQpsRSyKXiFR72rOCE1728 uplQsPSQoNc0EvwfeK8YfMFSa6PhCt39Wg== X-Google-Smtp-Source: AGHT+IFzACrUvI0s6OxgWSKNKB4si0oYqKHKsmR3Eq7KfLMkaxfGQF3D//jAI0BSMOFLOtNR3XzoDg== X-Received: by 2002:a05:6a20:e11c:b0:191:db80:d8e3 with SMTP id kr28-20020a056a20e11c00b00191db80d8e3mr1089631pzb.11.1704400877083; Thu, 04 Jan 2024 12:41:17 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id z125-20020a626583000000b006d9bb753d2esm80313pfb.166.2024.01.04.12.41.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 12:41:16 -0800 (PST) Date: Thu, 4 Jan 2024 12:41:15 -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: <20240104124115.6e6806eb@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: > - /* Get correct proto for 802.1ad */ > - if (skb->vlan_present && skb->vlan_proto == htons(ETH_P_8021AD)) { > - if (data + ETH_ALEN * 2 + sizeof(struct vlan_hdr) + > - sizeof(proto) > data_end) > - return TC_ACT_OK; > - proto = *(__u16 *)(data + ETH_ALEN * 2 + > - sizeof(struct vlan_hdr)); > - off += sizeof(struct vlan_hdr); > - } Your version loses VLAN support?