lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACKFLinG2n1FUiwncVJrWpSLRPvOnaeoBxjfKdgX1kVRHpwXVw@mail.gmail.com>
Date: Mon, 31 Jul 2023 14:11:59 -0700
From: Michael Chan <michael.chan@...adcom.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: Jesper Dangaard Brouer <hawk@...nel.org>, davem@...emloft.net, netdev@...r.kernel.org, 
	edumazet@...gle.com, pabeni@...hat.com, gospo@...adcom.com, 
	bpf@...r.kernel.org, somnath.kotur@...adcom.com, 
	Ilias Apalodimas <ilias.apalodimas@...aro.org>
Subject: Re: [PATCH net-next 3/3] bnxt_en: Let the page pool manage the DMA mapping

On Mon, Jul 31, 2023 at 1:44 PM Jakub Kicinski <kuba@...nel.org> wrote:
> tl;dr just set .max_len = PAGE_SIZE and all will be right.

OK I think I got it now.  The page is only recycled when all the
fragments are recycled and so we can let page pool DMA sync the whole
page at that time.

Download attachment "smime.p7s" of type "application/pkcs7-signature" (4209 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ