Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/socionext/
H A Dnetsec.c293 struct ethtool_coalesce et_coalesce; member
535 struct ethtool_coalesce *et_coalesce) in netsec_et_get_coalesce() argument
539 *et_coalesce = priv->et_coalesce; in netsec_et_get_coalesce()
545 struct ethtool_coalesce *et_coalesce) in netsec_et_set_coalesce() argument
549 priv->et_coalesce = *et_coalesce; in netsec_et_set_coalesce()
551 if (priv->et_coalesce.tx_coalesce_usecs < 50) in netsec_et_set_coalesce()
552 priv->et_coalesce.tx_coalesce_usecs = 50; in netsec_et_set_coalesce()
553 if (priv->et_coalesce.tx_max_coalesced_frames < 1) in netsec_et_set_coalesce()
554 priv->et_coalesce.tx_max_coalesced_frames = 1; in netsec_et_set_coalesce()
557 priv->et_coalesce.tx_max_coalesced_frames); in netsec_et_set_coalesce()
[all …]