On Wed, Dec 29, 2010 at 12:35:51AM -0800, Sreekanth M. wrote: > Hi, > > > > I am Sreekanth from Netlogic microsystems. > > > > I am having an issue with msk driver. > > It is related to rxcsum. > > In freebsd 9, rxcsum is enabled in default for the device I am using on > XLS MIPS board. > > >From hardware id it is known that chip id is: CHIP_ID_YUKON_EC. > > > > Though I am able to ping to this port, ssh (TCP) is not working. > > > > If I disable the rxcsum through the command > > "Ifconfig msk0 -rxcsum" > > It works. i.e ssh command works fine. > >
Would you try attached patch and let me know how it goes on MIPS?
Index: sys/dev/msk/if_msk.c =================================================================== --- sys/dev/msk/if_msk.c (revision 216827) +++ sys/dev/msk/if_msk.c (working copy) @@ -3070,7 +3070,7 @@ default: return; } - csum = ntohs(sc_if->msk_csum & 0xFFFF); + csum = bswap16(sc_if->msk_csum & 0xFFFF); /* Checksum fixup for IP options. */ len = hlen - sizeof(struct ip); if (len > 0) {
_______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"