From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6585BC433FE for ; Mon, 7 Nov 2022 18:11:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231810AbiKGSLZ (ORCPT ); Mon, 7 Nov 2022 13:11:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232963AbiKGSLL (ORCPT ); Mon, 7 Nov 2022 13:11:11 -0500 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD22C24F07; Mon, 7 Nov 2022 10:09:04 -0800 (PST) Message-ID: <8560651c-d234-65d0-557d-523d05a45c9b@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1667844543; 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=OnF5xuDzFDJ3bpeOgOJa6cRnrDV3A/yeW5ykwiRN5vQ=; b=ujDV9g7xjfuGR+nlyfySaonfDWCIQY4hMwc//duDBR0y+iD1WeTn6dseuDbZfnazA8zH9U 1Y4VdMB/0Swxn2U+IkhjbNE1GqeAQ++VbPIaxMH7ofBYDm9j3t+QnS823JHxMeJxgFa3GC xsPiR5fhOXpFfAjHXOwQaWdTHFKZZ1E= Date: Mon, 7 Nov 2022 10:08:55 -0800 MIME-Version: 1.0 Subject: Re: [net] seg6: selftests/bpf: fix BPF object file name in test_lwt_seg6local.sh Content-Language: en-US To: Andrea Mayer Cc: Stefano Salsano , Paolo Lungaroni , Ahmed Abdelsalam , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Mykola Lysenko , Shuah Khan , =?UTF-8?Q?Daniel_M=c3=bcller?= , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org References: <20221107143044.27763-1-andrea.mayer@uniroma2.it> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Martin KaFai Lau In-Reply-To: <20221107143044.27763-1-andrea.mayer@uniroma2.it> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org On 11/7/22 6:30 AM, Andrea Mayer wrote: > The test_lwt_seg6local.c implements several eBPF programs which are > used to test the SRv6 End.BPF behavior. > Since commit afef88e65554 ("selftests/bpf: Store BPF object files with > .bpf.o extension"), part of the build system and test programs loading > BPF object files are supposed to work with the .bpf.o extension. > > Consequently, the test_lwt_seg6local.c is compiled into > test_lwt_seg6local.bpf.o and the corresponding test_lwt_seg6local.sh > script is not updated to deal with the correct .bpf.o extension. > > This patch fixes the test_lwt_seg6local.sh, using the correct .bpf.o > extension for the testing BPF object file, i.e. test_lwt_seg6local.bpf.o. This has already been fixed in commit 98af3746026c ("selftests/bpf: fix missing BPF object files") in bpf-next.