From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; spf=pass (mailfrom) smtp.mailfrom=linux.dev (client-ip=188.165.223.204; helo=out2.migadu.com; envelope-from=martin.lau@linux.dev; receiver=) Authentication-Results: mail.toke.dk; dkim=pass (1024-bit key; unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=qXkZ8UHp Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by mail.toke.dk (Postfix) with ESMTPS id 0718A9E0E27 for ; Fri, 20 Jan 2023 23:19:04 +0100 (CET) Message-ID: <833e21d0-c320-7fac-0723-4791c9097f38@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1674253143; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fB3SbLGwx7IAwM0Ht8D6NSJOTj/DXpTvVgVjy2Ri8Ho=; b=qXkZ8UHp2IIYj7OwTtz5AWrFE1Ih6AvKnYKZwF4jo5/bbV73KQqN+xX7bzCQ7PvxEa9xsX wOgoK6PHTUrF8d5cXjoRYnZ1m8tB631smdVhieKcAoZ/EruDCcmyW7DU9laK4i/BjfKMHw 9HS1F7//BjDR3JQOaMOVHDfWSNOYnYk= Date: Fri, 20 Jan 2023 14:18:55 -0800 MIME-Version: 1.0 Content-Language: en-US To: Stanislav Fomichev References: <20230119221536.3349901-1-sdf@google.com> <20230119221536.3349901-12-sdf@google.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Martin KaFai Lau In-Reply-To: <20230119221536.3349901-12-sdf@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT Message-ID-Hash: 2KXGA2J5VXLK6HOHUWIPRLRPKZC33TWC X-Message-ID-Hash: 2KXGA2J5VXLK6HOHUWIPRLRPKZC33TWC X-MailFrom: martin.lau@linux.dev 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 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.