]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlx4-next'
authorDavid S. Miller <davem@davemloft.net>
Fri, 19 Sep 2014 21:30:16 +0000 (17:30 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Sep 2014 21:30:16 +0000 (17:30 -0400)
commit097546bd0e27d72cd5ede3ad058c95453da59ade
treebb24828b191225b2af2e5f25ebbcc90c08469faa
parent7644143c44e52a3d1cb208f4325c3d41bec36c66
parent831a589a49bd255ab5146176cf44cba219bf1432
Merge branch 'mlx4-next'

Or Gerlitz says:

====================
mlx4: CQE/EQE stride support

This series from Ido Shamay is intended for archs having
cache line larger then 64 bytes.

Since our CQE/EQEs are generally 64B in those systems, HW will write
twice to the same cache line consecutively, causing pipe locks due to
he hazard prevention mechanism. For elements in a cyclic buffer, writes
are consecutive, so entries smaller than a cache line should be
avoided, especially if they are written at a high rate.

Reduce consecutive writes to same cache line in CQs/EQs, by allowing the
driver to increase the distance between entries so that each will reside
in a different cache line.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>