From: Helin Zhang Date: Thu, 30 Apr 2015 15:03:35 +0000 (+0800) Subject: i40e/base: use FLAG_RD when sending driver version to firmware X-Git-Tag: spdx-start~9203 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d5057555e07101ba8f1b917c117e110a81c54e56;p=dpdk.git i40e/base: use FLAG_RD when sending driver version to firmware When sending driver version to FW, FLAG_SI is not needed as it is done as part of i40e_fill_default_descriptor function call, and it should be replaced by FLAG_BUF and FLAG_RD. Test report: http://www.dpdk.org/ml/archives/dev/2015-May/017384.html Signed-off-by: Helin Zhang Acked-by: Jijiang Liu Tested-by: Min Cao --- diff --git a/lib/librte_pmd_i40e/i40e/i40e_common.c b/lib/librte_pmd_i40e/i40e/i40e_common.c index 09440dbea9..b82c546899 100644 --- a/lib/librte_pmd_i40e/i40e/i40e_common.c +++ b/lib/librte_pmd_i40e/i40e/i40e_common.c @@ -1978,7 +1978,7 @@ enum i40e_status_code 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_RD); cmd->driver_major_ver = dv->major_version; cmd->driver_minor_ver = dv->minor_version; cmd->driver_build_ver = dv->build_version;