cvs commit: src/sys/dev/netif/nfe if_nfe.c if_nfereg.h
Sepherosa Ziehau
sepherosa at gmail.com
Thu Aug 9 06:48:09 PDT 2007
On 8/9/07, Matthew Dillon <dillon at apollo.backplane.com> wrote:
>
> :I assume TCP works fine.
> :Does it work on unfragmented UDP datagram?
> :
> :Best Regards,
> :sephe
>
> TCP seems to work, but it does MTU detection so it won't use
> fragmented packets by default. ssh and TCP nfs mounts work.
>
> UDP doesn't seem to work. I tried doing a 'ls -lda /usr/src' (my NFS
> mount), using a UDP NFS mount, which should be a fairly small RPC,
> and it locked up until I ifconfig'd -rxcsum -txcsum.
>
> I tried configuring rxcsum and txcsum separately but either option
> seems to blow up NFS.
>
> I do not know whether the issue is packet fragmentation or DMA
> fragmentation in the TX/RX rings.
Please try testing with following patch:
http://leaf.dragonflybsd.org/~sephe/nfe_csum.diff
It should make turning on/off rxcsum/txcsum separately work. And
let's see which one generate wrong csum.
Best Regards,
sephe
--
Live Free or Die
More information about the Commits
mailing list