On Wed, Sep 05, 2007 at 09:45:04AM +0200, Renaud Allard wrote:
> Hello,
> 
> I just have two Dell servers having broadcom netXtreme NICs with tcp offload
> engine activated (and locked on on) in the bios.
> I tried to use these servers to do an smtp gateway with spamd. When I 
> activated
> spamd, connecting to port 25 worked but nothing more. After scanning with
> tcpdump, I saw that all packets passing through pf going to spamd and exiting
> had bad tcp checksum. The machine at the other end receiving these bad tcp
> checksum of course dropped them. For the moment, I solved the issue by using
> Intel em NICs.
> Packets passing not passing through pf had also about 50% packets with bad
> checksum too.

Sounds like the same thing I ran into.
http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yes&textonly=yes&numbers=5437

As mentioned by others, checksum offload is disabled in CURRENT (as of 
2007-07-04).
A diff follows if you need a patch for 4.1 stable.

-Paul

Index: if_bnx.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_bnx.c,v
retrieving revision 1.48
diff -u -r1.48 if_bnx.c
--- if_bnx.c    5 Mar 2007 11:13:09 -0000       1.48
+++ if_bnx.c    5 Sep 2007 13:46:53 -0000
@@ -875,8 +875,7 @@
        bcopy(sc->eaddr, sc->arpcom.ac_enaddr, ETHER_ADDR_LEN);
        bcopy(sc->bnx_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
 
-       ifp->if_capabilities = IFCAP_VLAN_MTU | IFCAP_CSUM_TCPv4 |
-                              IFCAP_CSUM_UDPv4;
+       ifp->if_capabilities = IFCAP_VLAN_MTU;
 
 #if NVLAN > 0
        ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING;

Reply via email to