Home
last modified time | relevance | path

Searched refs:ethcoal (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c738 struct ethtool_coalesce *ethcoal, in netxen_set_intr_coalesce() argument
754 if (ethcoal->rx_coalesce_usecs > 0xffff || in netxen_set_intr_coalesce()
755 ethcoal->rx_max_coalesced_frames > 0xffff || in netxen_set_intr_coalesce()
756 ethcoal->tx_coalesce_usecs > 0xffff || in netxen_set_intr_coalesce()
757 ethcoal->tx_max_coalesced_frames > 0xffff) in netxen_set_intr_coalesce()
760 if (!ethcoal->rx_coalesce_usecs || in netxen_set_intr_coalesce()
761 !ethcoal->rx_max_coalesced_frames) { in netxen_set_intr_coalesce()
770 ethcoal->rx_coalesce_usecs; in netxen_set_intr_coalesce()
772 ethcoal->rx_max_coalesced_frames; in netxen_set_intr_coalesce()
774 adapter->coal.normal.data.tx_time_us = ethcoal->tx_coalesce_usecs; in netxen_set_intr_coalesce()
[all …]
/linux-6.12.1/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c1534 struct ethtool_coalesce *ethcoal, in qlcnic_set_intr_coalesce() argument
1548 if (ethcoal->rx_coalesce_usecs > 0xffff || in qlcnic_set_intr_coalesce()
1549 ethcoal->rx_max_coalesced_frames > 0xffff || in qlcnic_set_intr_coalesce()
1550 ethcoal->tx_coalesce_usecs > 0xffff || in qlcnic_set_intr_coalesce()
1551 ethcoal->tx_max_coalesced_frames > 0xffff) in qlcnic_set_intr_coalesce()
1554 err = qlcnic_config_intr_coalesce(adapter, ethcoal); in qlcnic_set_intr_coalesce()
1560 struct ethtool_coalesce *ethcoal, in qlcnic_get_intr_coalesce() argument
1569 ethcoal->rx_coalesce_usecs = adapter->ahw->coal.rx_time_us; in qlcnic_get_intr_coalesce()
1570 ethcoal->rx_max_coalesced_frames = adapter->ahw->coal.rx_packets; in qlcnic_get_intr_coalesce()
1571 ethcoal->tx_coalesce_usecs = adapter->ahw->coal.tx_time_us; in qlcnic_get_intr_coalesce()
[all …]
Dqlcnic_hw.c796 struct ethtool_coalesce *ethcoal) in qlcnic_82xx_config_intr_coalesce() argument
802 coal->rx_time_us = ethcoal->rx_coalesce_usecs; in qlcnic_82xx_config_intr_coalesce()
803 coal->rx_packets = ethcoal->rx_max_coalesced_frames; in qlcnic_82xx_config_intr_coalesce()
Dqlcnic_83xx_hw.c2267 struct ethtool_coalesce *ethcoal) in qlcnic_83xx_config_intr_coal() argument
2277 tx_coalesce_usecs = ethcoal->tx_coalesce_usecs; in qlcnic_83xx_config_intr_coal()
2278 tx_max_frames = ethcoal->tx_max_coalesced_frames; in qlcnic_83xx_config_intr_coal()
2279 rx_coalesce_usecs = ethcoal->rx_coalesce_usecs; in qlcnic_83xx_config_intr_coal()
2280 rx_max_frames = ethcoal->rx_max_coalesced_frames; in qlcnic_83xx_config_intr_coal()
Dqlcnic.h2024 struct ethtool_coalesce *ethcoal) in qlcnic_config_intr_coalesce() argument
2026 return adapter->ahw->hw_ops->config_intr_coal(adapter, ethcoal); in qlcnic_config_intr_coalesce()