svn commit: r359007 - head/sys/dev/usb/net
Ed Maste
emaste at FreeBSD.org
Sun Mar 15 03:32:40 UTC 2020
Author: emaste
Date: Sun Mar 15 03:32:39 2020
New Revision: 359007
URL: https://svnweb.freebsd.org/changeset/base/359007
Log:
muge: drop CSUM from MUGE_DEFAULT_TSO_CSUM_ENABLE
TSO is independent of checksum offload
Modified:
head/sys/dev/usb/net/if_muge.c
Modified: head/sys/dev/usb/net/if_muge.c
==============================================================================
--- head/sys/dev/usb/net/if_muge.c Sun Mar 15 03:03:01 2020 (r359006)
+++ head/sys/dev/usb/net/if_muge.c Sun Mar 15 03:32:39 2020 (r359007)
@@ -127,7 +127,7 @@ SYSCTL_INT(_hw_usb_muge, OID_AUTO, debug, CTLFLAG_RWTU
#endif
#define MUGE_DEFAULT_TX_CSUM_ENABLE (false)
-#define MUGE_DEFAULT_TSO_CSUM_ENABLE (false)
+#define MUGE_DEFAULT_TSO_ENABLE (false)
/* Supported Vendor and Product IDs. */
static const struct usb_device_id lan78xx_devs[] = {
@@ -1623,7 +1623,7 @@ muge_attach_post_sub(struct usb_ether *ue)
* here, that's something related to socket buffers used in Linux.
* FreeBSD doesn't have that as an interface feature.
*/
- if (MUGE_DEFAULT_TSO_CSUM_ENABLE)
+ if (MUGE_DEFAULT_TSO_ENABLE)
ifp->if_capabilities |= IFCAP_TSO4 | IFCAP_TSO6;
#if 0
More information about the svn-src-head
mailing list