From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by mail.toke.dk (Postfix) with ESMTPS id 5D4E59E64B4 for ; Wed, 1 Feb 2023 20:11:54 +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=Z4v97FJ8 Received: by mail-pf1-x430.google.com with SMTP id z1so10309626pfg.12 for ; Wed, 01 Feb 2023 11:11:54 -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=JaFJ6lfmiEOeqK1wUmWFrA+rVDHx+5X0IrxYjtJOOto=; b=Z4v97FJ86GWbRsbi4GrZLuTg3sIrHR1Sbm1OfL/qFWK1KYRorVITOASXg4gtG0YZBJ C+zr7rDxOrVZoy/yweCLujB4U9t2x/QGYXHbMlx2CgW+SwLrdFMDdUzO/0ngnlb+VHmu xWIv2WXQSkfptuX/v5OqwZI/XGTQES5kOb4SAAAv6+NqnIFXzVugkSWbgSPnuj9TdOpt xxMiHE1VbhDBJNCZY56ldQzOh/xeXLVwuPO/qHIHIzquNs7TTwK2SpXVuaPTYSPG9N8z kccPQt7o3pBxUjQ6Pl6+PxkVRcLFrLT22SmQPBHdRJaXtZLNdpibHscZhg5rv090OoNG MUaw== 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=JaFJ6lfmiEOeqK1wUmWFrA+rVDHx+5X0IrxYjtJOOto=; b=HPLEEocUEcqhsgzynoqtoGrgZvtrd06TM8VZpaPaHdcOZGJZWlQAs7Su7gzpJPfwKp QoDe05QncDUhF5vCaMo9QUPMWwYhUGLP+YT0uYS1bk1Ae4tutqgsZvAsiIR+dH+8t1Ki mEp5AM9YVGHRlnDQ9gUBqkyOQmyOZATqD122gbQogaBlhhLYT4JBemsk4PhjLtca2oxL N5tfFbzy92y7CODX3qebj6s8OBVq0oEMBT9TqUEyunCuhGC36byaJuYsm9NsNSiG08wK HWdKoDT2kangSDL+DSi4FcfdVA99ntbT4ICIVCrqe7H45ayLa6U9db7rzGOt2Uwo46NS B8Nw== X-Gm-Message-State: AO0yUKVUJ8i0fiOjWLUTvb4apE78G7jZ/RqwEGm5wWoD19T2jZLw66iZ 8VQ7CCztvid85jG/40/DVu4jvnuXYSaKPGEjk61C1w== X-Google-Smtp-Source: AK7set/BrCLpRYtW3zs8noXFyKSstv0WRPWCOWVbXfLGuZy9m2ASlLqzuS9+cqILw+ZJ6UOMEEDZ6nyMcALiiSD6D10= X-Received: by 2002:aa7:94b9:0:b0:593:1253:2ff5 with SMTP id a25-20020aa794b9000000b0059312532ff5mr803043pfl.14.1675278711984; Wed, 01 Feb 2023 11:11:51 -0800 (PST) MIME-Version: 1.0 References: <167527267453.937063.6000918625343592629.stgit@firesoul> In-Reply-To: <167527267453.937063.6000918625343592629.stgit@firesoul> From: Stanislav Fomichev Date: Wed, 1 Feb 2023 11:11:40 -0800 Message-ID: To: Jesper Dangaard Brouer Content-Type: text/plain; charset="UTF-8" Message-ID-Hash: 7UWTZ5ANTQH3FTRTQKSYWPQPU6I3H2M4 X-Message-ID-Hash: 7UWTZ5ANTQH3FTRTQKSYWPQPU6I3H2M4 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: bpf@vger.kernel.org, netdev@vger.kernel.org, martin.lau@kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, yhs@fb.com, john.fastabend@gmail.com, dsahern@gmail.com, willemb@google.com, void@manifault.com, kuba@kernel.org, xdp-hints@xdp-project.net X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [PATCH bpf-next V2 0/4] selftests/bpf: xdp_hw_metadata fixes series List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Wed, Feb 1, 2023 at 9:31 AM Jesper Dangaard Brouer wrote: > > This series contains a number of small fixes to the BPF selftest > xdp_hw_metadata that I've run into when using it for testing XDP > hardware hints on different NIC hardware. > > Fixes: 297a3f124155 ("selftests/bpf: Simple program to dump XDP RX metadata") > Signed-off-by: Jesper Dangaard Brouer Thank you! Acked-by: Stanislav Fomichev > --- > > Jesper Dangaard Brouer (4): > selftests/bpf: xdp_hw_metadata clear metadata when -EOPNOTSUPP > selftests/bpf: xdp_hw_metadata cleanup cause segfault > selftests/bpf: xdp_hw_metadata correct status value in error(3) > selftests/bpf: xdp_hw_metadata use strncpy for ifname > > > .../selftests/bpf/progs/xdp_hw_metadata.c | 6 +++- > tools/testing/selftests/bpf/xdp_hw_metadata.c | 34 +++++++++---------- > 2 files changed, 22 insertions(+), 18 deletions(-) > > -- >