2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source. A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
12 .\" Copyright 2016 Joyent, Inc.
19 .Nd get LSO information on message blocks
21 .In sys/mac_provider.h
35 structure that contains an outgoing frame.
37 A pointer to a value that will be filled in with the maximum segment
40 A pointer to a value that will be filled in with various flags that
41 indicate the behavior to perform.
46 function is used by device drivers that have indicated that they support
49 capability to determine whether large send offload (also known as large
50 segmentation offload or LSO) is required for this frame or not.
51 If so, the driver should take the appropriate actions to program the hardware
56 function should only be called on the first
58 that begins a given individual frame in a chain.
59 In other words, it only works on entries where it is the first of many possible
60 entries linked together by the
67 API or pointed to by a
69 pointer should be used.
71 A device driver should first look at the
73 argument to determine what to do.
75 may be a bitwise inclusive OR of the following:
78 This flag indicates that hardware needs to perform segmentation
80 The maximum segment size that the driver should use is available through the
87 function may be called from