diff options
| author | Robert Mustacchi <rm@fingolfin.org> | 2021-02-13 13:35:32 -0800 |
|---|---|---|
| committer | Robert Mustacchi <rm@fingolfin.org> | 2021-02-17 07:19:53 -0800 |
| commit | 942d4fcad7a6f23f289e7d2485bc9bc18b4506ab (patch) | |
| tree | 263c0f15f5a7f0888929276c55516e1f8aa7ce9f | |
| parent | 569041adf8e01f8f57e8a53463ab4478ffd71ec0 (diff) | |
| download | illumos-joyent-942d4fcad7a6f23f289e7d2485bc9bc18b4506ab.tar.gz | |
13534 Document IPv6 LSO in mac(9E)
Reviewed by: Jorge Schrauwen <sjorge@blackdot.be>
Reviewed by: C Fraire <cfraire@me.com>
Reviewed by: Ryan Zezeski <ryan@oxide.computer>
Approved by: Dan McDonald <danmcd@joyent.com>
| -rw-r--r-- | usr/src/man/man9e/mac.9e | 39 |
1 files changed, 31 insertions, 8 deletions
diff --git a/usr/src/man/man9e/mac.9e b/usr/src/man/man9e/mac.9e index d3d066a564..8b896a35c2 100644 --- a/usr/src/man/man9e/mac.9e +++ b/usr/src/man/man9e/mac.9e @@ -11,8 +11,9 @@ .\" .\" Copyright 2019 Joyent, Inc. .\" Copyright 2020 RackTop Systems, Inc. +.\" Copyright 2021 Oxide Computer Company .\" -.Dd May 11, 2020 +.Dd February 13, 2021 .Dt MAC 9E .Os .Sh NAME @@ -650,40 +651,62 @@ The capability indicates that the driver supports various forms of large send offload (LSO). The private data is a pointer to a -.Sy mac_capab_lso_t +.Ft mac_capab_lso_t structure. -At the moment, LSO support is limited to TCP inside of IPv4. +The system currently supports offloading TCP packets over both IPv4 and +IPv6. This structure has the following members which are used to indicate various types of LSO support. .Bd -literal -offset indent t_uscalar_t lso_flags; lso_basic_tcp_ivr4_t lso_basic_tcp_ipv4; +lso_basic_tcp_ipv6_t lso_basic_tcp_ipv6; .Ed .Pp The -.Sy lso_flags +.Fa lso_flags member is used to indicate which members are valid and should be considered. Each flag represents a different form of LSO. The member should be set to the bitwise inclusive OR of the following values: .Bl -tag -width Dv -offset indent -.It Sy LSO_TX_BASIC_TCP_IPV4 +.It Dv LSO_TX_BASIC_TCP_IPV4 This indicates hardware support for performing TCP segmentation offloading over IPv4. When this flag is set, the -.Sy lso_basic_tcp_ipv4 +.Fa lso_basic_tcp_ipv4 +member must be filled in. +.It Dv LSO_TX_BASIC_TCP_IPV6 +This indicates hardware support for performing TCP segmentation +offloading over IPv6. +The IPv6 packet will have no extension headers present. +When this flag is set, the +.Fa lso_basic_tcp_ipv6 member must be filled in. .El .Pp The -.Sy lso_basic_tcp_ipv4 +.Fa lso_basic_tcp_ipv4 +member is a structure with the following members: +.Bd -literal -offset indent +t_uscalar_t lso_max +.Ed +.Bd -filled -offset indent +The +.Fa lso_max +member should be set to the maximum size of the TCP data +payload that can be offloaded to the hardware. +.Ed +.Pp +The +.Fa lso_basic_tcp_ipv6 member is a structure with the following members: .Bd -literal -offset indent t_uscalar_t lso_max .Ed .Bd -filled -offset indent The -.Sy lso_max +.Fa lso_max member should be set to the maximum size of the TCP data payload that can be offloaded to the hardware. .Ed |
