summaryrefslogtreecommitdiffstats
path: root/sys/net/if_var.h
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-10-13 13:45:58 -0300
committerRenato Botelho <renato@netgate.com>2015-10-13 13:45:58 -0300
commite52aa5f667faebee85874ec39c29fa1257dd554f (patch)
treeb08cff1a8d0fb8f667942aca5b9a8be9fb5dca03 /sys/net/if_var.h
parent945ed01c4bae06169f63978e43029c04d4abd731 (diff)
parent8096b85f202b18e1be6a5dd5251a10fcdb255a78 (diff)
downloadFreeBSD-src-e52aa5f667faebee85874ec39c29fa1257dd554f.zip
FreeBSD-src-e52aa5f667faebee85874ec39c29fa1257dd554f.tar.gz
Merge branch 'stable/10' into devel
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r--sys/net/if_var.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index 58391a1..1ff7a4b 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -236,11 +236,12 @@ struct ifnet {
* count limit does not apply. If all three fields are zero,
* there is no TSO limit.
*
- * NOTE: The TSO limits only apply to the data payload part of
- * a TCP/IP packet. That means there is no need to subtract
- * space for ethernet-, vlan-, IP- or TCP- headers from the
- * TSO limits unless the hardware driver in question requires
- * so.
+ * NOTE: The TSO limits should reflect the values used in the
+ * BUSDMA tag a network adapter is using to load a mbuf chain
+ * for transmission. The TCP/IP network stack will subtract
+ * space for all linklevel and protocol level headers and
+ * ensure that the full mbuf chain passed to the network
+ * adapter fits within the given limits.
*/
u_int if_hw_tsomax;
OpenPOWER on IntegriCloud