DragonFly commits List (threaded) for 2007-08
DragonFly BSD
DragonFly commits List (threaded) for 2007-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/dev/netif/nfe if_nfe.c if_nfereg.h


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Thu, 9 Aug 2007 21:46:51 +0800

On 8/9/07, Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]