]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
i40e: remove interrupt on AQ error
authorShannon Nelson <shannon.nelson@intel.com>
Wed, 18 Dec 2013 13:45:57 +0000 (13:45 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 9 Jan 2014 10:48:40 +0000 (02:48 -0800)
Since nearly everything we do is synchronous, using the interrupt-on-error bit
is unnecessary and causing unneeded interrupts.  If anyone wants to use the bit
they can turn it on in individual AQ requests using the cmd_details parameter.

Change-ID: I4690a9c561d3e0836aeadb4f88f8a8702b1d1366
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_adminq.c

index 2b76aba0b6cd4b3332988d2de67e12fc8bb0b9b6..c75aa2d07491a75d593582a6137ccc7bd96fdf2c 100644 (file)
@@ -864,7 +864,7 @@ void i40e_fill_default_direct_cmd_desc(struct i40e_aq_desc *desc,
        /* zero out the desc */
        memset((void *)desc, 0, sizeof(struct i40e_aq_desc));
        desc->opcode = cpu_to_le16(opcode);
-       desc->flags = cpu_to_le16(I40E_AQ_FLAG_EI | I40E_AQ_FLAG_SI);
+       desc->flags = cpu_to_le16(I40E_AQ_FLAG_SI);
 }
 
 /**