Skip to content

Commit

Permalink
i40e: Set BUF flag for Set Version AQ command
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kevin Scott authored and Jeff Kirsher committed Feb 25, 2015
1 parent 5161601 commit a6db5a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/intel/i40e/i40e_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a6db5a4

Please sign in to comment.