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:
Bill Paul 1999-09-25 04:50:27 +00:00
parent b41d4634e2
commit e51e55880d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51641
2 changed files with 10 additions and 0 deletions

View File

@ -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;
} }

View File

@ -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;
} }