Lines Matching refs:coal
7252 bnx2_get_coalesce(struct net_device *dev, struct ethtool_coalesce *coal) in bnx2_get_coalesce() argument
7256 memset(coal, 0, sizeof(struct ethtool_coalesce)); in bnx2_get_coalesce()
7258 coal->rx_coalesce_usecs = bp->rx_ticks; in bnx2_get_coalesce()
7259 coal->rx_max_coalesced_frames = bp->rx_quick_cons_trip; in bnx2_get_coalesce()
7260 coal->rx_coalesce_usecs_irq = bp->rx_ticks_int; in bnx2_get_coalesce()
7261 coal->rx_max_coalesced_frames_irq = bp->rx_quick_cons_trip_int; in bnx2_get_coalesce()
7263 coal->tx_coalesce_usecs = bp->tx_ticks; in bnx2_get_coalesce()
7264 coal->tx_max_coalesced_frames = bp->tx_quick_cons_trip; in bnx2_get_coalesce()
7265 coal->tx_coalesce_usecs_irq = bp->tx_ticks_int; in bnx2_get_coalesce()
7266 coal->tx_max_coalesced_frames_irq = bp->tx_quick_cons_trip_int; in bnx2_get_coalesce()
7268 coal->stats_block_coalesce_usecs = bp->stats_ticks; in bnx2_get_coalesce()
7274 bnx2_set_coalesce(struct net_device *dev, struct ethtool_coalesce *coal) in bnx2_set_coalesce() argument
7278 bp->rx_ticks = (u16) coal->rx_coalesce_usecs; in bnx2_set_coalesce()
7281 bp->rx_quick_cons_trip = (u16) coal->rx_max_coalesced_frames; in bnx2_set_coalesce()
7284 bp->rx_ticks_int = (u16) coal->rx_coalesce_usecs_irq; in bnx2_set_coalesce()
7287 bp->rx_quick_cons_trip_int = (u16) coal->rx_max_coalesced_frames_irq; in bnx2_set_coalesce()
7291 bp->tx_ticks = (u16) coal->tx_coalesce_usecs; in bnx2_set_coalesce()
7294 bp->tx_quick_cons_trip = (u16) coal->tx_max_coalesced_frames; in bnx2_set_coalesce()
7297 bp->tx_ticks_int = (u16) coal->tx_coalesce_usecs_irq; in bnx2_set_coalesce()
7300 bp->tx_quick_cons_trip_int = (u16) coal->tx_max_coalesced_frames_irq; in bnx2_set_coalesce()
7304 bp->stats_ticks = coal->stats_block_coalesce_usecs; in bnx2_set_coalesce()