Re: which parameter == txqueuelen of linux ??

From: Bruce M Simpson (bms_at_spc.org)
Date: 09/22/04

  • Next message: Valentin Nechayev: "Re: freeaddrinfo(NULL)"
    Date: Wed, 22 Sep 2004 00:47:04 -0700
    To: Zongsheng Zhang <zhang@ist.osaka-u.ac.jp>
    
    

    On Wed, Sep 22, 2004 at 02:55:28PM +0900, Zongsheng Zhang wrote:
    > In Linux, txqueuelen (the length of the transmit queue of the device)
    > can be set by 'ifconfig' command. Is there a corresponding parameter or
    > command in BSD??

    I assume that in Linux, 'txqueuelen' actually refers to the maximum (bounded)
    size of the device's transmit queue before Linux's equivalent of the
    IFF_OACTIVE flag is set (device transmit queue full and no more data may
    be queued).

    The short answer is no. The long answer is it depends; some device drivers
    offer a means of doing so, but it's not standard by any means. Most
    network interfaces in FreeBSD set their if_snd.ifq_maxlen to IFQ_MAXLEN,
    which is 50 by default.

    In some cases the device driver won't permit you to touch this value because
    it's hardcoded to match the size of a descriptor ring which the chip uses for
    data transmission.

    BMS
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Valentin Nechayev: "Re: freeaddrinfo(NULL)"