Home
last modified time | relevance | path

Searched refs:coal (Results 1 – 17 of 17) sorted by relevance

/linux-2.6.39/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c72 struct ethtool_coalesce *coal) in ipoib_get_coalesce() argument
76 coal->rx_coalesce_usecs = priv->ethtool.coalesce_usecs; in ipoib_get_coalesce()
77 coal->rx_max_coalesced_frames = priv->ethtool.max_coalesced_frames; in ipoib_get_coalesce()
83 struct ethtool_coalesce *coal) in ipoib_set_coalesce() argument
92 if (coal->rx_coalesce_usecs > 0xffff || in ipoib_set_coalesce()
93 coal->rx_max_coalesced_frames > 0xffff) in ipoib_set_coalesce()
96 ret = ib_modify_cq(priv->recv_cq, coal->rx_max_coalesced_frames, in ipoib_set_coalesce()
97 coal->rx_coalesce_usecs); in ipoib_set_coalesce()
103 priv->ethtool.coalesce_usecs = coal->rx_coalesce_usecs; in ipoib_set_coalesce()
104 priv->ethtool.max_coalesced_frames = coal->rx_max_coalesced_frames; in ipoib_set_coalesce()
/linux-2.6.39/drivers/net/mlx4/
Den_ethtool.c334 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()
[all …]
/linux-2.6.39/drivers/net/netxen/
Dnetxen_nic_ethtool.c827 adapter->coal.flags = NETXEN_NIC_INTR_DEFAULT; in netxen_set_intr_coalesce()
828 adapter->coal.normal.data.rx_time_us = in netxen_set_intr_coalesce()
830 adapter->coal.normal.data.rx_packets = in netxen_set_intr_coalesce()
833 adapter->coal.flags = 0; in netxen_set_intr_coalesce()
834 adapter->coal.normal.data.rx_time_us = in netxen_set_intr_coalesce()
836 adapter->coal.normal.data.rx_packets = in netxen_set_intr_coalesce()
839 adapter->coal.normal.data.tx_time_us = ethcoal->tx_coalesce_usecs; in netxen_set_intr_coalesce()
840 adapter->coal.normal.data.tx_packets = in netxen_set_intr_coalesce()
859 ethcoal->rx_coalesce_usecs = adapter->coal.normal.data.rx_time_us; in netxen_get_intr_coalesce()
860 ethcoal->tx_coalesce_usecs = adapter->coal.normal.data.tx_time_us; in netxen_get_intr_coalesce()
[all …]
Dnetxen_nic_main.c951 adapter->coal.flags = NETXEN_NIC_INTR_DEFAULT; in netxen_nic_init_coalesce_defaults()
952 adapter->coal.normal.data.rx_time_us = in netxen_nic_init_coalesce_defaults()
954 adapter->coal.normal.data.rx_packets = in netxen_nic_init_coalesce_defaults()
956 adapter->coal.normal.data.tx_time_us = in netxen_nic_init_coalesce_defaults()
958 adapter->coal.normal.data.tx_packets = in netxen_nic_init_coalesce_defaults()
Dnetxen_nic_hw.c793 memcpy(&word[0], &adapter->coal, sizeof(adapter->coal)); in netxen_config_intr_coalesce()
Dnetxen_nic.h1254 nx_nic_intr_coalesce_t coal; member
/linux-2.6.39/drivers/net/qlcnic/
Dqlcnic_ethtool.c962 adapter->coal.flags = QLCNIC_INTR_DEFAULT; in qlcnic_set_intr_coalesce()
963 adapter->coal.normal.data.rx_time_us = in qlcnic_set_intr_coalesce()
965 adapter->coal.normal.data.rx_packets = in qlcnic_set_intr_coalesce()
968 adapter->coal.flags = 0; in qlcnic_set_intr_coalesce()
969 adapter->coal.normal.data.rx_time_us = in qlcnic_set_intr_coalesce()
971 adapter->coal.normal.data.rx_packets = in qlcnic_set_intr_coalesce()
974 adapter->coal.normal.data.tx_time_us = ethcoal->tx_coalesce_usecs; in qlcnic_set_intr_coalesce()
975 adapter->coal.normal.data.tx_packets = in qlcnic_set_intr_coalesce()
991 ethcoal->rx_coalesce_usecs = adapter->coal.normal.data.rx_time_us; in qlcnic_get_intr_coalesce()
992 ethcoal->tx_coalesce_usecs = adapter->coal.normal.data.tx_time_us; in qlcnic_get_intr_coalesce()
[all …]
Dqlcnic_hw.c553 memcpy(&word[0], &adapter->coal, sizeof(adapter->coal)); in qlcnic_config_intr_coalesce()
Dqlcnic_main.c1089 adapter->coal.flags = QLCNIC_INTR_DEFAULT; in qlcnic_init_coalesce_defaults()
1090 adapter->coal.normal.data.rx_time_us = in qlcnic_init_coalesce_defaults()
1092 adapter->coal.normal.data.rx_packets = in qlcnic_init_coalesce_defaults()
1094 adapter->coal.normal.data.tx_time_us = in qlcnic_init_coalesce_defaults()
1096 adapter->coal.normal.data.tx_packets = in qlcnic_init_coalesce_defaults()
Dqlcnic.h1056 struct qlcnic_nic_intr_coalesce coal; member
/linux-2.6.39/drivers/net/
Ddavinci_emac.c528 struct ethtool_coalesce *coal) in emac_get_coalesce() argument
532 coal->rx_coalesce_usecs = priv->coal_intvl; in emac_get_coalesce()
546 struct ethtool_coalesce *coal) in emac_set_coalesce() argument
552 if (!coal->rx_coalesce_usecs) in emac_set_coalesce()
555 coal_intvl = coal->rx_coalesce_usecs; in emac_set_coalesce()
1567 struct ethtool_coalesce coal; in emac_dev_open() local
1569 coal.rx_coalesce_usecs = (priv->coal_intvl << 4); in emac_dev_open()
1570 emac_set_coalesce(ndev, &coal); in emac_dev_open()
Dtehuti.h140 #define INT_REG_VAL(coal, coal_rc, rxf_th, pck_th) \ argument
141 ((coal)|((coal_rc)<<15)|((rxf_th)<<16)|((pck_th)<<20))
Dbnx2.c7008 bnx2_get_coalesce(struct net_device *dev, struct ethtool_coalesce *coal) in bnx2_get_coalesce() argument
7012 memset(coal, 0, sizeof(struct ethtool_coalesce)); in bnx2_get_coalesce()
7014 coal->rx_coalesce_usecs = bp->rx_ticks; in bnx2_get_coalesce()
7015 coal->rx_max_coalesced_frames = bp->rx_quick_cons_trip; in bnx2_get_coalesce()
7016 coal->rx_coalesce_usecs_irq = bp->rx_ticks_int; in bnx2_get_coalesce()
7017 coal->rx_max_coalesced_frames_irq = bp->rx_quick_cons_trip_int; in bnx2_get_coalesce()
7019 coal->tx_coalesce_usecs = bp->tx_ticks; in bnx2_get_coalesce()
7020 coal->tx_max_coalesced_frames = bp->tx_quick_cons_trip; in bnx2_get_coalesce()
7021 coal->tx_coalesce_usecs_irq = bp->tx_ticks_int; in bnx2_get_coalesce()
7022 coal->tx_max_coalesced_frames_irq = bp->tx_quick_cons_trip_int; in bnx2_get_coalesce()
[all …]
Dtg3.c4437 tp->coal.stats_block_coalesce_usecs); in tg3_setup_phy()
8270 __tg3_set_coalesce(tp, &tp->coal); in tg3_reset_hw()
11290 memcpy(ec, &tp->coal, sizeof(*ec)); in tg3_get_coalesce()
11330 tp->coal.rx_coalesce_usecs = ec->rx_coalesce_usecs; in tg3_set_coalesce()
11331 tp->coal.tx_coalesce_usecs = ec->tx_coalesce_usecs; in tg3_set_coalesce()
11332 tp->coal.rx_max_coalesced_frames = ec->rx_max_coalesced_frames; in tg3_set_coalesce()
11333 tp->coal.tx_max_coalesced_frames = ec->tx_max_coalesced_frames; in tg3_set_coalesce()
11334 tp->coal.rx_coalesce_usecs_irq = ec->rx_coalesce_usecs_irq; in tg3_set_coalesce()
11335 tp->coal.tx_coalesce_usecs_irq = ec->tx_coalesce_usecs_irq; in tg3_set_coalesce()
11336 tp->coal.rx_max_coalesced_frames_irq = ec->rx_max_coalesced_frames_irq; in tg3_set_coalesce()
[all …]
Dtg3.h3087 struct ethtool_coalesce coal; member
/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_ethtool.c1155 struct ethtool_coalesce *coal) in bnx2x_get_coalesce() argument
1159 memset(coal, 0, sizeof(struct ethtool_coalesce)); in bnx2x_get_coalesce()
1161 coal->rx_coalesce_usecs = bp->rx_ticks; in bnx2x_get_coalesce()
1162 coal->tx_coalesce_usecs = bp->tx_ticks; in bnx2x_get_coalesce()
1168 struct ethtool_coalesce *coal) in bnx2x_set_coalesce() argument
1172 bp->rx_ticks = (u16)coal->rx_coalesce_usecs; in bnx2x_set_coalesce()
1176 bp->tx_ticks = (u16)coal->tx_coalesce_usecs; in bnx2x_set_coalesce()
/linux-2.6.39/drivers/net/myri10ge/
Dmyri10ge.c1700 myri10ge_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal) in myri10ge_get_coalesce() argument
1704 coal->rx_coalesce_usecs = mgp->intr_coal_delay; in myri10ge_get_coalesce()
1709 myri10ge_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal) in myri10ge_set_coalesce() argument
1713 mgp->intr_coal_delay = coal->rx_coalesce_usecs; in myri10ge_set_coalesce()