mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 23:19:00 +00:00
Call sk_start() at the end of sk_intr() if there's packets in the
interface send queue that need to be processed.
This commit is contained in:
parent
b41d4634e2
commit
e51e55880d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51641
@ -1703,6 +1703,11 @@ static void sk_intr(xsc)
|
|||||||
|
|
||||||
CSR_WRITE_4(sc, SK_IMR, sc->sk_intrmask);
|
CSR_WRITE_4(sc, SK_IMR, sc->sk_intrmask);
|
||||||
|
|
||||||
|
if (ifp0 != NULL && ifp0->if_snd.ifq_head != NULL)
|
||||||
|
sk_start(ifp0);
|
||||||
|
if (ifp1 != NULL && ifp1->if_snd.ifq_head != NULL)
|
||||||
|
sk_start(ifp1);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1703,6 +1703,11 @@ static void sk_intr(xsc)
|
|||||||
|
|
||||||
CSR_WRITE_4(sc, SK_IMR, sc->sk_intrmask);
|
CSR_WRITE_4(sc, SK_IMR, sc->sk_intrmask);
|
||||||
|
|
||||||
|
if (ifp0 != NULL && ifp0->if_snd.ifq_head != NULL)
|
||||||
|
sk_start(ifp0);
|
||||||
|
if (ifp1 != NULL && ifp1->if_snd.ifq_head != NULL)
|
||||||
|
sk_start(ifp1);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user