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.c1520 struct ethtool_coalesce *ecoalesce, in axienet_ethtools_get_coalesce() argument
1526 ecoalesce->rx_max_coalesced_frames = lp->coalesce_count_rx; in axienet_ethtools_get_coalesce()
1527 ecoalesce->rx_coalesce_usecs = lp->coalesce_usec_rx; in axienet_ethtools_get_coalesce()
1529 ecoalesce->tx_coalesce_usecs = lp->coalesce_usec_tx; in axienet_ethtools_get_coalesce()
1548 struct ethtool_coalesce *ecoalesce, in axienet_ethtools_set_coalesce() argument
1560 if (ecoalesce->rx_max_coalesced_frames) in axienet_ethtools_set_coalesce()
1562 if (ecoalesce->rx_coalesce_usecs) in axienet_ethtools_set_coalesce()
1563 lp->coalesce_usec_rx = ecoalesce->rx_coalesce_usecs; in axienet_ethtools_set_coalesce()
1564 if (ecoalesce->tx_max_coalesced_frames) in axienet_ethtools_set_coalesce()
1566 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()