Here is a diff to enable the checksum offload support for jme(4).

Looking for any testing.


Index: if_jme.c
===================================================================
RCS file: /home/cvs/src/sys/dev/pci/if_jme.c,v
retrieving revision 1.30
diff -u -p -r1.30 if_jme.c
--- if_jme.c    7 Aug 2013 01:06:35 -0000       1.30
+++ if_jme.c    9 Sep 2013 18:44:25 -0000
@@ -612,12 +612,8 @@ jme_attach(struct device *parent, struct
        IFQ_SET_READY(&ifp->if_snd);
        strlcpy(ifp->if_xname, sc->sc_dev.dv_xname, IFNAMSIZ);
 
-       ifp->if_capabilities = IFCAP_VLAN_MTU;
-
-#ifdef JME_CHECKSUM
-       ifp->if_capabilities |= IFCAP_CSUM_IPv4 | IFCAP_CSUM_TCPv4 |
-                               IFCAP_CSUM_UDPv4;
-#endif
+       ifp->if_capabilities = IFCAP_VLAN_MTU | IFCAP_CSUM_IPv4 |
+           IFCAP_CSUM_TCPv4 | IFCAP_CSUM_UDPv4;
 
 #if NVLAN > 0
        ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING;

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to