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 X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95805C433F5 for ; Wed, 8 Sep 2021 06:38:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 748036113C for ; Wed, 8 Sep 2021 06:38:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237226AbhIHGj0 (ORCPT ); Wed, 8 Sep 2021 02:39:26 -0400 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:41463 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229634AbhIHGjZ (ORCPT ); Wed, 8 Sep 2021 02:39:25 -0400 Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 1886c7Wr015032; Wed, 8 Sep 2021 08:38:07 +0200 Date: Wed, 8 Sep 2021 08:38:07 +0200 From: Willy Tarreau To: Jose Fernandez Cc: Toke =?iso-8859-1?Q?H=F8iland-J=F8rgensen?= , Zvi Effron , Xdp Subject: Re: Linux laptop with native XDP support Message-ID: <20210908063807.GA14966@1wt.eu> References: <87k0jsp5se.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: xdp-newbies@vger.kernel.org On Tue, Sep 07, 2021 at 06:50:49PM -0700, Jose Fernandez wrote: > > Nope, no XDP support for WiFi. There was some exploratory discussion > > about that some years ago, but XDP has Ethernet as a pretty fundamental > > assumption so it's not an obvious fit to the Linux WiFi stack... > > > > -Toke > > > > I came to the realization about that a few hours after sending this > email. I found this link useful to identity which drivers support XDP: > https://elixir.bootlin.com/linux/latest/A/ident/bpf_prog_run_xdp > > I had my eyes on the latest gen "slim" Linux notebooks (Lenovo XC1, > Dell XPS), but these don't have built-in Ethernet anymore. So I'm back > to the drawing board. Thanks for the tip on ixgbe and Broadcom. Note that e1000e remains quite popular among notebooks (my last HP one and the two following thinkpads including the T480s I'm typing on have this), and there is common ancestry between e1000e and igb. When I implemented the NDIV framework (which basically does pretty similar things as XDP does in the drivers), I managed to implement e1000, e1000e, igb and ixgbe without too many difficulties. Maybe it could be a good opportunity for you to try to port XDP to e1000e using such a machine, by looking at the work from igb ? Willy