]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Fix the VF msix vectors flow
authorShai Malin <smalin@marvell.com>
Sun, 22 Aug 2021 19:21:14 +0000 (22:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2021 08:22:37 +0000 (09:22 +0100)
commit5b7a9469a0039cc8f733db9f5fc9fa86e922ee74
tree10ba98c47b2e1a7210d40e9103d2810d99f6ee46
parentd038f985316d69375256f766f85f3b33467f6c2f
qed: Fix the VF msix vectors flow

For VFs we should return with an error in case we didn't get the exact
number of msix vectors as we requested.
Not doing that will lead to a crash when starting queues for this VF.

Signed-off-by: Prabhakar Kushwaha <pkushwaha@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Shai Malin <smalin@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_main.c