diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2013-11-03 04:24:29 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2013-11-03 04:24:29 +0000 |
commit | 344cdb7f54d236c36edfbbb8456046e896d6d91c (patch) | |
tree | 131609a5286eba67838284041ecc7032649e0de2 /sys/dev | |
parent | 101ae0173572e33410c5e4f3cc7b2ec2aa677bef (diff) |
Enable TX checksum offload.
ok naddy@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_jme.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/pci/if_jme.c b/sys/dev/pci/if_jme.c index dd7d8bae882..f793c23ad1a 100644 --- a/sys/dev/pci/if_jme.c +++ b/sys/dev/pci/if_jme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_jme.c,v 1.30 2013/08/07 01:06:35 bluhm Exp $ */ +/* $OpenBSD: if_jme.c,v 1.31 2013/11/03 04:24:28 brad Exp $ */ /*- * Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org> * All rights reserved. @@ -612,12 +612,8 @@ jme_attach(struct device *parent, struct device *self, void *aux) 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; |