OSDN Git Service

net: macb: Added support for many RX queues
authorRafal Ozieblo <rafalo@cadence.com>
Thu, 30 Nov 2017 18:19:15 +0000 (18:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Nov 2017 19:12:46 +0000 (14:12 -0500)
commitae1f2a56d2738b8b950e59f09fba2209e540199f
treee3665193c29f22dee4d3d9ca699ebc79e340c26a
parent7475908fbe5d9e669c40d9a4ceee6d4c4fedbbdc
net: macb: Added support for many RX queues

To be able for packet reception on different RX queues some
configuration has to be performed. This patch checks how many
hardware queue does GEM support and initializes them.

Signed-off-by: Rafal Ozieblo <rafalo@cadence.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.h
drivers/net/ethernet/cadence/macb_main.c