Lines Matching refs:kernel_coal
220 struct kernel_ethtool_coalesce *kernel_coal, in rmnet_get_coalesce() argument
228 memset(kernel_coal, 0, sizeof(*kernel_coal)); in rmnet_get_coalesce()
229 kernel_coal->tx_aggr_max_bytes = port->egress_agg_params.bytes; in rmnet_get_coalesce()
230 kernel_coal->tx_aggr_max_frames = port->egress_agg_params.count; in rmnet_get_coalesce()
231 kernel_coal->tx_aggr_time_usecs = div_u64(port->egress_agg_params.time_nsec, in rmnet_get_coalesce()
239 struct kernel_ethtool_coalesce *kernel_coal, in rmnet_set_coalesce() argument
247 if (kernel_coal->tx_aggr_max_frames < 1 || kernel_coal->tx_aggr_max_frames > 64) in rmnet_set_coalesce()
250 if (kernel_coal->tx_aggr_max_bytes > 32768) in rmnet_set_coalesce()
253 rmnet_map_update_ul_agg_config(port, kernel_coal->tx_aggr_max_bytes, in rmnet_set_coalesce()
254 kernel_coal->tx_aggr_max_frames, in rmnet_set_coalesce()
255 kernel_coal->tx_aggr_time_usecs); in rmnet_set_coalesce()