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: <1342533059.2626.661.camel@edumazet-glaptop>
Date:	Tue, 17 Jul 2012 15:50:59 +0200
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	David Miller <davem@...emloft.net>
Cc:	David.Laight@...LAB.COM, rick.jones2@...com,
	cascardo@...ux.vnet.ibm.com, netdev@...r.kernel.org,
	yevgenyp@...lanox.co.il, ogerlitz@...lanox.com, amirv@...lanox.com,
	brking@...ux.vnet.ibm.com, leitao@...ux.vnet.ibm.com,
	klebers@...ux.vnet.ibm.com
Subject: Re: [PATCH] mlx4_en: map entire pages to increase throughput

On Tue, 2012-07-17 at 05:50 -0700, David Miller wrote:
> From: "David Laight" <David.Laight@...LAB.COM>
> Date: Tue, 17 Jul 2012 13:42:04 +0100
> 
> > Would there be any mileage in permanently allocating IOMMU
> > virtual address to the ring entries, then 'just' assigning
> > the correct physical address during rx/tx setup?
> 
> There is a not a one to one mapping between these two entities,
> in particular on the transmit side.
> 
> A transmit packet can have multiple segments, some of which are
> larger than one IOMMU page.

And on rx side, permanently allocating IOMMU would need to copy all
incoming frames to newly allocated memory.

Annot this IOMMU performance problem can be solved on its side,
instead of having to shuffle things in all drivers ?



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ