Set ifq_maxlen to number of transmit descriptors.
This commit is contained in:
parent
0366f90aa6
commit
0fde788552
@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_lnc.c,v 1.54 1999/03/17 16:44:52 luigi Exp $
|
||||
* $Id: if_lnc.c,v 1.55 1999/04/18 01:03:46 paul Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -1276,6 +1276,7 @@ lnc_attach_sc(struct lnc_softc *sc, int unit)
|
||||
sc->arpcom.ac_if.if_type = IFT_ETHER;
|
||||
sc->arpcom.ac_if.if_addrlen = ETHER_ADDR_LEN;
|
||||
sc->arpcom.ac_if.if_hdrlen = ETHER_HDR_LEN;
|
||||
sc->arpcom.ac_if.if_snd.ifq_maxlen = NDESC(sc->ntdre);
|
||||
|
||||
/*
|
||||
* XXX -- should check return status of if_attach
|
||||
|
@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_lnc.c,v 1.54 1999/03/17 16:44:52 luigi Exp $
|
||||
* $Id: if_lnc.c,v 1.55 1999/04/18 01:03:46 paul Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -1276,6 +1276,7 @@ lnc_attach_sc(struct lnc_softc *sc, int unit)
|
||||
sc->arpcom.ac_if.if_type = IFT_ETHER;
|
||||
sc->arpcom.ac_if.if_addrlen = ETHER_ADDR_LEN;
|
||||
sc->arpcom.ac_if.if_hdrlen = ETHER_HDR_LEN;
|
||||
sc->arpcom.ac_if.if_snd.ifq_maxlen = NDESC(sc->ntdre);
|
||||
|
||||
/*
|
||||
* XXX -- should check return status of if_attach
|
||||
|
Loading…
Reference in New Issue
Block a user