Data Structures for Drivers mac_capab_lso(9S)
NAME
mac_capab_lso, lso_basic_tcp_ipv4 - LSO capability data
structureSYNOPSIS
#include
INTERFACE LEVEL
Solaris architecture specific (Solaris DDI)DESCRIPTION
The mac_capab_lso and lso_basic_tcp_ipv4 structures are used
by a device driver to describe its LSO capability. Thestructure is used as the argument to the mc_getcapab(9E)
driver entry point when querying the MAC_CAPAB_LSO capabil-
ity. STRUCTURE MEMBERSThe mac_capab_lso data structure has the following members:
t_uscalar_t lso_flags;
lso_basic_tcp_ipv4_t lso_basic_tcp_ipv4;
The fields must be set as follows:lso_flags
Flag indicating the LSO capability supported by the dev-
ice driver instance. The following flags are currently supported:LSO_TX_BASIC_TCP_IPV4 LSO for TCP on IPv4
lso_basic_tcp_ipv4
Parameters for TCP LSO over IPv4The lso_basic_tcp_ipv4 data structure is used by the device
driver to advertise specific parameters when theLSO_TX_BASIC_TCP_IPV4 lso_flag is set. This data structure
has the following elements:t_uscalar_t lso_max;
SunOS 5.11 Last change: 26 Mar 2010 1
Data Structures for Drivers mac_capab_lso(9S)
The lso_max field contains the maximum payload size sup-
ported by the driver instance.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWhea ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
SEE ALSO
attributes(5), mc_getcapab(9E), mac_lso_get(9F),
mac_register(9F)
SunOS 5.11 Last change: 26 Mar 2010 2