]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
net: macb: Tie-off unused RX queues
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Sat, 12 Mar 2016 04:45:13 +0000 (10:15 +0530)
committerMichal Simek <monstr@monstr.eu>
Tue, 3 Oct 2017 15:26:09 +0000 (17:26 +0200)
commit8d5215f21c329362d88d69415060a099550788c7
tree329e9195bb8931112c52d14f6ff93d5e91268790
parentd2f4a41ffc98de0ed81053297c0f7386e8e5bb4b
net: macb: Tie-off unused RX queues

Currently, we only use the first receive queue and leave the
remaining DMA descriptor pointers pointing at 0.

Disable unused queues by connecting them to a looped descriptor
chain without free slots.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Acked-by: Harini Katakam <harinik@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h