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 57BE1C433EF for ; Tue, 7 Jun 2022 09:32:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239591AbiFGJcG (ORCPT ); Tue, 7 Jun 2022 05:32:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238080AbiFGJcE (ORCPT ); Tue, 7 Jun 2022 05:32:04 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E8761544FD for ; Tue, 7 Jun 2022 02:32:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654594321; 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: in-reply-to:in-reply-to:references:references; bh=Mor27Ix7CQqr7sI/B/SXdxQjG+ZwvZDcW+NUbHg0Jjo=; b=MKT+JtjmxB/1E/WQFetJhQeQ+C+mmPTpq3gB51YIHogTNd8huoDwcGCb4J9XcW5JucBy8V PGDUusZlnbDSdaQzCgVw+zl640Xd6oGYwhM3TOlTRdB0XpaZ9qNwt8iDRebJVtf9hxnC0c OPR8/rZXlPDH361VuSsZ7EKJfWWsc5A= 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.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-241-UoGS5bkYPVmfiYGq74Qw0A-1; Tue, 07 Jun 2022 05:32:00 -0400 X-MC-Unique: UoGS5bkYPVmfiYGq74Qw0A-1 Received: by mail-ej1-f69.google.com with SMTP id fp4-20020a1709069e0400b00711911cecf9so2437037ejc.3 for ; Tue, 07 Jun 2022 02:32:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=Mor27Ix7CQqr7sI/B/SXdxQjG+ZwvZDcW+NUbHg0Jjo=; b=VNHQDAsUkf1e5R5QX+RzHAvJnnqbXWpi6OlXDpnA15086MarGC3f1mfT0sgu4uDEeZ cfNITENX1Cct1EzxNbRLFuUqIXgK87gPRI1OHKhMiMP2pqM0cN0eVlx9eoCkcuJDFQ4q XLw0ZzN+PhzO3sCC3oIYfFJzLCN7rAnYRCxFSM9p+urcRumh2Fqjj02qJVMyvwrNzys9 tCoC56G2bLvBvPQABD3gOwx06TrOi5gbtt6JJTx0UCTDdvV/D8LbnOII6O2gnwlHDTQ+ KJ1qVdqGdlSyXeFdzggtXEP8suekzSc6TIYTG8LY3HjgKWEzZKswk2bkAZ0svgwZe2WZ ll3A== X-Gm-Message-State: AOAM531+QCZx0Y7ZOfZ/uhZhshZlPr57V3RQ/hW0YDVEM9GqM3DPiqyG DsnIlJZlA7J0pRHPQfk7OGezOKr3HFypr8rIZWEI6f3UFv3XJ9ivyQ94zx2r9khxgB5dAvxiIq4 AfnaPKL91btxFRI9j X-Received: by 2002:aa7:c990:0:b0:42d:e15f:e65a with SMTP id c16-20020aa7c990000000b0042de15fe65amr32037727edt.221.1654594319549; Tue, 07 Jun 2022 02:31:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfz9PcPtSYJP1adAl+dThoDwwJAIwHOMATjjRDp0srpiZ1m/lui3BHTufUZOEZV+kiLln97w== X-Received: by 2002:aa7:c990:0:b0:42d:e15f:e65a with SMTP id c16-20020aa7c990000000b0042de15fe65amr32037688edt.221.1654594319229; Tue, 07 Jun 2022 02:31:59 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk ([45.145.92.2]) by smtp.gmail.com with ESMTPSA id b8-20020aa7c6c8000000b0042617ba637bsm10305431eds.5.2022.06.07.02.31.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 02:31:58 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 0712940566C; Tue, 7 Jun 2022 11:31:58 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Hangbin Liu , netdev@vger.kernel.org Cc: Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , Magnus Karlsson , Maciej Fijalkowski , Jonathan Lemon , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , bpf@vger.kernel.org, Hangbin Liu , Kumar Kartikeya Dwivedi Subject: Re: [PATCH bpf-next 0/3] move AF_XDP APIs to libxdp In-Reply-To: <20220607084003.898387-1-liuhangbin@gmail.com> References: <20220607084003.898387-1-liuhangbin@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett Date: Tue, 07 Jun 2022 11:31:57 +0200 Message-ID: <87tu8w6cqa.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hangbin Liu writes: > libbpf APIs for AF_XDP are deprecated starting from v0.7. > Let's move to libxdp. > > The first patch removed the usage of bpf_prog_load_xattr(). As we > will remove the GCC diagnostic declaration in later patches. Kartikeya started working on moving some of the XDP-related samples into the xdp-tools repo[0]; maybe it's better to just include these AF_XDP programs into that instead of adding a build-dep on libxdp to the kernel samples? -Toke [0] https://github.com/xdp-project/xdp-tools/pull/158