Lines Matching refs:coal

7215 bnx2_get_coalesce(struct net_device *dev, struct ethtool_coalesce *coal)  in bnx2_get_coalesce()  argument
7219 memset(coal, 0, sizeof(struct ethtool_coalesce)); in bnx2_get_coalesce()
7221 coal->rx_coalesce_usecs = bp->rx_ticks; in bnx2_get_coalesce()
7222 coal->rx_max_coalesced_frames = bp->rx_quick_cons_trip; in bnx2_get_coalesce()
7223 coal->rx_coalesce_usecs_irq = bp->rx_ticks_int; in bnx2_get_coalesce()
7224 coal->rx_max_coalesced_frames_irq = bp->rx_quick_cons_trip_int; in bnx2_get_coalesce()
7226 coal->tx_coalesce_usecs = bp->tx_ticks; in bnx2_get_coalesce()
7227 coal->tx_max_coalesced_frames = bp->tx_quick_cons_trip; in bnx2_get_coalesce()
7228 coal->tx_coalesce_usecs_irq = bp->tx_ticks_int; in bnx2_get_coalesce()
7229 coal->tx_max_coalesced_frames_irq = bp->tx_quick_cons_trip_int; in bnx2_get_coalesce()
7231 coal->stats_block_coalesce_usecs = bp->stats_ticks; in bnx2_get_coalesce()
7237 bnx2_set_coalesce(struct net_device *dev, struct ethtool_coalesce *coal) in bnx2_set_coalesce() argument
7241 bp->rx_ticks = (u16) coal->rx_coalesce_usecs; in bnx2_set_coalesce()
7244 bp->rx_quick_cons_trip = (u16) coal->rx_max_coalesced_frames; in bnx2_set_coalesce()
7247 bp->rx_ticks_int = (u16) coal->rx_coalesce_usecs_irq; in bnx2_set_coalesce()
7250 bp->rx_quick_cons_trip_int = (u16) coal->rx_max_coalesced_frames_irq; in bnx2_set_coalesce()
7254 bp->tx_ticks = (u16) coal->tx_coalesce_usecs; in bnx2_set_coalesce()
7257 bp->tx_quick_cons_trip = (u16) coal->tx_max_coalesced_frames; in bnx2_set_coalesce()
7260 bp->tx_ticks_int = (u16) coal->tx_coalesce_usecs_irq; in bnx2_set_coalesce()
7263 bp->tx_quick_cons_trip_int = (u16) coal->tx_max_coalesced_frames_irq; in bnx2_set_coalesce()
7267 bp->stats_ticks = coal->stats_block_coalesce_usecs; in bnx2_set_coalesce()