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 3868c11..53069c0 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