Lines Matching refs:ec
1869 struct ethtool_coalesce *ec,
1878 ec->use_adaptive_rx_coalesce = nn->rx_coalesce_adapt_on;
1879 ec->use_adaptive_tx_coalesce = nn->tx_coalesce_adapt_on;
1881 ec->rx_coalesce_usecs = nn->rx_coalesce_usecs;
1882 ec->rx_max_coalesced_frames = nn->rx_coalesce_max_frames;
1883 ec->tx_coalesce_usecs = nn->tx_coalesce_usecs;
1884 ec->tx_max_coalesced_frames = nn->tx_coalesce_max_frames;
2128 struct ethtool_coalesce *ec,
2158 if (!ec->rx_coalesce_usecs && !ec->rx_max_coalesced_frames) {
2164 if (!ec->tx_coalesce_usecs && !ec->tx_max_coalesced_frames) {
2170 if (nfp_net_coalesce_para_check(ec->rx_coalesce_usecs * factor)) {
2175 if (nfp_net_coalesce_para_check(ec->rx_max_coalesced_frames)) {
2180 if (nfp_net_coalesce_para_check(ec->tx_coalesce_usecs * factor)) {
2185 if (nfp_net_coalesce_para_check(ec->tx_max_coalesced_frames)) {
2191 nn->rx_coalesce_adapt_on = !!ec->use_adaptive_rx_coalesce;
2192 nn->tx_coalesce_adapt_on = !!ec->use_adaptive_tx_coalesce;
2194 nn->rx_coalesce_usecs = ec->rx_coalesce_usecs;
2195 nn->rx_coalesce_max_frames = ec->rx_max_coalesced_frames;
2196 nn->tx_coalesce_usecs = ec->tx_coalesce_usecs;
2197 nn->tx_coalesce_max_frames = ec->tx_max_coalesced_frames;