]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: fec: parser max queue number from dt file
authorFugang Duan <B38611@freescale.com>
Fri, 12 Sep 2014 21:00:49 +0000 (05:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Sep 2014 21:32:16 +0000 (17:32 -0400)
commit9fc095f136b5436fafb22f31c4871b5edcb362b9
tree5306b6cd63c26d70707fc8a300d96c353e8eec41
parent4d494cdc92b3b9a0f5fb9e1560810fa27d5a0489
net: fec: parser max queue number from dt file

By default, the tx/rx queue number is 1, user can config the queue number
at DTS file like this:
fsl,num-tx-queues=<3>;
fsl,num-rx-queues=<3>

Since i.MX6SX enet-AVB IP support multi queues, so use multi queues
interface to allocate and set up an Ethernet device.

Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.h
drivers/net/ethernet/freescale/fec_main.c