]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3e14e57c0ffdc495fe0fc1ddb94b7f73abdb3323
treec761942e2ba52f6892521ab8b9292628a2850c02
parentfb06c4c5c2f3302a6b290ea8a7966df978884df9
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