Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2013 17:12:22 +0000 (UTC)
From:      David C Somayajulu <davidcs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r251605 - head/sys/dev/qlxgbe
Message-ID:  <201306101712.r5AHCM2U058030@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: davidcs
Date: Mon Jun 10 17:12:22 2013
New Revision: 251605
URL: http://svnweb.freebsd.org/changeset/base/251605

Log:
  There is a one-to-one correspondence between the MSI-X vector # and the Status Descriptor Ring Index. Hence there is no need to check the Interrupt Source Register.
  
  Approved by:	George Neville-Neil

Modified:
  head/sys/dev/qlxgbe/ql_isr.c

Modified: head/sys/dev/qlxgbe/ql_isr.c
==============================================================================
--- head/sys/dev/qlxgbe/ql_isr.c	Mon Jun 10 15:22:27 2013	(r251604)
+++ head/sys/dev/qlxgbe/ql_isr.c	Mon Jun 10 17:12:22 2013	(r251605)
@@ -858,7 +858,6 @@ ql_isr(void *arg)
 	int idx;
 	qla_hw_t *hw;
 	struct ifnet *ifp;
-	uint32_t data = 0;
 	uint32_t ret = 0;
 
 	ha = ivec->ha;
@@ -871,12 +870,7 @@ ql_isr(void *arg)
 	if (idx == 0)
 		taskqueue_enqueue(ha->tx_tq, &ha->tx_task);
 	
-
-
-	data = READ_REG32(ha, ha->hw.intr_src[idx]);
-
-	if (data & 0x1 ) 
-		ret = qla_rcv_isr(ha, idx, -1);
+	ret = qla_rcv_isr(ha, idx, -1);
 
 	if (idx == 0)
 		taskqueue_enqueue(ha->tx_tq, &ha->tx_task);



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