Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.c134 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() local
1216 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() local
1229 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 …]
Den_main.c1789 int err, tc, max_nch = priv->profile->max_nch(priv->mdev); in mlx5e_open_sqs() local
1792 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() local
2848 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 …]
Den_rep.c989 priv->channels.params.num_channels = profile->max_nch(mdev); in mlx5e_init_rep()
1067 .max_nch = mlx5e_get_rep_max_num_channels,
Den.h718 int (*max_nch)(struct mlx5_core_dev *mdev); member
Den_ethtool.c314 ch->max_combined = priv->profile->max_nch(priv->mdev); in mlx5e_ethtool_get_channels()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c92 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()
Dipoib_vlan.c348 .max_nch = mlx5e_get_max_num_channels,