]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: update the queue count on open
authorShannon Nelson <snelson@pensando.io>
Fri, 26 Jun 2020 05:58:37 +0000 (22:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jun 2020 19:19:51 +0000 (12:19 -0700)
commitda337006308c0074a18ca55fc8398f2766b965b6
tree48092583c4a567deacedb9928f28ecf265446313
parent41103875df4cfce7d028b6b4763e6c9a5aa62f19
ionic: update the queue count on open

Let the network stack know the real number of queues that
we are using.

v2: added error checking

Fixes: 887ed044aabb ("ionic: disable the queues on link down")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c