Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2226611rwb; Mon, 7 Nov 2022 10:38:41 -0800 (PST) X-Google-Smtp-Source: AMsMyM4lEOQfYsY4GaI64IOrzPt5IsB5TkiD5+eUimovMBOfUOxvrgHKnTHOywWm60gwe1m9CloN X-Received: by 2002:a63:d744:0:b0:46f:1a6e:1a2 with SMTP id w4-20020a63d744000000b0046f1a6e01a2mr43822710pgi.226.1667846321293; Mon, 07 Nov 2022 10:38:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667846321; cv=none; d=google.com; s=arc-20160816; b=SszNWGcOKg9++S4H0Wb8HXpr+XTVNMz+mRB4ijLS2RdIcBhBN52Rsr4xU++KnrUWp5 4C37qWvN/D1QpoUmPTChUnN04jBMt9bjVT4nRnBE7heHZ7T5zdj4Rn7h4gqZsqAf+CHP hvUMKWHW6ySr/o8h2JMU9Jayg/ACdJ2rBn7gm1E/XH9Fmyiy0mgJF266drP6Bt4TTeAF wsU6nqZ1Kc+CwFRGkMPgXgQIJct+Czy9Vt9PoPYuTCr9Jdu23MFkVuLK4Z3pi4AAi2xo p0Le73zBZdagpm9517bL+Y0X84t1Km1SiZ0KZqOt8J2dU5o21rRxXWYzfiojwIzloWtR 1fpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:mime-version:date :dkim-signature:message-id; bh=OnF5xuDzFDJ3bpeOgOJa6cRnrDV3A/yeW5ykwiRN5vQ=; b=rdoemgGHlIQphe1nHHS1YcMGtR/+Uf78OHlGlE4o+lQcsEaqpV0Tmi7IQ+cyVj5U+4 t7Wc0OrVRAjkLljTe2rigVtITwepfb8+5d705VVK5pCGg2RiqSvKAP9tisubmaUYEOgc gCf7wjh8TOnrJf4d5Iv99wDdAkWrZSutxoFps3q4VPjtHpogAJHPPUV9K7d2F1BGsqQz iRXghD19xXsNPCtHCkh0G02WRXvRJ2f13Y9aukKIbdlRz3quqoISrdRSlY043J7+4kX6 CEzcKzaPEDFZdzBfIAiMNq8mvHVoj7ay/g7P5rc4d3NeTnSWjHWeO34YzWr/SmI+F544 26ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ujDV9g7x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 34-20020a631462000000b0046edc0aba77si11494360pgu.345.2022.11.07.10.38.29; Mon, 07 Nov 2022 10:38:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ujDV9g7x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233000AbiKGSL1 (ORCPT + 92 others); Mon, 7 Nov 2022 13:11:27 -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 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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.