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  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]
Date:   Wed, 26 Aug 2020 15:04:41 +0200
From:   Andrew Lunn <andrew@...n.ch>
To:     Vadym Kochan <vadym.kochan@...ision.eu>
Cc:     David Miller <davem@...emloft.net>, kuba@...nel.org,
        jiri@...lanox.com, idosch@...lanox.com,
        oleksandr.mazur@...ision.eu, serhiy.boiko@...ision.eu,
        serhiy.pshyk@...ision.eu, volodymyr.mytnyk@...ision.eu,
        taras.chornyi@...ision.eu, andrii.savka@...ision.eu,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
        andy.shevchenko@...il.com, mickeyr@...vell.com
Subject: Re: [net-next v5 1/6] net: marvell: prestera: Add driver for
 Prestera family ASIC devices

> There is a limitation on the DMA range. Current device can't handle
> whole ZONE_DMA range, so there is a "backup" mechanism which copies the
> entire packet if the mapping was failed or if the packet's mapped
> address is out of this range, this is done on both rx and tx directions.

If you use the DMA API correct, it should hide all this, and do the
bounce buffers for you. But i'm no DMA expert...

       Andrew

Powered by blists - more mailing lists