Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp1255477rdb; Mon, 4 Sep 2023 07:46:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFy4yu0dUTqcn1uMKG7jp7WVTjnF/ilt8y0+bAxfvZiGOlTmn93m2e4cZEuf9C23An9qL7c X-Received: by 2002:a05:6a00:1c83:b0:68a:6e26:a918 with SMTP id y3-20020a056a001c8300b0068a6e26a918mr13661111pfw.8.1693838803172; Mon, 04 Sep 2023 07:46:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693838803; cv=none; d=google.com; s=arc-20160816; b=AzlTf9XydtO/TYmP7Cj8pDmFvRRTH2hbvdvjGYxbLkUcWdIyjvH+KWAARn4p0Y3P3g DppUSu2ZOsnozaMN94YC/Uv1j2tR2LlECYc8o1j/da+Igyf6tLWZqitg0CNecbY/g6G7 boyhRlnMLrW7FQbFjI/q9vZPoaziEtVmkC/xlTWVJtTBcyawOtk2Sbla1Okyf+KCjEaM HCq/7VKeETbtDS98g3tYwsrb0AaHCf34R/GhXymVa504VYXfX2o0HbGwDPmpR2dRnSQy /dsM+z5td8y0IVps++MDEN2+kevYKywLcu2LmhQ2/ektqp6ViqTLMDfjgzqjALNajqUJ dnZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=Vg5hzgRpsBcgXTQoKdQEHnZHzpHc7kGVhOClCzpQ7zE=; fh=w0A5ODZWmtp1yMMSJol/KkkGcSIrRNlZHRcdNvAwj8A=; b=tdl54BMzio9KRcQyFGxV/VBFiGgfPUnQWL5DCwPVUDJf3X4P4E+nwxbLlyXOZ3hZv8 +GQ55AC4g2G7HLhEdFfM0anf7nK0twgnFIgK8bKByaWq57y7eagZeEuR01gv+fNoxapI rzWTvf7MwQ0ewrDvFB8hJ5JE2a3VZLqtSUipEx7fLZ9Xmc6WHy+KRXXVVgchwLWf/ybh Mr0mjZXZEWR7tz9/UO0SEONhdCaMODtd00HLoFMomg8DJf+K7eyM0EVWFNXC4eFjhCgL M3gthar2PA2hDTu47l+4uke5CYN6i+BAJfjRNmNGmu8V1FbnJBFyrHM/WwqIveM+6UBN 0xrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=aqGWbqkN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m2-20020a63ed42000000b00565eaf4758esi7485005pgk.743.2023.09.04.07.46.26; Mon, 04 Sep 2023 07:46:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=aqGWbqkN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=163.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241620AbjIDL1P (ORCPT + 99 others); Mon, 4 Sep 2023 07:27:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236496AbjIDL1O (ORCPT ); Mon, 4 Sep 2023 07:27:14 -0400 X-Greylist: delayed 920 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 04 Sep 2023 04:27:10 PDT Received: from m1326.mail.163.com (m1326.mail.163.com [220.181.13.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 52A3BE3; Mon, 4 Sep 2023 04:27:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:Content-Type:MIME-Version: Message-ID; bh=oOrvVEuXehCrhaRUsZ2VCWXmwU+bjnfYSuYNWyrf6qI=; b=a qGWbqkNYcFjwMjnHxKN2lK9U6fZkJldhS+2BgRMkx9nijw/KeHXrbyYpriiLjaEy ARPP84jxYEm9IU+OK0UJmzNhG0iyf2OavnM+ws/P3MM1/Y5nbipA3p15EDMw6bYd wE8GDLXhDVf6xmEWji3dpA9eMieLfsKJ1QTYq76S/Q= Received: from 00107082$163.com ( [111.35.184.199] ) by ajax-webmail-wmsvr26 (Coremail) ; Mon, 4 Sep 2023 19:10:23 +0800 (CST) X-Originating-IP: [111.35.184.199] Date: Mon, 4 Sep 2023 19:10:23 +0800 (CST) From: "David Wang" <00107082@163.com> To: "Florian Westphal" Cc: "Alexei Starovoitov" , "Daniel Borkmann" , "Andrii Nakryiko" , "Martin KaFai Lau" , "Song Liu" , "Yonghong Song" , "John Fastabend" , "KP Singh" , "Stanislav Fomichev" , "Hao Luo" , "Jiri Olsa" , linux-kernel@vger.kernel.org, bpf@vger.kernel.org Subject: Re:Re: [PATCH] samples/bpf: Add sample usage for BPF_PROG_TYPE_NETFILTER X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.14 build 20230109(dcb5de15) Copyright (c) 2002-2023 www.mailtech.cn 163com In-Reply-To: <20230904104856.GE11802@breakpoint.cc> References: <20230904102128.11476-1-00107082@163.com> <20230904104856.GE11802@breakpoint.cc> X-NTES-SC: AL_QuySAfSZukAp5SGYYukXn0oTju85XMCzuv8j3YJeN500kynv+QIif0dkG0DQ78y/Cg+UiCCrYQlT+tRgQJJoYbozapZjFwUkO3JyF79fvtYH Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=GBK MIME-Version: 1.0 Message-ID: <3bc1d9a3.5bb6.18a5fe2f185.Coremail.00107082@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: GsGowABXtewgu_VkU9gTAA--.11573W X-CM-SenderInfo: qqqrilqqysqiywtou0bp/1tbiMwTgqlXmGU34bgACsO X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CkF0IDIwMjMtMDktMDQgMTg6NDg6NTYsICJGbG9yaWFuIFdlc3RwaGFsIiA8ZndAc3RybGVuLmRl PiB3cm90ZToKPkRhdmlkIFdhbmcgPDAwMTA3MDgyQDE2My5jb20+IHdyb3RlOgo+PiBUaGlzIHNh bXBsZSBjb2RlIGltcGxlbWVudHMgYSBzaW1wbGUgaXB2NAo+PiBibGFja2xpc3QgdmlhIHRoZSBu ZXcgYnBmIHR5cGUgQlBGX1BST0dfVFlQRV9ORVRGSUxURVIsCj4+IHdoaWNoIHdhcyBpbnRyb2R1 Y2VkIGluIDYuNC4KPj4gCj4+IFRoZSBicGYgcHJvZ3JhbSBkcm9wcyBwYWNrYWdlIGlmIGRlc3Rp bmF0aW9uIGlwIGFkZHJlc3MKPj4gaGl0cyBhIG1hdGNoIGluIHRoZSBtYXAgb2YgdHlwZSBCUEZf TUFQX1RZUEVfTFBNX1RSSUUsCj4+IAo+PiBUaGUgdXNlcnNwYWNlIGNvZGUgd291bGQgbG9hZCB0 aGUgYnBmIHByb2dyYW0sCj4+IGF0dGFjaCBpdCB0byBuZXRmaWx0ZXIncyBGT1JXQVJEL09VVFBV VCBob29rLAo+PiBhbmQgdGhlbiB3cml0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