Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Drx_res.c11 unsigned int max_nch; member
89 res->max_nch); in mlx5e_rx_res_rss_init()
346 for (ix = 0; ix < res->max_nch; ix++) { in mlx5e_rx_res_channels_init()
357 for (ix = 0; ix < res->max_nch; ix++) { in mlx5e_rx_res_channels_init()
380 ix = res->max_nch; in mlx5e_rx_res_channels_init()
432 for (ix = 0; ix < res->max_nch; ix++) { in mlx5e_rx_res_channels_destroy()
462 res->max_nch = max_nch; in mlx5e_rx_res_create()
501 return res->max_nch; in mlx5e_rx_res_get_max_nch()
582 for (ix = nch; ix < res->max_nch; ix++) in mlx5e_rx_res_channels_activate()
606 for (ix = 0; ix < res->max_nch; ix++) in mlx5e_rx_res_channels_deactivate()
[all …]
H A Drss.h28 unsigned int max_nch);
H A Drx_res.h29 unsigned int max_nch, u32 drop_rqn,
H A Drss.c364 unsigned int max_nch) in mlx5e_rss_init() argument
375 mlx5e_rqt_size(mdev, max_nch)); in mlx5e_rss_init()
H A Dreporter_rx.c344 unsigned int max_nch = mlx5e_rx_res_get_max_nch(rx_res); in mlx5e_rx_reporter_diagnose_rx_res_dir_tirns() local
349 for (i = 0; i < max_nch; i++) { in mlx5e_rx_reporter_diagnose_rx_res_dir_tirns()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_stats.c2472 int max_nch = priv->stats_nch; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() local
2486 int max_nch = priv->stats_nch; in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() local
2489 for (i = 0; i < max_nch; i++) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
2493 for (i = 0; i < max_nch; i++) { in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
2503 for (i = 0; i < max_nch; i++) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
2506 i + tc * max_nch); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
2508 for (i = 0; i < max_nch; i++) { in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
2519 int max_nch = priv->stats_nch; in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() local
2522 for (i = 0; i < max_nch; i++) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
2529 for (i = 0; i < max_nch; i++) { in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
[all …]
H A Den_main.c5204 priv->max_nch); in mlx5e_build_nic_params()
5926 unsigned int max_nch, tmp; in mlx5e_calc_max_nch() local
5932 max_nch = min_t(unsigned int, max_nch, netdev->num_rx_queues); in mlx5e_calc_max_nch()
5941 max_nch = min_t(unsigned int, max_nch, tmp); in mlx5e_calc_max_nch()
5943 return max_nch; in mlx5e_calc_max_nch()
5979 priv->max_nch = nch; in mlx5e_priv_init()
6141 int max_nch; in mlx5e_attach_netdev() local
6164 priv->channels.params.num_channels = max_nch; in mlx5e_attach_netdev()
6170 if (max_nch != priv->max_nch) { in mlx5e_attach_netdev()
6173 priv->max_nch, max_nch); in mlx5e_attach_netdev()
[all …]
H A Den.h908 u16 max_nch; member
H A Den_rep.c1084 priv->rx_res = mlx5e_rx_res_create(priv->mdev, 0, priv->max_nch, priv->drop_rq.rqn, in mlx5e_init_rep_rx()
H A Den_ethtool.c451 ch->max_combined = priv->max_nch; in mlx5e_ethtool_get_channels()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib.c427 priv->rx_res = mlx5e_rx_res_create(priv->mdev, 0, priv->max_nch, priv->drop_rq.rqn, in mlx5i_init_rx()