Adding support to show the interrupt coalesce timer through ethtool. Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]>
--- diff --git a/drivers/infiniband/hw/nes/nes_nic.c b/drivers/infiniband/hw/nes/nes_nic.c index c29ab12..5c9ab37 100644 --- a/drivers/infiniband/hw/nes/nes_nic.c +++ b/drivers/infiniband/hw/nes/nes_nic.c @@ -1330,6 +1330,9 @@ static int nes_netdev_get_coalesce(struct net_device *netdev, temp_et_coalesce.rx_max_coalesced_frames_high = shared_timer->threshold_high; temp_et_coalesce.rx_coalesce_usecs_low = shared_timer->timer_in_use_min; temp_et_coalesce.rx_coalesce_usecs_high = shared_timer->timer_in_use_max; + if (nesadapter->et_use_adaptive_rx_coalesce) { + temp_et_coalesce.rx_coalesce_usecs_irq = shared_timer->timer_in_use; + } spin_unlock_irqrestore(&nesadapter->periodic_timer_lock, flags); memcpy(et_coalesce, &temp_et_coalesce, sizeof(*et_coalesce)); return 0; _______________________________________________ ewg mailing list ewg@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg