]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i40e: remove redundant AQ enable
authorKamil Krawczyk <kamil.krawczyk@intel.com>
Wed, 18 Dec 2013 13:45:46 +0000 (13:45 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 8 Jan 2014 05:50:12 +0000 (21:50 -0800)
commit071b8de9820fb622c1fd29775f3a47b99db312ad
treea0381bd4ad353596fae14854022ede6bbd3f4de0
parentc354229fc0f2c441aad7506dc4748cc9e9675767
i40e: remove redundant AQ enable

The admin queue length register is updated in
config_a<sq|rq>_regs functions.  We should not update it again,
as we will trigger firmware to init the AQ again. In this case
firmware will lose the information about the AQ Rx tail position
and will see Rx queue as full (no free desc for FW to use).

Signed-off-by: Kamil Krawczyk <kamil.krawczyk@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