lantiq/xrx200-net: fix "tx ring full" error by introducing second DMA TX channel
authorMartin Schiller <mschiller@tdt.de>
Fri, 12 Aug 2016 08:39:38 +0000 (10:39 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 15 Aug 2016 13:32:36 +0000 (15:32 +0200)
commit8f02f7c7f8e3577535ef6dc355438051d5616925
tree6f387b030e4307be8c1d72e9fcfeed70a7710372
parentfca1eb349ef31b133a62880cbd562d6bf17500aa
lantiq/xrx200-net: fix "tx ring full" error by introducing second DMA TX channel

With an own DMA TX channel for each network device (eth0 + eth1) there
won't be any "tx ring full" errors any more.

This patch also move the spinlocks to the channel level instead of locking
the whole xrx200_hw structure.

Signed-off-by: Martin Schiller <mschiller@tdt.de>
target/linux/lantiq/patches-4.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch