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 0D34C45F6A; Thu, 30 Jan 2025 19:26:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A05840275; Thu, 30 Jan 2025 19:26:56 +0100 (CET) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mails.dpdk.org (Postfix) with ESMTP id 5B2244025A for ; Thu, 30 Jan 2025 19:26:55 +0100 (CET) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-219f8263ae0so21341425ad.0 for ; Thu, 30 Jan 2025 10:26:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1738261614; x=1738866414; 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=cuVgjhOOFUOzVaSI4QVNEkyHls8f2b1+ryhN0taWOv8=; b=vDvShItr5X64v01AL3Vp+NsXydE4ilW+Mfbshj2T7j2/RKpHFg0+Czo3at6AeEyOoO 7JU4lW3Kjx3k5ymy+j4qtcP0ddhyb3PRm8fQ8Qgw/BTxUA/hrapsUNwXy50v7GEzi43D DOtMpxe/wUnFY9Fw+5Fa9p5toIjS1S+Nse5616wZZ5DvKCEh+ZZ15YSAGTAX6UxF60dd KKPBXVSYFdIXYKVguJpFO1XbP259YOxoEiHkJs0/yrsmronTcHmNnfH4ah1mKxmno7zP 8OszrOkxymlkuVwIoLyT6c71JPPI1JSUO8nR9LSjTPl2ARxq0cJrWCrH7pIXPZ0mEjgt q9Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738261614; x=1738866414; 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=cuVgjhOOFUOzVaSI4QVNEkyHls8f2b1+ryhN0taWOv8=; b=B69ZrMeFFQCAKb3euVNJdaZH+lmuAiJXXg09m/5A+MIXJMEj3fvcUViCh3u3UV8/qP O63PRRpL6F2xYPuXyOQDRgm3CnhAz19G46oYurKwiDTmD0hXmki2osg0duegMDnHtlOz QD9iuTy50esbgInOh6BmhPaCRIx2H+ZGQOAwDMjghgrvhN6uKTKLpMnInPolyzDj0xSy fzyFh2WAOFOfaEYOMSr61bOqiISXpt5OSvamnQ+Slrx6ipb8gggdKxBsX3QxGIp/05ux Im9ezj5fWs4Ak1Hw+uRpROem6I6+kaUSg4z1m1+ZlTFBslIrmNEYtEng1H02emBJthTV whjg== X-Gm-Message-State: AOJu0Yw1EIM3C4KMgjKHZ/8aGMeck14p9tbBw5q+KUvQyQ73TFq8UBTK MK2rEYO0GhvnqDjiUrxH3Udd9tJtBK8S655E3bOOPEgDTvbiSEbatWfjOTwyK6o= X-Gm-Gg: ASbGncuGwpScTF3PQ6vKn2yS20qvigLztcllAzHFAFbx/UkreEOysIKpzrK0XWEZyZT bU/tZQP27q11ZnZqPRXXAbOJ2ex82QCAXYR6i51APN6ThJ6NwVZlRE0LKyOX6XyA2b6k2kNI1cU UX7eSeiPx3EHSKpxPD2FcHBhV2gqKrrOZ62sCXZwuVMVpH4UhN7TWSilxTvCraiPIBIy79jN70s fmdaD5LG78tbd/d93LXnlSyZMd35JO70cYj8vghrJHMlb42Z5KaoW/cE9Lk9NatU8MUerpNWkZM lcLQdaZWj9PMl43S5PU8ghcjcLQ0FiebSL9NVe5GJW2fh1FEmwkE8pH+YXjq45Qwc5uF X-Google-Smtp-Source: AGHT+IG66kWeID1aqupzo3AAspbvJN3EFFofjalEVuIBE/JNKh4DEGsAu3z2Ge9Ydtp48BDc1P9t1A== X-Received: by 2002:a17:903:1205:b0:21a:8dec:e57a with SMTP id d9443c01a7336-21dd7dfad9dmr143783145ad.48.1738261614490; Thu, 30 Jan 2025 10:26:54 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21de32eda31sm16918715ad.109.2025.01.30.10.26.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jan 2025 10:26:54 -0800 (PST) Date: Thu, 30 Jan 2025 10:26:50 -0800 From: Stephen Hemminger To: Jie Hai Cc: , , , , , , Subject: Re: [PATCH v2 1/2] net: add ptype parse for tunnel packets Message-ID: <20250130102650.23aad5ee@hermes.local> In-Reply-To: <20250124094333.11449-2-haijie1@huawei.com> References: <20250108024632.12152-1-haijie1@huawei.com> <20250124094333.11449-1-haijie1@huawei.com> <20250124094333.11449-2-haijie1@huawei.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, 24 Jan 2025 17:43:31 +0800 Jie Hai wrote: > @@ -456,7 +550,6 @@ uint32_t rte_net_get_ptype(const struct rte_mbuf *m, > ip6h = rte_pktmbuf_read(m, off, sizeof(*ip6h), &ip6h_copy); > if (unlikely(ip6h == NULL)) > return pkt_type; > - > proto = ip6h->proto; > hdr_lens->inner_l3_len = sizeof(*ip6h); > off += hdr_lens->inner_l3_len; Random whitespace change, not needed. Please cleanup and resubmit