From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by mail.toke.dk (Postfix) with ESMTPS id C46CA85ACEA for ; Fri, 25 Jun 2021 00:39:20 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QsCUvB8g Received: by mail-lf1-x129.google.com with SMTP id j2so12954611lfg.9 for ; Thu, 24 Jun 2021 15:39:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ozxg8ZJNuqm0z8dn4/CfM5o7i+4Lxxs8MOPrX4hG51E=; b=QsCUvB8gEGJZHSU3JIRnVeXdvl8SH+SoDqRUGvUhfdW3ocKoVJb2eihlhRphRIqNw2 jE5sE15e9XyPTbIcs4MTNO+ycbcyRao5CJ/0hwyCjmiZjFKOPehwqvzTL8jouv4NB2KN 2GzdVmqknb5DgbCEFRuKL1NNvK+NLYencHI5uIADkqtLvUKDUzAFe3QEbicpl3g6jXzK 3YWuwShANTvsp0HdfucAmJjQ3ndl+EzJ3vSXkf4O9EFD4ZsllvntX4xdco8ELPjuv7if oETqzqCuta4lKS1ib61dCmb73Q51Ez1UGW4kwBDFX+Wse67BBh006zXACqyM/II4lYkS vbcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ozxg8ZJNuqm0z8dn4/CfM5o7i+4Lxxs8MOPrX4hG51E=; b=dc0gVUFI8wi8BKsSGg4lzVccWufE29HxDeRQrsYrRSjHyYXzdUbqgwLfr0/Ibq7w9X N/Eh7r0AgpyX6qzXg09BriaWOSPlrwaIaaHCG1NmdYTTfnZG7v5rRVnAyz2k5uB3wlVm IQB27ak6COi7AtIQtqnKukzwwqeoI4wB+cJL5UNW4TGPCXaIp8XCGCDzhLMJT8dmlj07 f1X4EsUxQtbu15TUHGF8zMtBC9Bt6SaeaMgVD6nL+RHapEaPg5T9QRMvU8bSLSumrQ5H 56pGm5cbZ9k4T8rD2U27giZWzmd83Twvl5vG/X2H1/2G6NJ346z2d7be2kndXIT7toKQ EbpA== X-Gm-Message-State: AOAM530umh+06qVlq0mCEvvn/GLrwWdrSiSQFIXj8GD96J9bOeJgn+KR Z+dq+daA9agbAdA/gYrLnbMJL7KZdT2AIb9qpRo= X-Google-Smtp-Source: ABdhPJye2tJkWfWMF3o+gt7OqrkK+1KTPh00r99yeVTaCu0Ug3DynSRoa6f7cTnT4RQSmWUwZMmKpGl0UASxCceGSHQ= X-Received: by 2002:ac2:598b:: with SMTP id w11mr5720117lfn.534.1624574359025; Thu, 24 Jun 2021 15:39:19 -0700 (PDT) MIME-Version: 1.0 References: <20210624215411.79324c9d@carbon> <22999687621ecba7281a905a3dbbc148fee12581.camel@intel.com> In-Reply-To: <22999687621ecba7281a905a3dbbc148fee12581.camel@intel.com> From: Alexei Starovoitov Date: Thu, 24 Jun 2021 15:39:07 -0700 Message-ID: Subject: Re: A look into XDP hints for AF_XDP To: "Desouza, Ederson" Content-Type: text/plain; charset="UTF-8" Message-ID-Hash: B6KAPZDOXO6ERJUCV7C52HVDSFX6LQ4K X-Message-ID-Hash: B6KAPZDOXO6ERJUCV7C52HVDSFX6LQ4K X-MailFrom: alexei.starovoitov@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: "brouer@redhat.com" , "Swiatkowski, Michal" , "xdp-hints@xdp-project.net" , "Lobakin, Alexandr" , "Karlsson, Magnus" , "saeed@kernel.org" , "bpf@vger.kernel.org" , "andrii.nakryiko@gmail.com" X-Mailman-Version: 3.3.4 Precedence: list List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Thu, Jun 24, 2021 at 3:18 PM Desouza, Ederson wrote: > > Wait - it may be done in user space by libbpf, but it needs the > instrumented object code. It won't work for pure user space > applications, like those which use AF_XDP. Unless we're going to build > them in a special way, like we do for the kernel side of BPF > applications. It can be made to work. See my reply to Magnus. It's not a lot of code to make that happen.