[openEuler-21.09 023/141] net: hns3: refactor out hclgevf_cmd_convert_err_code()