Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 2014 01:04:12 +0000 (UTC)
From:      Bryan Venteicher <bryanv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268012 - head/sys/dev/vmware/vmxnet3
Message-ID:  <201406290104.s5T14C7Z085630@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bryanv
Date: Sun Jun 29 01:04:11 2014
New Revision: 268012
URL: http://svnweb.freebsd.org/changeset/base/268012

Log:
  Give each interrupt a descriptive name when using MSIX
  
  MFC after:	3 days

Modified:
  head/sys/dev/vmware/vmxnet3/if_vmx.c

Modified: head/sys/dev/vmware/vmxnet3/if_vmx.c
==============================================================================
--- head/sys/dev/vmware/vmxnet3/if_vmx.c	Sun Jun 29 00:50:56 2014	(r268011)
+++ head/sys/dev/vmware/vmxnet3/if_vmx.c	Sun Jun 29 01:04:11 2014	(r268012)
@@ -694,6 +694,8 @@ vmxnet3_setup_msix_interrupts(struct vmx
 		     vmxnet3_txq_intr, txq, &intr->vmxi_handler);
 		if (error)
 			return (error);
+		bus_describe_intr(dev, intr->vmxi_irq, intr->vmxi_handler,
+		    "tq%d", i);
 		txq->vxtxq_intr_idx = intr->vmxi_rid - 1;
 	}
 
@@ -703,6 +705,8 @@ vmxnet3_setup_msix_interrupts(struct vmx
 		    vmxnet3_rxq_intr, rxq, &intr->vmxi_handler);
 		if (error)
 			return (error);
+		bus_describe_intr(dev, intr->vmxi_irq, intr->vmxi_handler,
+		    "rq%d", i);
 		rxq->vxrxq_intr_idx = intr->vmxi_rid - 1;
 	}
 
@@ -710,6 +714,7 @@ vmxnet3_setup_msix_interrupts(struct vmx
 	    vmxnet3_event_intr, sc, &intr->vmxi_handler);
 	if (error)
 		return (error);
+	bus_describe_intr(dev, intr->vmxi_irq, intr->vmxi_handler, "event");
 	sc->vmx_event_intr_idx = intr->vmxi_rid - 1;
 
 	return (0);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406290104.s5T14C7Z085630>