]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
i40e: make message meaningful
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 14 Jan 2014 08:49:51 +0000 (00:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 02:56:00 +0000 (18:56 -0800)
Make this message mean something, rather than just spitting out a VSI id
without any context whatsoever.

Change-ID: Iafb906c6db46d4b5dcbe84adc9ed44730d08bd42
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c

index 3868c11101b2afdc3264ae3f8f14d18784a94d53..53069c0dffd5bebf769c59612d106c8656fba6f2 100644 (file)
@@ -386,8 +386,8 @@ static int i40e_alloc_vsi_res(struct i40e_vf *vf, enum i40e_vsi_type type)
                vf->lan_vsi_index = vsi->idx;
                vf->lan_vsi_id = vsi->id;
                dev_info(&pf->pdev->dev,
-                        "LAN VSI index %d, VSI id %d\n",
-                        vsi->idx, vsi->id);
+                        "VF %d assigned LAN VSI index %d, VSI id %d\n",
+                        vf->vf_id, vsi->idx, vsi->id);
                /* If the port VLAN has been configured and then the
                 * VF driver was removed then the VSI port VLAN
                 * configuration was destroyed.  Check if there is