summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Scott <kevin.c.scott@intel.com>2015-02-06 08:52:15 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-02-24 22:11:33 -0800
commita6db5a4d011097ae16449f25f51d2fbbc2942fc8 (patch)
tree4b548143c871488dc044fb8b7846ee4aafbb6948
parent51616018dd1b49d4974fff92669606e97080f954 (diff)
downloadop-kernel-dev-a6db5a4d011097ae16449f25f51d2fbbc2942fc8.zip
op-kernel-dev-a6db5a4d011097ae16449f25f51d2fbbc2942fc8.tar.gz
i40e: Set BUF flag for Set Version AQ command
BUF flag must be set for indirect AQ command. Change-ID: I6819718a47baf69d1a91ebaed89f735ed6e86025 Signed-off-by: Kevin Scott <kevin.c.scott@intel.com> Acked-by: Shannon Nelson <shannon.nelson@intel.com> Tested-by: Jim Young <james.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_common.c b/drivers/net/ethernet/intel/i40e/i40e_common.c
index b7f5063..34bf5be 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_common.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_common.c
@@ -1794,7 +1794,7 @@ i40e_status i40e_aq_send_driver_version(struct i40e_hw *hw,
i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_driver_version);
- desc.flags |= cpu_to_le16(I40E_AQ_FLAG_SI);
+ desc.flags |= cpu_to_le16(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_SI);
cmd->driver_major_ver = dv->major_version;
cmd->driver_minor_ver = dv->minor_version;
cmd->driver_build_ver = dv->build_version;
OpenPOWER on IntegriCloud