Home
last modified time | relevance | path

Searched refs:kernel_coal (Results 1 – 25 of 89) sorted by relevance

1234

/linux-6.12.1/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_vnd.c220 struct kernel_ethtool_coalesce *kernel_coal, in rmnet_get_coalesce() argument
228 memset(kernel_coal, 0, sizeof(*kernel_coal)); in rmnet_get_coalesce()
229 kernel_coal->tx_aggr_max_bytes = port->egress_agg_params.bytes; in rmnet_get_coalesce()
230 kernel_coal->tx_aggr_max_frames = port->egress_agg_params.count; in rmnet_get_coalesce()
231 kernel_coal->tx_aggr_time_usecs = div_u64(port->egress_agg_params.time_nsec, in rmnet_get_coalesce()
239 struct kernel_ethtool_coalesce *kernel_coal, in rmnet_set_coalesce() argument
247 if (kernel_coal->tx_aggr_max_frames < 1 || kernel_coal->tx_aggr_max_frames > 64) in rmnet_set_coalesce()
250 if (kernel_coal->tx_aggr_max_bytes > 32768) in rmnet_set_coalesce()
253 rmnet_map_update_ul_agg_config(port, kernel_coal->tx_aggr_max_bytes, in rmnet_set_coalesce()
254 kernel_coal->tx_aggr_max_frames, in rmnet_set_coalesce()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dethtool.c120 struct kernel_ethtool_coalesce *kernel_coal, in mlx5i_set_coalesce() argument
125 return mlx5e_ethtool_set_coalesce(priv, coal, kernel_coal, extack); in mlx5i_set_coalesce()
130 struct kernel_ethtool_coalesce *kernel_coal, in mlx5i_get_coalesce() argument
135 return mlx5e_ethtool_get_coalesce(priv, coal, kernel_coal, extack); in mlx5i_get_coalesce()
/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/
Dwx_ethtool.h31 struct kernel_ethtool_coalesce *kernel_coal,
35 struct kernel_ethtool_coalesce *kernel_coal,
Dwx_ethtool.c279 struct kernel_ethtool_coalesce *kernel_coal, in wx_get_coalesce() argument
307 struct kernel_ethtool_coalesce *kernel_coal, in wx_set_coalesce() argument
/linux-6.12.1/drivers/net/wireless/ath/wil6210/
Dethtool.c17 struct kernel_ethtool_coalesce *kernel_coal, in wil_ethtoolops_get_coalesce() argument
54 struct kernel_ethtool_coalesce *kernel_coal, in wil_ethtoolops_set_coalesce() argument
/linux-6.12.1/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c76 struct kernel_ethtool_coalesce *kernel_coal, in ipoib_get_coalesce() argument
89 struct kernel_ethtool_coalesce *kernel_coal, in ipoib_set_coalesce() argument
/linux-6.12.1/drivers/net/ethernet/sfc/siena/
Dethtool.c101 struct kernel_ethtool_coalesce *kernel_coal, in efx_ethtool_get_coalesce() argument
121 struct kernel_ethtool_coalesce *kernel_coal, in efx_ethtool_set_coalesce() argument
/linux-6.12.1/drivers/net/ethernet/sfc/
Dethtool.c101 struct kernel_ethtool_coalesce *kernel_coal, in efx_ethtool_get_coalesce() argument
121 struct kernel_ethtool_coalesce *kernel_coal, in efx_ethtool_set_coalesce() argument
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c546 struct kernel_ethtool_coalesce *kernel_coal, in mlx5e_ethtool_get_coalesce() argument
560 kernel_coal->use_cqe_mode_rx = priv->channels.params.rx_moder_use_cqe_mode; in mlx5e_ethtool_get_coalesce()
566 kernel_coal->use_cqe_mode_tx = priv->channels.params.tx_moder_use_cqe_mode; in mlx5e_ethtool_get_coalesce()
573 struct kernel_ethtool_coalesce *kernel_coal, in mlx5e_get_coalesce() argument
578 return mlx5e_ethtool_get_coalesce(priv, coal, kernel_coal, extack); in mlx5e_get_coalesce()
688 struct kernel_ethtool_coalesce *kernel_coal, in mlx5e_ethtool_set_coalesce() argument
725 if ((kernel_coal->use_cqe_mode_rx || kernel_coal->use_cqe_mode_tx) && in mlx5e_ethtool_set_coalesce()
737 cq_period_mode = mlx5e_dim_cq_period_mode(kernel_coal->use_cqe_mode_rx); in mlx5e_ethtool_set_coalesce()
742 cq_period_mode = mlx5e_dim_cq_period_mode(kernel_coal->use_cqe_mode_tx); in mlx5e_ethtool_set_coalesce()
753 new_params.rx_moder_use_cqe_mode = kernel_coal->use_cqe_mode_rx; in mlx5e_ethtool_set_coalesce()
[all …]
Den_rep.c384 struct kernel_ethtool_coalesce *kernel_coal, in mlx5e_rep_get_coalesce() argument
389 return mlx5e_ethtool_get_coalesce(priv, coal, kernel_coal, extack); in mlx5e_rep_get_coalesce()
394 struct kernel_ethtool_coalesce *kernel_coal, in mlx5e_rep_set_coalesce() argument
399 return mlx5e_ethtool_set_coalesce(priv, coal, kernel_coal, extack); in mlx5e_rep_set_coalesce()
/linux-6.12.1/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-ethtool.c152 struct kernel_ethtool_coalesce *kernel_coal, in xlgmac_ethtool_get_coalesce() argument
167 struct kernel_ethtool_coalesce *kernel_coal, in xlgmac_ethtool_set_coalesce() argument
/linux-6.12.1/drivers/net/netdevsim/
Dethtool.c47 struct kernel_ethtool_coalesce *kernel_coal, in nsim_get_coalesce() argument
58 struct kernel_ethtool_coalesce *kernel_coal, in nsim_set_coalesce() argument
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c1364 struct kernel_ethtool_coalesce *kernel_coal, in hns3_get_coalesce() argument
1387 kernel_coal->use_cqe_mode_tx = (priv->tx_cqe_mode == in hns3_get_coalesce()
1389 kernel_coal->use_cqe_mode_rx = (priv->rx_cqe_mode == in hns3_get_coalesce()
1492 struct kernel_ethtool_coalesce *kernel_coal) in hns3_check_cqe_coalesce_param() argument
1497 if ((kernel_coal->use_cqe_mode_tx || kernel_coal->use_cqe_mode_rx) && in hns3_check_cqe_coalesce_param()
1509 struct kernel_ethtool_coalesce *kernel_coal) in hns3_check_coalesce_para() argument
1513 ret = hns3_check_cqe_coalesce_param(netdev, kernel_coal); in hns3_check_coalesce_para()
1575 struct kernel_ethtool_coalesce *kernel_coal, in hns3_set_coalesce() argument
1591 ret = hns3_check_coalesce_para(netdev, cmd, kernel_coal); in hns3_set_coalesce()
1610 tx_mode = kernel_coal->use_cqe_mode_tx ? in hns3_set_coalesce()
[all …]
/linux-6.12.1/drivers/net/ethernet/ti/icssg/
Dicssg_ethtool.c212 struct kernel_ethtool_coalesce *kernel_coal, in emac_get_coalesce() argument
244 struct kernel_ethtool_coalesce *kernel_coal, in emac_set_coalesce() argument
/linux-6.12.1/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_ethtool.c276 struct kernel_ethtool_coalesce *kernel_coal, in sxgbe_get_coalesce() argument
289 struct kernel_ethtool_coalesce *kernel_coal, in sxgbe_set_coalesce() argument
/linux-6.12.1/drivers/net/ethernet/intel/igbvf/
Dethtool.c322 struct kernel_ethtool_coalesce *kernel_coal, in igbvf_get_coalesce() argument
337 struct kernel_ethtool_coalesce *kernel_coal, in igbvf_set_coalesce() argument
/linux-6.12.1/drivers/net/ethernet/engleder/
Dtsnep_ethtool.c364 struct kernel_ethtool_coalesce *kernel_coal, in tsnep_ethtool_get_coalesce() argument
383 struct kernel_ethtool_coalesce *kernel_coal, in tsnep_ethtool_set_coalesce() argument
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c437 struct kernel_ethtool_coalesce *kernel_coal, in dpaa_get_coalesce() argument
456 struct kernel_ethtool_coalesce *kernel_coal, in dpaa_set_coalesce() argument
/linux-6.12.1/drivers/net/ethernet/ti/
Dcpsw_priv.h477 struct kernel_ethtool_coalesce *kernel_coal,
480 struct kernel_ethtool_coalesce *kernel_coal,
Dcpsw_ethtool.c156 struct kernel_ethtool_coalesce *kernel_coal, in cpsw_get_coalesce() argument
166 struct kernel_ethtool_coalesce *kernel_coal, in cpsw_set_coalesce() argument
/linux-6.12.1/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c373 struct kernel_ethtool_coalesce *kernel_coal, in enic_get_coalesce() argument
420 struct kernel_ethtool_coalesce *kernel_coal, in enic_set_coalesce() argument
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c435 struct kernel_ethtool_coalesce *kernel_coal, in xgbe_get_coalesce() argument
452 struct kernel_ethtool_coalesce *kernel_coal, in xgbe_set_coalesce() argument
/linux-6.12.1/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c556 struct kernel_ethtool_coalesce *kernel_coal, in aq_ethtool_get_coalesce() argument
582 struct kernel_ethtool_coalesce *kernel_coal, in aq_ethtool_set_coalesce() argument
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c857 struct kernel_ethtool_coalesce *kernel_coal, in dpaa2_eth_get_coalesce() argument
871 struct kernel_ethtool_coalesce *kernel_coal, in dpaa2_eth_set_coalesce() argument
/linux-6.12.1/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c739 struct kernel_ethtool_coalesce *kernel_coal, in netxen_set_intr_coalesce() argument
785 struct kernel_ethtool_coalesce *kernel_coal, in netxen_get_intr_coalesce() argument

1234