Searched refs:max_nch (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ ! |
D | rx_res.c | 13 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 …]
|
D | rx_res.h | 26 enum mlx5e_rx_res_features features, unsigned int max_nch,
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ ! |
D | en_stats.c | 2330 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 …]
|
D | en_main.c | 4928 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 …]
|
D | en.h | 934 u16 max_nch; member
|
D | en_rep.c | 919 priv->max_nch, priv->drop_rq.rqn, in mlx5e_init_rep_rx()
|
D | en_ethtool.c | 414 ch->max_combined = priv->max_nch; in mlx5e_ethtool_get_channels()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ ! |
D | ipoib.c | 436 priv->max_nch, priv->drop_rq.rqn, in mlx5i_init_rx()
|