sunvnet: Use one Tx queue per vnet_port
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Thu, 30 Oct 2014 16:46:09 +0000 (12:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Oct 2014 23:56:23 +0000 (19:56 -0400)
commitd51bffd16d39d7fe8b374a5fdebf16210ca41892
treec761942e2ba52f6892521ab8b9292628a2850c02
parent7bd68bfd51f611ba61b3afdbd23ea9580c312bf5
sunvnet: Use one Tx queue per vnet_port

Use multple Tx netdev queues for sunvnet by supporting a one-to-one
mapping between vnet_port and Tx queue. Provide a ndo_select_queue
indirection (vnet_select_queue()) which selects the queue based
on the peer that would be selected in vnet_start_xmit()

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunvnet.c
drivers/net/ethernet/sun/sunvnet.h