HP rp4440 HP DLPI Programmer's Guide - Page 175
DL_HP_SET_DRV_PARAM_IOCTL, State, New State, Response
View all HP rp4440 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 175 highlights
Chapter 3 DLPI Input/Output Controls Supported ioctls dl_dest_addr_offset Offset from the beginning of the M_PROTO message block where the destination DLSAP address begins. dl_priority Priority value within the supported range for the specified data link service data unit (DLSDU). DLPI does not support priority messages. Therefore, this value must be set to 0 (zero). State The message is valid in DL_IDLE or DL_UNBOUND state. If the stream is not in either of these states, ioc_error is set to EBUSY. New State The resulting state is unchanged. Response If the driver does not support fast path, EINVAL is returned. If the dl_unitdata_req_t structure in the b_cont of the ioctl is invalid (if b_cont is NULL), EINVAL is returned. DL_HP_SET_DRV_PARAM_IOCTL DL_HP_SET_DRV_PARAM_IOCTL is a DLPI defined transparent ioctl. You can use it to set the driver parameters. This ioctl provides an interface to set Speed, Duplex mode, autoneg/auto sense, and Maximum Transmission Unit (MTU). In addition, you can use it to reset MTU of an interface. Before using DL_HP_SET_DRV_PARAM_IOCTL, please note the following points: • DLPI does not interpret the request of this ioctl. The request must be used between the driver's user space application and the driver. • The driver user space application can request DLPI to serialize this request by setting the DL_HP_SERIALIZE bit in the dl_request element, if another DL_HP_SET_DRV_PARAM_IOCTL on the same interface is in progress. 175