Problem on re0
YongHyeon PYUN
pyunyh at gmail.com
Wed Dec 7 23:58:24 UTC 2011
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
More information about the freebsd-net
mailing list