From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by mail.toke.dk (Postfix) with ESMTPS id B12769E0E79 for ; Fri, 20 Jan 2023 23:48:46 +0100 (CET) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20210112 header.b=EWy4p9fp Received: by mail-pj1-x1031.google.com with SMTP id k10-20020a17090a590a00b0022ba875a1a4so3421601pji.3 for ; Fri, 20 Jan 2023 14:48:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=XJ/yFU30ZaQe7SL+ifPv01udy7zfExyq62P60UgZOOM=; b=EWy4p9fpkVDvnKrvL23gY7/UdWJ4nXCW8t95seG1lCX5b+N5ogCc13KaYYZmNUPrnw Wb48KEl99T9w6w33UffoirV7BYzVJbDWpDonfyn+5JuN8wLfk0ch/5vIpzN5IfV28+tj 0oRRtfNLg2wf7UiRgZrfUIoU+JnsyVb9yCupDLYoQVQKBQkqpO3l/IKhupQY/f8aMUxc pbvdoJ0x1ilew29ZEJM2+0p4rJjwedBlxuu999V+j3pi6bZ0OUmU1sDXc0g9HoOwgBbP gUruZoXmYLlAZf+AlB/kYAsOjzR0fvYSOXC/h4SasTsWhEK/pzMkXfvCAGIz8T0Al1IC cRDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XJ/yFU30ZaQe7SL+ifPv01udy7zfExyq62P60UgZOOM=; b=qEe/HvWzr8b1rWmg+CNFP+9gr68RvIl7xXx5KAtHB5/B0Fs9BWt6/yQwYxc6XJpqTF caFhzMmaHIQsWiYlQmSsDMhL1eIAFccMoDMyp9S95zvffEuQf6asTDQzEM0jO4KZuHZb Lk2ddL6QtPmQyxRjHdTjOqpYu7FsTyg/FVWMBpURCQ/+qjet7s/kSRTOwTDxgxqOBOxF 9sw1LcIlpaoC9lv+92bD6Oclj15NLBFogCLesWF3suw9EQQmrTx0rbMMYHer+nwVvGmy K3gSI54IRCl6oyBBymFirSJWDJOS7JPEx1M3MhNKFTz0HwVV1XLJPzgUvz454OgSZgJE JOqA== X-Gm-Message-State: AFqh2kpX4PLdIxQkc50LMBePHffREixT8XZyKo08eVYb1aqiv7+b5/Tb 3L4HUlhuMkhWzzoi6sM0WI6BYklqS29YQSNdWOTo+A== X-Google-Smtp-Source: AMrXdXvQ0aVvDS0bOzE/h5aifh1HB4xJ8ZZ5kVJQikQZhvYxpafJo91ID7/8ufBLPKxHJ0ByucCr+0vV93sQkychbjg= X-Received: by 2002:a17:90a:3fc1:b0:218:9107:381b with SMTP id u1-20020a17090a3fc100b002189107381bmr1734374pjm.75.1674254923608; Fri, 20 Jan 2023 14:48:43 -0800 (PST) MIME-Version: 1.0 References: <20230119221536.3349901-1-sdf@google.com> <20230119221536.3349901-12-sdf@google.com> <833e21d0-c320-7fac-0723-4791c9097f38@linux.dev> In-Reply-To: <833e21d0-c320-7fac-0723-4791c9097f38@linux.dev> From: Stanislav Fomichev Date: Fri, 20 Jan 2023 14:48:31 -0800 Message-ID: To: Martin KaFai Lau Content-Type: text/plain; charset="UTF-8" Message-ID-Hash: CFR7CBQXWLDMFFGSTGEWOSLOZU4D5N3U X-Message-ID-Hash: CFR7CBQXWLDMFFGSTGEWOSLOZU4D5N3U X-MailFrom: sdf@google.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, song@kernel.org, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, haoluo@google.com, jolsa@kernel.org, David Ahern , Jakub Kicinski , Willem de Bruijn , Jesper Dangaard Brouer , Anatoly Burakov , Alexander Lobakin , Magnus Karlsson , Maryam Tahhan , xdp-hints@xdp-project.net, netdev@vger.kernel.org, bpf@vger.kernel.org X-Mailman-Version: 3.3.7 Precedence: list Subject: [xdp-hints] Re: [PATCH bpf-next v8 11/17] selftests/bpf: Verify xdp_metadata xdp->af_xdp path List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Fri, Jan 20, 2023 at 2:19 PM Martin KaFai Lau wrote: > > On 1/19/23 2:15 PM, Stanislav Fomichev wrote: > > - create new netns > > - create veth pair (veTX+veRX) > > - setup AF_XDP socket for both interfaces > > - attach bpf to veRX > > - send packet via veTX > > - verify the packet has expected metadata at veRX > > > > Cc: John Fastabend > > Cc: David Ahern > > Cc: Martin KaFai Lau > > Cc: Jakub Kicinski > > Cc: Willem de Bruijn > > Cc: Jesper Dangaard Brouer > > Cc: Anatoly Burakov > > Cc: Alexander Lobakin > > Cc: Magnus Karlsson > > Cc: Maryam Tahhan > > Cc: xdp-hints@xdp-project.net > > Cc: netdev@vger.kernel.org > > Signed-off-by: Stanislav Fomichev > > --- > > tools/testing/selftests/bpf/Makefile | 2 +- > > .../selftests/bpf/prog_tests/xdp_metadata.c | 410 ++++++++++++++++++ > The test cannot be run in s390x, so it needs to be in DENYLIST.s390x. Ahh, good point, will add, thanks!