i40e: simplify aq head-tail-len setups
authorShannon Nelson <shannon.nelson@intel.com>
Sat, 16 Nov 2013 10:00:36 +0000 (10:00 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 Dec 2013 07:12:58 +0000 (23:12 -0800)
commit17e6a845dc808f9e9cb3085517fd851d1ccc2bc3
tree8a0da0c80efe9c53356a42e15754268afd09da64
parent26d7178f5ba164e329f137b00a542fd67b850051
i40e: simplify aq head-tail-len setups

Use more virtual registers to simplify code flows.

Change-Id: I32cff3818c5ca3a3792487ba4fed8f1d0ea6145a
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
drivers/net/ethernet/intel/i40e/i40e_adminq.h