Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/en/
Drx_res.c13 unsigned int max_nch; member
292 res->channels = kvcalloc(res->max_nch, sizeof(*res->channels), GFP_KERNEL); in mlx5e_rx_res_channels_init()
298 for (ix = 0; ix < res->max_nch; ix++) { in mlx5e_rx_res_channels_init()
308 for (ix = 0; ix < res->max_nch; ix++) { in mlx5e_rx_res_channels_init()
328 for (ix = 0; ix < res->max_nch; ix++) { in mlx5e_rx_res_channels_init()
338 for (ix = 0; ix < res->max_nch; ix++) { in mlx5e_rx_res_channels_init()
361 ix = res->max_nch; in mlx5e_rx_res_channels_init()
366 ix = res->max_nch; in mlx5e_rx_res_channels_init()
371 ix = res->max_nch; in mlx5e_rx_res_channels_init()
422 for (ix = 0; ix < res->max_nch; ix++) { in mlx5e_rx_res_channels_destroy()
[all …]
Drx_res.h27 enum mlx5e_rx_res_features features, unsigned int max_nch,
/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.c2123 int max_nch = priv->stats_nch; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() local
2125 return (NUM_RQ_STATS * max_nch) + in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
2126 (NUM_CH_STATS * max_nch) + in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
2127 (NUM_SQ_STATS * max_nch * priv->max_opened_tc) + in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
2128 (NUM_RQ_XDPSQ_STATS * max_nch) + in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
2129 (NUM_XDPSQ_STATS * max_nch) + in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
2130 (NUM_XSKRQ_STATS * max_nch * priv->xsk.ever_used) + in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
2131 (NUM_XSKSQ_STATS * max_nch * priv->xsk.ever_used); in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
2137 int max_nch = priv->stats_nch; in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() local
2140 for (i = 0; i < max_nch; i++) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
[all …]
Den_main.c4301 priv->max_nch); in mlx5e_build_nic_params()
4640 priv->max_nch, priv->drop_rq.rqn, in mlx5e_init_nic_rx()
4803 unsigned int max_nch, tmp; in mlx5e_calc_max_nch() local
4806 max_nch = mlx5e_get_max_num_channels(mdev); in mlx5e_calc_max_nch()
4810 max_nch = min_t(unsigned int, max_nch, tmp); in mlx5e_calc_max_nch()
4819 max_nch = min_t(unsigned int, max_nch, tmp); in mlx5e_calc_max_nch()
4821 return max_nch; in mlx5e_calc_max_nch()
4834 priv->max_nch = mlx5e_calc_max_nch(mdev, netdev, profile); in mlx5e_priv_init()
4835 priv->stats_nch = priv->max_nch; in mlx5e_priv_init()
4928 int max_nch; in mlx5e_attach_netdev() local
[all …]
Den.h862 u16 max_nch; member
Den_rep.c818 priv->max_nch, priv->drop_rq.rqn, in mlx5e_init_rep_rx()
Den_ethtool.c397 ch->max_combined = priv->max_nch; in mlx5e_ethtool_get_channels()
/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c375 priv->max_nch, priv->drop_rq.rqn, in mlx5i_init_rx()