Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20ce2a1a authored by Brett Creeley's avatar Brett Creeley Committed by Jeff Kirsher
Browse files

ice: Use dev_err when ice_cfg_vsi_lan fails



dev_err makes more sense than dev_info when this call fails.

Signed-off-by: default avatarBrett Creeley <brett.creeley@intel.com>
Signed-off-by: default avatarAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent c2a23e00
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -2368,7 +2368,9 @@ ice_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi,
	ret = ice_cfg_vsi_lan(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc,
			      max_txqs);
	if (ret) {
		dev_info(&pf->pdev->dev, "Failed VSI lan queue config\n");
		dev_err(&pf->pdev->dev,
			"VSI %d failed lan queue config, error %d\n",
			vsi->vsi_num, ret);
		goto unroll_vector_base;
	}

@@ -2869,8 +2871,9 @@ int ice_vsi_rebuild(struct ice_vsi *vsi)
	ret = ice_cfg_vsi_lan(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc,
			      max_txqs);
	if (ret) {
		dev_info(&vsi->back->pdev->dev,
			 "Failed VSI lan queue config\n");
		dev_err(&pf->pdev->dev,
			"VSI %d failed lan queue config, error %d\n",
			vsi->vsi_num, ret);
		goto err_vectors;
	}
	return 0;