Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Drx_res.c13 unsigned int max_nch; member
288 res->channels = kvcalloc(res->max_nch, sizeof(*res->channels), GFP_KERNEL); in mlx5e_rx_res_channels_init()
294 for (ix = 0; ix < res->max_nch; ix++) { in mlx5e_rx_res_channels_init()
304 for (ix = 0; ix < res->max_nch; ix++) { in mlx5e_rx_res_channels_init()
327 ix = res->max_nch; in mlx5e_rx_res_channels_init()
378 for (ix = 0; ix < res->max_nch; ix++) { in mlx5e_rx_res_channels_destroy()
393 enum mlx5e_rx_res_features features, unsigned int max_nch, in mlx5e_rx_res_init() argument
401 res->max_nch = max_nch; in mlx5e_rx_res_init()
516 for (ix = nch; ix < res->max_nch; ix++) in mlx5e_rx_res_channels_activate()
540 for (ix = 0; ix < res->max_nch; ix++) in mlx5e_rx_res_channels_deactivate()
[all …]
Drx_res.h26 enum mlx5e_rx_res_features features, unsigned int max_nch,
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.c2330 int max_nch = priv->stats_nch; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() local
2332 return (NUM_RQ_STATS * max_nch) + in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
2333 (NUM_CH_STATS * max_nch) + in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
2334 (NUM_SQ_STATS * max_nch * priv->max_opened_tc) + in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
2335 (NUM_RQ_XDPSQ_STATS * max_nch) + in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
2336 (NUM_XDPSQ_STATS * max_nch) + in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
2337 (NUM_XSKRQ_STATS * max_nch * priv->xsk.ever_used) + in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
2338 (NUM_XSKSQ_STATS * max_nch * priv->xsk.ever_used); in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
2344 int max_nch = priv->stats_nch; in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() local
2347 for (i = 0; i < max_nch; i++) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
[all …]
Den_main.c4928 priv->max_nch); in mlx5e_build_nic_params()
5274 priv->max_nch, priv->drop_rq.rqn, in mlx5e_init_nic_rx()
5487 unsigned int max_nch, tmp; in mlx5e_calc_max_nch() local
5490 max_nch = mlx5e_profile_max_num_channels(mdev, profile); in mlx5e_calc_max_nch()
5493 max_nch = min_t(unsigned int, max_nch, netdev->num_rx_queues); in mlx5e_calc_max_nch()
5502 max_nch = min_t(unsigned int, max_nch, tmp); in mlx5e_calc_max_nch()
5504 return max_nch; in mlx5e_calc_max_nch()
5541 priv->max_nch = nch; in mlx5e_priv_init()
5693 int max_nch; in mlx5e_attach_netdev() local
5709 max_nch = mlx5e_calc_max_nch(priv->mdev, priv->netdev, profile); in mlx5e_attach_netdev()
[all …]
Den.h934 u16 max_nch; member
Den_rep.c919 priv->max_nch, priv->drop_rq.rqn, in mlx5e_init_rep_rx()
Den_ethtool.c414 ch->max_combined = priv->max_nch; in mlx5e_ethtool_get_channels()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c436 priv->max_nch, priv->drop_rq.rqn, in mlx5i_init_rx()