]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'via-rhine-rework'
authorDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2015 04:18:27 +0000 (00:18 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2015 04:18:27 +0000 (00:18 -0400)
commitcd964ca5e1da06a61da2d689840f39ef6b260405
tree41706da9a6d1c9aeae080848de84c8922e7ec6bb
parent8c48ae298a1008039a134e3691ad4616b2b38fd8
parent7c2f055f93679c13f8d08464e65d6d45041537e9
Merge branch 'via-rhine-rework'

Francois Romieu says:

====================
via-rhine rework

The series applies against davem-next as of
eba6dc7dd47bc90294acdab1523d3665266b7c28 ("drivers: net: xgene: fix kbuild
warnings").

Patches #1..#4 avoid holes in the receive ring.

Patch #5 is a small leftover cleanup for #1..#4.

Patches #6 and #7 are fairly simple barrier stuff.

Patch #8 closes some SMP transmit races - not that anyone really
complained about these but it's a bit hard to handwave that they
can be safely ignored. Some testing, especially SMP testing of
course, would be welcome.

. Changes since #2:
  - added dma_rmb barrier in vlan related patch 6.
  - s/wmb/dma_wmb/ in (*new*) patch 7 of 8.
  - added explicit SMP barriers in (*new*) patch 8 of 8.

. Changes since #1:
  - turned wmb() into dma_wmb() as suggested by davem and Alexander Duyck
    in patch 1 of 6.
  - forgot to reset rx_head_desc in rhine_reset_rbufs in patch 4 of 6.
  - removed rx_head_desc altogether in (*new*) patch 5 of 6
  - remoed some vlan receive uglyness in (*new*) patch 6 of 6.
====================

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