Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2002 09:04:33 -0700 (PDT)
From:      Don Lewis <dl-freebsd@catspoiler.org>
To:        silby@silby.com
Cc:        peter@wemm.org, luigi@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/fxp if_fxp.c 
Message-ID:  <200207091604.g69G4Xwr004252@gw.catspoiler.org>
In-Reply-To: <20020708171914.C19349-100000@patrocles.silby.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On  8 Jul, Mike Silbersack wrote:

> Hm, I see the problem.  The fxp driver releases transmit mbufs in both
> fxp_intr _and_ in fxp_tick.  fxp_tick needs code such as:
> 
> 
>         for (txp = sc->cbl_first; sc->tx_queued &&
>             (txp->cb_status & FXP_CB_STATUS_C) != 0;
>             txp = txp->next) {
>                 if (txp->mb_head != NULL) {
>                         m_freem(txp->mb_head);
>                         txp->mb_head = NULL;
>                 }
>                 sc->tx_queued--;
>         }
>         sc->cbl_first = txp;
> +	if (sc->tx_queued == 0)
> +		ifp->if_timer = 0;
> 
> Give that a whirl and see if it solves the problem.

So far nothing evil has happened ;-)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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