aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2019-08-02 01:25:30 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-09-03 16:23:35 -0700
commit7404e84a2332572da70aabb081f9a933309d57a4 (patch)
tree328ab670bdd71bc17886799e58e99c1f824a13e2 /drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
parent18057cb3578ae950c73b20588ad66a1f45fba68c (diff)
downloadlinux-7404e84a2332572da70aabb081f9a933309d57a4.tar.gz
linux-7404e84a2332572da70aabb081f9a933309d57a4.tar.bz2
linux-7404e84a2332572da70aabb081f9a933309d57a4.zip
ice: update driver unloading field for Queue Shutdown AQ command
According to recent specification versions, the field in the Queue Shutdown AdminQ command consisting of the "driver unloading" indication is not a 4 byte field (it is byte.bit 16.0). Change it to a byte and remove the unnecessary endian conversion. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_adminq_cmd.h')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_adminq_cmd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_adminq_cmd.h b/drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
index bf9aa533a7c6..8ebc695171b6 100644
--- a/drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
+++ b/drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
@@ -35,9 +35,9 @@ struct ice_aqc_get_ver {
/* Queue Shutdown (direct 0x0003) */
struct ice_aqc_q_shutdown {
- __le32 driver_unloading;
+ u8 driver_unloading;
#define ICE_AQC_DRIVER_UNLOADING BIT(0)
- u8 reserved[12];
+ u8 reserved[15];
};
/* Request resource ownership (direct 0x0008)