sunvnet: track port queues correctly
authorShannon Nelson <shannon.nelson@oracle.com>
Tue, 14 Mar 2017 17:24:41 +0000 (10:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Mar 2017 03:29:54 +0000 (20:29 -0700)
commite1f1e5f711265ee9d881afd12ff252b2d01e1174
treed973d04b411290eb82d6ca53d2eaab9079df3adf
parent0f512c84544b9a8f8de53b6f4bc0c372c45d8693
sunvnet: track port queues correctly

Track our used and unused queue indexies correctly.  Otherwise, as ports
dropped out and returned, they all eventually ended up with the same
queue index.

Orabug: 25190537

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunvnet_common.c
drivers/net/ethernet/sun/sunvnet_common.h