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

Sepherosa Ziehau sepherosa at gmail.com
Thu Aug 9 01:08:36 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,

The nfs client is on nfe(4)?  Can you obtain tcpdump on the other side?
May be RXCSUM error.  Can you try nuking following lines in nfe_init():
1254:
1255:        if (ifp->if_capenable & IFCAP_HWCSUM)
1256:                sc->rxtxctl |= NFE_RXTX_RXCSUM;

Best Regards,
sephe

-- 
Live Free or Die





More information about the Commits mailing list