[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <22180ea1-b2eb-b4de-fa4f-3499de8c858b@iogearbox.net>
Date: Tue, 12 Feb 2019 17:09:12 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Björn Töpel <bjorn.topel@...il.com>,
ast@...nel.org, netdev@...r.kernel.org
Cc: Björn Töpel <bjorn.topel@...el.com>,
magnus.karlsson@...el.com, magnus.karlsson@...il.com,
jan.sokolowski@...el.com
Subject: Re: [PATCH bpf] xsk: do not remove umem from netdevice on fall-back
to copy-mode
On 02/12/2019 08:51 AM, Björn Töpel wrote:
> From: Björn Töpel <bjorn.topel@...el.com>
>
> Commit c9b47cc1fabc ("xsk: fix bug when trying to use both copy and
> zero-copy on one queue id") stores the umem into the netdev._rx
> struct. However, the patch incorrectly removed the umem from the
> netdev._rx struct when user-space passed "best-effort" mode
> (i.e. select the fastest possible option available), and zero-copy
> mode was not available. This commit fixes that.
>
> Fixes: c9b47cc1fabc ("xsk: fix bug when trying to use both copy and zero-copy on one queue id")
> Signed-off-by: Björn Töpel <bjorn.topel@...el.com>
Applied, thanks!
Powered by blists - more mailing lists