Lines Matching refs:coal

334 			      struct ethtool_coalesce *coal)  in mlx4_en_get_coalesce()  argument
338 coal->tx_coalesce_usecs = 0; in mlx4_en_get_coalesce()
339 coal->tx_max_coalesced_frames = 0; in mlx4_en_get_coalesce()
340 coal->rx_coalesce_usecs = priv->rx_usecs; in mlx4_en_get_coalesce()
341 coal->rx_max_coalesced_frames = priv->rx_frames; in mlx4_en_get_coalesce()
343 coal->pkt_rate_low = priv->pkt_rate_low; in mlx4_en_get_coalesce()
344 coal->rx_coalesce_usecs_low = priv->rx_usecs_low; in mlx4_en_get_coalesce()
345 coal->pkt_rate_high = priv->pkt_rate_high; in mlx4_en_get_coalesce()
346 coal->rx_coalesce_usecs_high = priv->rx_usecs_high; in mlx4_en_get_coalesce()
347 coal->rate_sample_interval = priv->sample_interval; in mlx4_en_get_coalesce()
348 coal->use_adaptive_rx_coalesce = priv->adaptive_rx_coal; in mlx4_en_get_coalesce()
353 struct ethtool_coalesce *coal) in mlx4_en_set_coalesce() argument
358 priv->rx_frames = (coal->rx_max_coalesced_frames == in mlx4_en_set_coalesce()
361 coal->rx_max_coalesced_frames; in mlx4_en_set_coalesce()
362 priv->rx_usecs = (coal->rx_coalesce_usecs == in mlx4_en_set_coalesce()
365 coal->rx_coalesce_usecs; in mlx4_en_set_coalesce()
368 priv->pkt_rate_low = coal->pkt_rate_low; in mlx4_en_set_coalesce()
369 priv->rx_usecs_low = coal->rx_coalesce_usecs_low; in mlx4_en_set_coalesce()
370 priv->pkt_rate_high = coal->pkt_rate_high; in mlx4_en_set_coalesce()
371 priv->rx_usecs_high = coal->rx_coalesce_usecs_high; in mlx4_en_set_coalesce()
372 priv->sample_interval = coal->rate_sample_interval; in mlx4_en_set_coalesce()
373 priv->adaptive_rx_coal = coal->use_adaptive_rx_coalesce; in mlx4_en_set_coalesce()