[lkml]   [2002]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: Dropped packets on SUN GEM
       From: Beezly <>
    Date: 12 Mar 2002 23:36:21 +0000

    14 packets missing.

    325*84 = 27300
    14*1500 = 21000

    Are these number relevant?

    The size of GEM's receive FIFO is 20K :-)
    (TX fifo is 9K)

    You say you are on 100Mbit, is this to a hub at half-duplex?
    That is basically the worst combination for GEM because without Pause
    (even my crappy Netgear 100Mbit switches negotiate pause to on with
    my GEMs) there is no way to throttle the sender so that the receive
    overflow condition will not occur.

    Thinking... I guess my gem_rxmac_reset() does not reset the
    receive FIFO so until it is filled up and reset none of the
    packets received actually make it past the card.

    How does it behave with the patch below added to what you are running
    right now?

    --- drivers/net/sungem.c.~1~ Tue Mar 12 09:35:37 2002
    +++ drivers/net/sungem.c Tue Mar 12 15:51:05 2002
    @@ -401,7 +401,11 @@

    +#if 1
    + return 1;
    ret = gem_rxmac_reset(gp);

    if (rxmac_stat & MAC_RXSTAT_ACE)
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:21    [W:0.022 / U:3.560 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site