Home
last modified time | relevance | path

Searched refs:ecoalesce (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.c1534 struct ethtool_coalesce *ecoalesce, in axienet_ethtools_get_coalesce() argument
1540 ecoalesce->rx_max_coalesced_frames = lp->coalesce_count_rx; in axienet_ethtools_get_coalesce()
1541 ecoalesce->rx_coalesce_usecs = lp->coalesce_usec_rx; in axienet_ethtools_get_coalesce()
1543 ecoalesce->tx_coalesce_usecs = lp->coalesce_usec_tx; in axienet_ethtools_get_coalesce()
1562 struct ethtool_coalesce *ecoalesce, in axienet_ethtools_set_coalesce() argument
1574 if (ecoalesce->rx_max_coalesced_frames) in axienet_ethtools_set_coalesce()
1576 if (ecoalesce->rx_coalesce_usecs) in axienet_ethtools_set_coalesce()
1577 lp->coalesce_usec_rx = ecoalesce->rx_coalesce_usecs; in axienet_ethtools_set_coalesce()
1578 if (ecoalesce->tx_max_coalesced_frames) in axienet_ethtools_set_coalesce()
1580 if (ecoalesce->tx_coalesce_usecs) in axienet_ethtools_set_coalesce()
[all …]
/openbmc/linux/drivers/net/ethernet/ni/
H A Dnixge.c1000 struct ethtool_coalesce *ecoalesce, in nixge_ethtools_get_coalesce() argument
1008 ecoalesce->rx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce()
1011 ecoalesce->tx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce()
1018 struct ethtool_coalesce *ecoalesce, in nixge_ethtools_set_coalesce() argument
1030 if (ecoalesce->rx_max_coalesced_frames) in nixge_ethtools_set_coalesce()
1031 priv->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
1032 if (ecoalesce->tx_max_coalesced_frames) in nixge_ethtools_set_coalesce()
1033 priv->coalesce_count_tx = ecoalesce->tx_max_coalesced_frames; in nixge_ethtools_set_coalesce()