[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9153be2e-76bc-3760-be31-4f0f96acd38c@redhat.com>
Date: Thu, 8 Dec 2022 16:10:56 +0100
From: Jesper Dangaard Brouer <jbrouer@...hat.com>
To: "Matthew Wilcox (Oracle)" <willy@...radead.org>,
Jesper Dangaard Brouer <hawk@...nel.org>,
Ilias Apalodimas <ilias.apalodimas@...aro.org>
Cc: brouer@...hat.com, netdev@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH 26/26] mlx5: Convert to netmem
On 06/12/2022 17.05, Matthew Wilcox (Oracle) wrote:
> Use the netmem APIs instead of the page_pool APIs. Possibly we should
> add a netmem equivalent of skb_add_rx_frag(), but that can happen
> later. Saves one call to compound_head() in the call to put_page()
> in mlx5e_page_release_dynamic() which saves 58 bytes of text.
>
> Signed-off-by: Matthew Wilcox (Oracle)<willy@...radead.org>
> ---
> drivers/net/ethernet/mellanox/mlx5/core/en.h | 10 +-
> .../net/ethernet/mellanox/mlx5/core/en/txrx.h | 4 +-
> .../net/ethernet/mellanox/mlx5/core/en/xdp.c | 23 ++--
> .../net/ethernet/mellanox/mlx5/core/en/xdp.h | 2 +-
> .../net/ethernet/mellanox/mlx5/core/en_main.c | 12 +-
> .../net/ethernet/mellanox/mlx5/core/en_rx.c | 130 +++++++++---------
> 6 files changed, 93 insertions(+), 88 deletions(-)
This doesn't compile... patch that fix this is attached.
(I've boot it, but not run any mlx5 XDP tests, yet)
--Jesper
View attachment "27-mlx5-fix" of type "text/plain" (1868 bytes)
Powered by blists - more mailing lists