Thread (5 messages) flat view 5 messages, 4 authors, 2012-03-01

Re: [PATCH net-next 3/3] mlx4_en: Saving mem access on data path

From: David Miller <davem@davemloft.net>
Date: 2012-02-23 19:47:55

From: Yevgeny Petrilin <redacted>
Date: Thu, 23 Feb 2012 15:34:44 +0200
Localized the pdev->dev, and using dma_map instead of pci_map
There are multiple map/unmap operations on data path,
optimizing those by saving redundant pointer access.

Signed-off-by: Yevgeny Petrilin <redacted>
I doubt you can measure any improvement from this at all, all of the
real cost is going to be in programming the hardware (both the
networking chip and potentially any IOMMU hardware to setup the DMA
mappings).  A pointer deref in of your datastructures will be
unnoticable.

When you make changes like this I want you to justify them with real
data and facts.

I think this entire patch set was in very poor taste and judgment.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help