From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 43B6045C18 for ; Wed, 11 Sep 2024 09:28:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726046884; cv=none; b=W3Rm09qcxcQjjizHAyYc0UP3AZejpF6hcQt08/n4PUj41/1A5ZJYgMFLXsGiXcXlRgKiDky6ojb4T3EQpcd37k6jR61piCORv79ucQRsGg2wF235+MHRi6BxqCZrodaNs9JsD9aKO4iQXnf4vJb30/PSfn7uAxKz002rFI3qr1U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726046884; c=relaxed/simple; bh=daqri6JZZQqA0i5W9IXSOaZAiDltFhNX7cyJZa1EE8c=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Ycmw5WS/pzSPG/OpH/LPTdrJTNiz1BQN2Iw3+uRc7LUBr3uoh0CQ6szjqeRqTki/741vN+Ox3D6Db08n1jxnHPaFoMqo3l+d78JV2r+6DSK+LVowRXvbdHk0tOGTf+IlQ2FxP13C9HrzkOAiMH/4xnw4L5B+/O1dAUyJFKI8eVE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=QASijEmw; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="QASijEmw" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1726046882; 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=daqri6JZZQqA0i5W9IXSOaZAiDltFhNX7cyJZa1EE8c=; b=QASijEmw1OFfNvisVK/bQRRuKoMakTj5zeCsdZRp7H+UCeP6GUbYWn7a7rniucdaYoyCXi k+9F36I958vEgSZrjfZ38D2eaXk4vChByDV9e+KA9L729Gmb8AHBjlzsFw22Z/Qv+9QNUm RHMeS2kQR0BMpSXEVmu27R2yjx6dxx0= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-605-3q9o86KdNVCXI-9nPdj6ug-1; Wed, 11 Sep 2024 05:28:01 -0400 X-MC-Unique: 3q9o86KdNVCXI-9nPdj6ug-1 Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-a8d10954458so351717466b.3 for ; Wed, 11 Sep 2024 02:28:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726046880; x=1726651680; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=daqri6JZZQqA0i5W9IXSOaZAiDltFhNX7cyJZa1EE8c=; b=QPtIdAeJ7WpgQYhejWckuNsdNZeNgH/On80IY7yNH62Ua/s3QRUOsIoZmW7pn6Hxh2 wO+/80TkHrbGlELOgs4CZ917HjqHSioxWDwJdGQfq2J99EOCBcI4JZJpIH6Ri0H76alz DTOfYmhTaGwhkOwxKP63LG8ZRKNO0iFo2dc2jMcrZVDz6OZq3hKMjRiMLNjk4c30f4nu w1n0oa7jJK7ueFShyds+YYu+uRw3Rwejtk5rotaKM58VjT8J9kgRgu9P48ZnD66x8wtQ uWg+HAgUQkgzysJOGFRzv1fHXgkoToGtGS/NEV8Zqlx6EtPrNnAvOA8dOXu/dPV4sfuJ fj5w== X-Gm-Message-State: AOJu0YyaOa8+C6t5nP3AwXOIF/Lsu7CPPas3ihMkv0KLME3nA5U/C5W4 IzhSmo2aE5vBWbadUN+ii8FMqjaMNIi//Tucrj4q2K3QndT/It0KdIuJlcBxS5FIJ+WdwVI9Gth oC0774zkJIpjgRQz0y5QWrLDnVMt48tL8ZLwSA2w/OZ+8C/UItFW2RA== X-Received: by 2002:a17:907:97ce:b0:a7a:a138:dbc1 with SMTP id a640c23a62f3a-a8ffab186e2mr337837766b.20.1726046879919; Wed, 11 Sep 2024 02:27:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGnHzlMw1tu+Z+GQSp2X0RZmYzG1Uff+btBKKc7jIg8BK8u9Kh8sOEAmodgVs3w55sADXPe2w== X-Received: by 2002:a17:907:97ce:b0:a7a:a138:dbc1 with SMTP id a640c23a62f3a-a8ffab186e2mr337832966b.20.1726046878759; Wed, 11 Sep 2024 02:27:58 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk ([45.145.92.2]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a901c737f09sm16779066b.30.2024.09.11.02.27.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 02:27:58 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 4C8F6152C4FE; Wed, 11 Sep 2024 11:27:57 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Florian Kauer , Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , David Ahern , Hangbin Liu , Mykola Lysenko , Shuah Khan Cc: netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Jesper Dangaard Brouer , linux-kselftest@vger.kernel.org, Florian Kauer Subject: Re: [PATCH net v4 2/2] bpf: selftests: send packet to devmap redirect XDP In-Reply-To: <20240911-devel-koalo-fix-ingress-ifindex-v4-2-5c643ae10258@linutronix.de> References: <20240911-devel-koalo-fix-ingress-ifindex-v4-0-5c643ae10258@linutronix.de> <20240911-devel-koalo-fix-ingress-ifindex-v4-2-5c643ae10258@linutronix.de> X-Clacks-Overhead: GNU Terry Pratchett Date: Wed, 11 Sep 2024 11:27:57 +0200 Message-ID: <874j6mee02.fsf@toke.dk> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Florian Kauer writes: > The current xdp_devmap_attach test attaches a program > that redirects to another program via devmap. > > It is, however, never executed, so do that to catch > any bugs that might occur during execution. > > Also, execute the same for a veth pair so that we > also cover the non-generic path. > > Warning: Running this without the bugfix in this series > will likely crash your system. > > Signed-off-by: Florian Kauer Reviewed-by: Toke H=C3=B8iland-J=C3=B8rgensen