]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net: macb: add gmac multi-queue support
authorWu, Josh <Josh.wu@atmel.com>
Wed, 3 Jun 2015 08:45:44 +0000 (16:45 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:40 +0000 (08:17 +0200)
commitd16b5b2784d66ab723db3ff297feeb0f37b2a374
treeb52bda5ea79fd3731a2d3ebd907ea700c03e5eef
parent7a39ba01943816e40c8d1bfb0b3c14e17da3bfa6
net: macb: add gmac multi-queue support

This patch refer to linux kernel commit: d8b763e1e79f
  net/macb: add TX multiqueue support for gem
  by: Cyrille Pitchen

1. macb driver will check the register to find how many queues support for
this chip.

2. Then as we only use queue0 for tx, so we will set up all other queues
use a dummy descriptor, which USED bit is set. So those queues are not used.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/macb.c
drivers/net/macb.h