]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite661ac264ec8d07adf76b0a41a8bb0eca36d18b4
treed973d04b411290eb82d6ca53d2eaab9079df3adf
parent645ed7422bc1c2a36329c9cd51e84c15d715b4fc
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