diff options
author | Anirudh Venkataramanan | 2018-03-20 15:58:06 +0100 |
---|---|---|
committer | Jeff Kirsher | 2018-03-26 18:44:56 +0200 |
commit | 7ec59eeac804a59ea6fff81e89b6e584e9955e5b (patch) | |
tree | 99270c779504e2b3f3ac9029099b6ff74f2bf171 /drivers/net/ethernet/intel/ice/ice.h | |
parent | ice: Add basic driver framework for Intel(R) E800 Series (diff) | |
download | kernel-qcow2-linux-7ec59eeac804a59ea6fff81e89b6e584e9955e5b.tar.gz kernel-qcow2-linux-7ec59eeac804a59ea6fff81e89b6e584e9955e5b.tar.xz kernel-qcow2-linux-7ec59eeac804a59ea6fff81e89b6e584e9955e5b.zip |
ice: Add support for control queues
A control queue is a hardware interface which is used by the driver
to interact with other subsystems (like firmware, PHY, etc.). It is
implemented as a producer-consumer ring. More specifically, an
"admin queue" is a type of control queue used to interact with the
firmware.
This patch introduces data structures and functions to initialize
and teardown control/admin queues. Once the admin queue is initialized,
the driver uses it to get the firmware version.
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice.h')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice.h b/drivers/net/ethernet/intel/ice/ice.h index e3c1672d4976..59b1400f9e81 100644 --- a/drivers/net/ethernet/intel/ice/ice.h +++ b/drivers/net/ethernet/intel/ice/ice.h @@ -12,6 +12,7 @@ #include <linux/compiler.h> #include <linux/pci.h> #include <linux/aer.h> +#include <linux/delay.h> #include <linux/bitmap.h> #include "ice_devids.h" #include "ice_type.h" |