mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 13:53:39 +00:00
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
This commit is contained in:
parent
4612275fdb
commit
86e92a9cf8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251605
|
@ -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,11 +870,6 @@ 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);
|
||||
|
||||
if (idx == 0)
|
||||
|
|
Loading…
Reference in a new issue