Lines Matching refs:coal

7099 bnx2_get_coalesce(struct net_device *dev, struct ethtool_coalesce *coal)  in bnx2_get_coalesce()  argument
7103 memset(coal, 0, sizeof(struct ethtool_coalesce)); in bnx2_get_coalesce()
7105 coal->rx_coalesce_usecs = bp->rx_ticks; in bnx2_get_coalesce()
7106 coal->rx_max_coalesced_frames = bp->rx_quick_cons_trip; in bnx2_get_coalesce()
7107 coal->rx_coalesce_usecs_irq = bp->rx_ticks_int; in bnx2_get_coalesce()
7108 coal->rx_max_coalesced_frames_irq = bp->rx_quick_cons_trip_int; in bnx2_get_coalesce()
7110 coal->tx_coalesce_usecs = bp->tx_ticks; in bnx2_get_coalesce()
7111 coal->tx_max_coalesced_frames = bp->tx_quick_cons_trip; in bnx2_get_coalesce()
7112 coal->tx_coalesce_usecs_irq = bp->tx_ticks_int; in bnx2_get_coalesce()
7113 coal->tx_max_coalesced_frames_irq = bp->tx_quick_cons_trip_int; in bnx2_get_coalesce()
7115 coal->stats_block_coalesce_usecs = bp->stats_ticks; in bnx2_get_coalesce()
7121 bnx2_set_coalesce(struct net_device *dev, struct ethtool_coalesce *coal) in bnx2_set_coalesce() argument
7125 bp->rx_ticks = (u16) coal->rx_coalesce_usecs; in bnx2_set_coalesce()
7128 bp->rx_quick_cons_trip = (u16) coal->rx_max_coalesced_frames; in bnx2_set_coalesce()
7131 bp->rx_ticks_int = (u16) coal->rx_coalesce_usecs_irq; in bnx2_set_coalesce()
7134 bp->rx_quick_cons_trip_int = (u16) coal->rx_max_coalesced_frames_irq; in bnx2_set_coalesce()
7138 bp->tx_ticks = (u16) coal->tx_coalesce_usecs; in bnx2_set_coalesce()
7141 bp->tx_quick_cons_trip = (u16) coal->tx_max_coalesced_frames; in bnx2_set_coalesce()
7144 bp->tx_ticks_int = (u16) coal->tx_coalesce_usecs_irq; in bnx2_set_coalesce()
7147 bp->tx_quick_cons_trip_int = (u16) coal->tx_max_coalesced_frames_irq; in bnx2_set_coalesce()
7151 bp->stats_ticks = coal->stats_block_coalesce_usecs; in bnx2_set_coalesce()