aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e_main.c
diff options
context:
space:
mode:
authorCarolyn Wyborny <carolyn.wyborny@intel.com>2014-12-11 02:06:37 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-01-16 06:56:51 -0500
commite240f674eca856bde09b1101e2c5477002e920f2 (patch)
tree6708a19c0481a9fa06d32e3e1063ffefeb84f3d7 /drivers/net/ethernet/intel/i40e/i40e_main.c
parent83c5fe7723dc6f69c49bb7020b02141308a5bc3a (diff)
i40e: fix proc/int descriptions
This patch fixes a problem where the /proc/interrupts descriptions from the msix configuration were truncating the needed bus info, making it hard to distinguish configuration from port to port. This patch increases the string buffer size in order to allow the full data to be displayed and sync's the text formatting of the misc and fdir interrupt names Change-ID: Ib01d6c61fb3f4ac70fbdf5bcc520b22638ea54b7 Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_main.c')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index f3b036d19b6b..cd34d9bd3b56 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -4845,7 +4845,7 @@ static int i40e_open(struct net_device *netdev)
4845int i40e_vsi_open(struct i40e_vsi *vsi) 4845int i40e_vsi_open(struct i40e_vsi *vsi)
4846{ 4846{
4847 struct i40e_pf *pf = vsi->back; 4847 struct i40e_pf *pf = vsi->back;
4848 char int_name[IFNAMSIZ]; 4848 char int_name[IFNAMSIZ + 9];
4849 int err; 4849 int err;
4850 4850
4851 /* allocate descriptors */ 4851 /* allocate descriptors */
@@ -4879,7 +4879,7 @@ int i40e_vsi_open(struct i40e_vsi *vsi)
4879 goto err_set_queues; 4879 goto err_set_queues;
4880 4880
4881 } else if (vsi->type == I40E_VSI_FDIR) { 4881 } else if (vsi->type == I40E_VSI_FDIR) {
4882 snprintf(int_name, sizeof(int_name) - 1, "%s-%s-fdir", 4882 snprintf(int_name, sizeof(int_name) - 1, "%s-%s:fdir",
4883 dev_driver_string(&pf->pdev->dev), 4883 dev_driver_string(&pf->pdev->dev),
4884 dev_name(&pf->pdev->dev)); 4884 dev_name(&pf->pdev->dev));
4885 err = i40e_vsi_request_irq(vsi, int_name); 4885 err = i40e_vsi_request_irq(vsi, int_name);