Driver bge - broken jumbo frame support

From: Marian Durkovic (md_at_bts.sk)
Date: 07/17/04

  • Next message: Don Bowman: "Question on SOCK_RAW, implement a bpf->other host tee"
    Date: Sat, 17 Jul 2004 14:07:20 +0200
    To: freebsd-net@freebsd.org
    
    

    Hi all,

       seems the jumbo frame support in bge driver for FreeBSD 4.10 is broken.
    With MTU set to 9000 bytes, the following happens (ping from other machine
    towards box with BCM5702):

    ping -s 8970 ... works fine (this generates packets 8998 bytes long)
    ping -s 8974 ... works fine (this generates 2 fragments: 8192 + 790 bytes)

    however

    ping -s 8972 generates packets 9000 bytes long - this freezes the card
                    completely (watchdog timeout restarts it).

    This means, that the driver is not able to receive full sized jumbo packet
    (9000 bytes long), only packet 2 bytes shorter (8998 bytes long). The
    problem is present in the RX path, since the bge driver is able to send
    out 9000 bytes long packet and receive reply fragments without problem.

    Here's the dmesg output:

    bge0: <Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002> mem
    0xf9800000-0xf980ffff irq 10 at device 9.0 on pci0
    ....
    bge0: watchdog timeout -- resetting
    bge0: gigabit link up

        
            Thanks in advance for any help.

    --------------------------------------------------------------------------
    ---- ----
    ---- Marian Durkovic network manager ----
    ---- ----
    ---- Slovak Technical University Tel: +421 2 524 51 301 ----
    ---- Computer Centre, Nam. Slobody 17 Fax: +421 2 524 94 351 ----
    ---- 812 43 Bratislava, Slovak Republic E-mail/sip: md@bts.sk ----
    ---- ----
    --------------------------------------------------------------------------
    _______________________________________________
    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: Don Bowman: "Question on SOCK_RAW, implement a bpf->other host tee"