]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[intelxl] Fix invocation of intelxlvf_admin_queues()
authorMichael Brown <mcb30@ipxe.org>
Wed, 10 Aug 2022 11:27:19 +0000 (12:27 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 10 Aug 2022 11:29:45 +0000 (12:29 +0100)
The second parameter to intelxlvf_admin_queues() is a boolean used to
select the VF opcode, rather than the raw VF opcode itself.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/intelxlvf.c

index e0e7dc61030504471dafa20bfcb73fa12f390a60..d9922a7c645b0af54e45d018f4c8f544eb4f66d0 100644 (file)
@@ -510,7 +510,7 @@ static int intelxlvf_open ( struct net_device *netdev ) {
        return 0;
 
  err_promisc:
-       intelxlvf_admin_queues ( netdev, INTELXL_ADMIN_VF_DISABLE );
+       intelxlvf_admin_queues ( netdev, 0 );
  err_enable:
  err_irq_map:
  err_configure: