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.133.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 7D5FB12DD9A for ; Thu, 15 Feb 2024 17:06:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708016810; cv=none; b=KdY6xIGb4ZgPYEcQfwpx5SSGUEjjcickxfLu/OrHZCCC9mRTckxM1uklCmkz9JKGKR1/o13rfPZSuyMlRGv1Fe4ZFtDRUixKnjyJ0XU2LbBXgpfvopJUH4Qc/rYxYYGqBnF8ImUy3Z5tnG67T4obWrB31vXCTGZ8SjXeccBNtzw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708016810; c=relaxed/simple; bh=Oohyt/Kae1e5gRYIF9NLQ7YLqCxNFhcjgVEBij6/e6o=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Pgb0q2kZ0WIfxam/qhN4Ac+Q33klGkZXKPtMpRxsy6kmtMwwxqn/wajYilACdSXWI49rU94uI5HxevkBd7MQQhXArDndtCKpkjBU4NE8FdrIe20w7TJNPxsXqpX4AEskCpd1cYjQ3DVX1MBbvS5VC/UKNDfS7JU6WaDYX6bES2Q= 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=IP27NZ/D; arc=none smtp.client-ip=170.10.133.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="IP27NZ/D" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708016807; 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=Oohyt/Kae1e5gRYIF9NLQ7YLqCxNFhcjgVEBij6/e6o=; b=IP27NZ/DWxquhK9vM5tg2JtZQunqHygRTmgY5wVlS6enqTQpREX4aZzOQ2lj9Ngq8lP3yP ATsEvlU8Le+u7GJPJRCXDodH4frT1IYOWik7THwIESBjRc3tRW3FDn7GiZ2ph3CbDA5ynh 17BIOu8g0zYqOa/2gfis5+JtU9SzzFQ= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-358-2-HhxGhTNkWZ1ZnnhaYBsA-1; Thu, 15 Feb 2024 12:06:46 -0500 X-MC-Unique: 2-HhxGhTNkWZ1ZnnhaYBsA-1 Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-a3cfc0287faso50009866b.2 for ; Thu, 15 Feb 2024 09:06:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708016805; x=1708621605; 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=Oohyt/Kae1e5gRYIF9NLQ7YLqCxNFhcjgVEBij6/e6o=; b=lNFhZ7JWOPSqffUubsAFs0vgODNgjBTyRJjcte0EWNLmbX+FJEYimF1nO6F+g/8X3k b00oaXK3qdVabkqYSnzlbVcIaEU01T2ubydWl7Bx/Lm5Z6DiCN/ei74aPPYhY7p86F8O pQ5bzyP46lPTn1MSEFiixev+NpVKriP3xNVOxb2VxOYSAsdhU7L8jD4a+vFZ9IlGJoev 8xLY+GzvD0d2P0XIVsb2TAquPriD1/rYTQa0/eevjnWS3hLamBkbe+iOopvnRo3J5Trz SHVXFrsw9r3/NTQEaODpFcwr3rjKFqKRppsWhX0ovSwxl9TL6pmYMj+XA857sfbhuy+1 3ZMA== X-Forwarded-Encrypted: i=1; AJvYcCUjlHdnpyAUk4aALAH0SaVF2b6b2UCZYDjwCIpbEgRIpjBVPxG0GqzFYs+fn9q40p4FJtN2UynEFv2/TIX4OaQeecQg X-Gm-Message-State: AOJu0Yy5sQpekvFvWS45EzsaaXVRsTZsEemBV2KKOmI9txrSPbBV/HaQ tDUrg4R7lv16HNGKa8uxhncp4CogiGUqpv9MN+w9ChjOEl5G7TeWFBg34TAHXH1BYN3Ec/j2xLt QLjWoFA7kvGWgW67u5xfO0gJ4cf1Pdd4ukIteZGlRdQwMCYLRBg== X-Received: by 2002:a17:906:37d6:b0:a3c:1402:e042 with SMTP id o22-20020a17090637d600b00a3c1402e042mr1675578ejc.37.1708016804933; Thu, 15 Feb 2024 09:06:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFnRGJwsFRzPcE9ndm5F3JneRXTWoFUDIFbUsJ0lF1cvTV9AY1qVnp1Uxgqqubhtq4y8Owjw== X-Received: by 2002:a17:906:37d6:b0:a3c:1402:e042 with SMTP id o22-20020a17090637d600b00a3c1402e042mr1675564ejc.37.1708016804663; Thu, 15 Feb 2024 09:06:44 -0800 (PST) Received: from alrua-x1.borgediget.toke.dk ([45.145.92.2]) by smtp.gmail.com with ESMTPSA id mb24-20020a170906eb1800b00a3d65399a4esm756254ejb.177.2024.02.15.09.06.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 09:06:44 -0800 (PST) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id C20F510F59FE; Thu, 15 Feb 2024 18:06:42 +0100 (CET) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Alexander Lobakin Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Jesper Dangaard Brouer , netdev@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH net-next 0/3] Change BPF_TEST_RUN use the system page pool for live XDP frames In-Reply-To: <4a1ef449-5189-4788-ae51-3d1c4a09d3a2@intel.com> References: <20240215132634.474055-1-toke@redhat.com> <4a1ef449-5189-4788-ae51-3d1c4a09d3a2@intel.com> X-Clacks-Overhead: GNU Terry Pratchett Date: Thu, 15 Feb 2024 18:06:42 +0100 Message-ID: <87mss1d5ct.fsf@toke.dk> Precedence: bulk X-Mailing-List: bpf@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 Alexander Lobakin writes: > From: Toke H=C3=B8iland-J=C3=B8rgensen > Date: Thu, 15 Feb 2024 14:26:29 +0100 > >> Now that we have a system-wide page pool, we can use that for the live >> frame mode of BPF_TEST_RUN (used by the XDP traffic generator), and >> avoid the cost of creating a separate page pool instance for each >> syscall invocation. See the individual patches for more details. > > Tested xdp-trafficgen on my development tree[0], no regressions from the > net-next with my patch which increases live frames PP size. > > Reviewed-by: Alexander Lobakin > Tested-by: Alexander Lobakin Great, thanks for taking it for a spin! :) -Toke