diff options
author | 2019-08-19 07:07:35 +0000 | |
---|---|---|
committer | 2019-08-19 07:07:35 +0000 | |
commit | f2e4c8c6145c6beddcba5bdc01ecca35ca571f70 (patch) | |
tree | 4e08b934322a06daf980c57af437456fbf67180f | |
parent | Add missing OHCI clocks for Allwinner R40. (diff) | |
download | wireguard-openbsd-f2e4c8c6145c6beddcba5bdc01ecca35ca571f70.tar.xz wireguard-openbsd-f2e4c8c6145c6beddcba5bdc01ecca35ca571f70.zip |
Enable TCP and UDP checksum offloading by default for ix(4).
ok deraadt@
-rw-r--r-- | sys/dev/pci/if_ix.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c index e29fc0aa07f..aeed74198ec 100644 --- a/sys/dev/pci/if_ix.c +++ b/sys/dev/pci/if_ix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ix.c,v 1.157 2019/04/10 09:55:02 dlg Exp $ */ +/* $OpenBSD: if_ix.c,v 1.158 2019/08/19 07:07:35 jan Exp $ */ /****************************************************************************** @@ -1678,9 +1678,7 @@ ixgbe_setup_interface(struct ix_softc *sc) ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING; #endif -#ifdef IX_CSUM_OFFLOAD ifp->if_capabilities |= IFCAP_CSUM_TCPv4 | IFCAP_CSUM_UDPv4; -#endif /* * Specify the media types supported by this sc and register |