/linux-2.6.39/drivers/infiniband/ulp/ipoib/ |
D | ipoib_ethtool.c | 72 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/ |
D | en_ethtool.c | 334 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/ |
D | netxen_nic_ethtool.c | 827 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 …]
|
D | netxen_nic_main.c | 951 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()
|
D | netxen_nic_hw.c | 793 memcpy(&word[0], &adapter->coal, sizeof(adapter->coal)); in netxen_config_intr_coalesce()
|
D | netxen_nic.h | 1254 nx_nic_intr_coalesce_t coal; member
|
/linux-2.6.39/drivers/net/qlcnic/ |
D | qlcnic_ethtool.c | 962 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 …]
|
D | qlcnic_hw.c | 553 memcpy(&word[0], &adapter->coal, sizeof(adapter->coal)); in qlcnic_config_intr_coalesce()
|
D | qlcnic_main.c | 1089 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()
|
D | qlcnic.h | 1056 struct qlcnic_nic_intr_coalesce coal; member
|
/linux-2.6.39/drivers/net/ |
D | davinci_emac.c | 528 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()
|
D | tehuti.h | 140 #define INT_REG_VAL(coal, coal_rc, rxf_th, pck_th) \ argument 141 ((coal)|((coal_rc)<<15)|((rxf_th)<<16)|((pck_th)<<20))
|
D | bnx2.c | 7008 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 …]
|
D | tg3.c | 4437 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 …]
|
D | tg3.h | 3087 struct ethtool_coalesce coal; member
|
/linux-2.6.39/drivers/net/bnx2x/ |
D | bnx2x_ethtool.c | 1155 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/ |
D | myri10ge.c | 1700 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()
|