Searched refs:max_nch (Results 1 – 7 of 7) sorted by relevance
134 for (i = 0; i < priv->profile->max_nch(priv->mdev); i++) { in mlx5e_grp_sw_update_stats()1214 int max_nch = priv->profile->max_nch(priv->mdev); in mlx5e_grp_channels_get_num_stats() local1216 return (NUM_RQ_STATS * max_nch) + in mlx5e_grp_channels_get_num_stats()1217 (NUM_CH_STATS * max_nch) + in mlx5e_grp_channels_get_num_stats()1218 (NUM_SQ_STATS * max_nch * priv->max_opened_tc) + in mlx5e_grp_channels_get_num_stats()1219 (NUM_RQ_XDPSQ_STATS * max_nch) + in mlx5e_grp_channels_get_num_stats()1220 (NUM_XDPSQ_STATS * max_nch); in mlx5e_grp_channels_get_num_stats()1226 int max_nch = priv->profile->max_nch(priv->mdev); in mlx5e_grp_channels_fill_strings() local1229 for (i = 0; i < max_nch; i++) in mlx5e_grp_channels_fill_strings()1234 for (i = 0; i < max_nch; i++) { in mlx5e_grp_channels_fill_strings()[all …]
1789 int err, tc, max_nch = priv->profile->max_nch(priv->mdev); in mlx5e_open_sqs() local1792 int txq_ix = c->ix + tc * max_nch; in mlx5e_open_sqs()2429 for (ix = 0; ix < priv->profile->max_nch(priv->mdev); ix++) { in mlx5e_create_direct_rqts()2450 for (i = 0; i < priv->profile->max_nch(priv->mdev); i++) in mlx5e_destroy_direct_rqts()2544 for (ix = 0; ix < priv->profile->max_nch(priv->mdev); ix++) { in mlx5e_redirect_rqts()2745 for (ix = 0; ix < priv->profile->max_nch(priv->mdev); ix++) { in mlx5e_modify_tirs_lro()2845 int max_nch = priv->profile->max_nch(priv->mdev); in mlx5e_build_tc2txq_maps() local2848 for (i = 0; i < max_nch; i++) in mlx5e_build_tc2txq_maps()2850 priv->channel_tc2txq[i][tc] = i + tc * max_nch; in mlx5e_build_tc2txq_maps()3239 int nch = priv->profile->max_nch(priv->mdev); in mlx5e_create_direct_tirs()[all …]
989 priv->channels.params.num_channels = profile->max_nch(mdev); in mlx5e_init_rep()1067 .max_nch = mlx5e_get_rep_max_num_channels,
718 int (*max_nch)(struct mlx5_core_dev *mdev); member
314 ch->max_combined = priv->profile->max_nch(priv->mdev); in mlx5e_ethtool_get_channels()
92 profile->max_nch(mdev), netdev->mtu); in mlx5i_init()363 .max_nch = mlx5e_get_max_num_channels,630 nch = profile->max_nch(mdev); in mlx5_rdma_netdev_alloc()
348 .max_nch = mlx5e_get_max_num_channels,