cvs commit: src/sys/dev/netif/bge if_bge.c

Sepherosa Ziehau sepherosa at gmail.com
Tue Jun 26 08:18:12 PDT 2007


On 6/26/07, Thomas Nikolajsen <thomas.nikolajsen at mail.dk> wrote:
>sephe       2007/04/23 08:14:37 PDT
>..
>  Correct hardware csum offload support for bge(4)
>
>  Obtained-from: FreeBSD (w/ modification)
>
>  Revision  Changes    Path
>  1.69      +66 -18    src/sys/dev/netif/bge/if_bge.c
This breaks bge(4) for NICs I use, see below:
 - on nfs client using bge(4) for nfs:
'cat /nfs/file' stalls without printing anything from file.
tcpdump on nfs client shows that data is received;
and resent with doubling interval.
'ls /nfs' normally works before stall.
 - using tcp for nfs fixes problem
 - 'ifconfig bge0 -rxcsum' fixes problem
 - backing out commit fixes problem
icmp & tcp doesn't seem to be affected: ping & ssh works without problems.
Trying old kernels from chlamydia pointed to data of this commit.
Should be fixed on HEAD, please test whether it works for you.

 -thomas
-- host1
- dmesg
bge0: <Altima AC9100 Gigabit Ethernet, ASIC rev. 0x105> mem 0xec040000-0xec04ffff irq 10 at device 12.0 on pci0
I suggest using polling(4) on this card; interrupt moderation is
completely broken on it.
Best Regards,
sephe
--
Live Free or Die




More information about the Bugs mailing list