Date: Wed, 7 Dec 2011 15:58:10 -0800 From: YongHyeon PYUN <pyunyh@gmail.com> To: Sami Halabi <sodynet1@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: Problem on re0 Message-ID: <20111207235810.GB9211@michelle.cdnetworks.com> In-Reply-To: <CAEW%2BogZ7wivLcNm8rpcDR-ekP7Z6iEBZ0DtExhg5NVGfho0Ckw@mail.gmail.com> References: <CAEW%2BogauicnjsNdMCBBtoYzOLKVQoxP92Lw9Q_YgYPAe96dS5g@mail.gmail.com> <20111205022730.GE1729@michelle.cdnetworks.com> <CAEW%2BogbPwPY8r=uHhpkkp9-_K_gNsAVzKhVmgWScAMsHt2SJKQ@mail.gmail.com> <20111207005958.GE5825@michelle.cdnetworks.com> <CAEW%2BogZ7wivLcNm8rpcDR-ekP7Z6iEBZ0DtExhg5NVGfho0Ckw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 07, 2011 at 09:55:22AM +0200, Sami Halabi wrote: > Hi, > > the patch failed, As i see /usr/src/dev/re/if_re.c has the following at > line 1943: > if (rxstat & RL_RDESC_STAT_RXERRSUM && !(total_len > 8191 && > (rxstat & RL_RDESC_STAT_ERRS) == RL_RDESC_STAT_GIANT)) { > ifp->if_ierrors++; Just past the code right here like the following. #if 1 printf("%#x ", rxstat); #endif It's a single line printf. :-) > /* > * If this is part of a multi-fragment packet, > * discard all the pieces. > */ > if (sc->rl_head != NULL) { > m_freem(sc->rl_head); > sc->rl_head = sc->rl_tail = NULL; > } > re_discard_rxbuf(sc, i); > continue; > } > > these are sources for 8.2-R+p4 > > Sami
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111207235810.GB9211>