Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 982361D303; Tue, 22 Aug 2023 15:51:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 427D6C433C8; Tue, 22 Aug 2023 15:51:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692719472; bh=HytErZ3SwNQutXsq7fKy9d1+X8hsvPNkS1TDLwjTPfw=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=YtQo28CMzQF5g9hOIUKPCp1yN9pIIwqYOv7IULsSYEBoND0HQdZur4sTv1S7KPrGe smiiT23SEckNPhx01XcKFhv3hNspXg4UgIKZne3Boa8ILSb3YR6gdaOwlbuhJDLE4L evUNStoR1EaJJKH6xlWLEGpSeLwX0MplGlkyDEepeU0zFzXmTdxvjM3EDmgzA5FUCB 7n06yyKxO9ihY429gQO8xe/k/qnv0WE3tBokuzE56LhTGKQSuij0JoglWIti2wYqKH F8FUw/H7S2LDqJA8gbONeXJSnI4nX9zpYqe3xPVmuGLe4S4Gcr6yt8/XhuHf0fTgcj kYUYQ7MfpmIzQ== Message-ID: <721e5240-ab19-507a-c80e-ce5d133c0a9f@kernel.org> Date: Tue, 22 Aug 2023 17:51:05 +0200 Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: bpf@vger.kernel.org, netdev@vger.kernel.org, Samuel Dobron , Ondrej Lichtner , Rick Alongi Subject: Re: [PATCH bpf-next 4/6] samples/bpf: Remove the xdp1 and xdp2 utilities Content-Language: en-US To: =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer References: <20230822142255.1340991-1-toke@redhat.com> <20230822142255.1340991-5-toke@redhat.com> From: Jesper Dangaard Brouer In-Reply-To: <20230822142255.1340991-5-toke@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 22/08/2023 16.22, Toke Høiland-Jørgensen wrote: > The functionality of these utilities have been incorporated into the > xdp-bench utility in xdp-tools. Remove the unmaintained versions in > samples. > I think it will be worth our time if we give some examples of how the removed utility translates to some given xdp-bench commands. There is not a 1-1 mapping. XDP driver changes need to be verified on physical NIC hardware, so these utilities are still being run by QA. I know Red Hat, Intel and Linaro QA people are using these utilities. It will save us time if we can reference a commit message instead of repeatable describing this. E.g. for Intel is it often contingent workers that adds a tested-by (that all need to update their knowledge). Red Hat is in the process of moving our QA to use xdp-bench / xdp-tools. Want to mention LNST team are also adding xdp-bench (+pktgen) support: - https://github.com/LNST-project/lnst/pull/310 --Jesper > Signed-off-by: Toke Høiland-Jørgensen > --- > samples/bpf/Makefile | 7 -- > samples/bpf/xdp1_kern.c | 100 ------------------------ > samples/bpf/xdp1_user.c | 166 ---------------------------------------- > samples/bpf/xdp2_kern.c | 125 ------------------------------ > 4 files changed, 398 deletions(-) > delete mode 100644 samples/bpf/xdp1_kern.c > delete mode 100644 samples/bpf/xdp1_user.c > delete mode 100644 samples/bpf/xdp2_kern.c