Home
last modified time | relevance | path

Searched refs:rx_res (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h99 struct mlx5e_rx_res *rx_res, bool ntuple);
107 struct mlx5e_rx_res *rx_res, bool ntuple) in mlx5e_arfs_create_tables() argument
126 struct mlx5e_rx_res *rx_res,
131 struct mlx5e_rx_res *rx_res);
139 struct mlx5e_rx_res *rx_res,
Dptp.c643 u32 tirn = mlx5e_rx_res_get_tirn_ptp(priv->rx_res); in mlx5e_ptp_rx_set_fs()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c375 err = mlx5e_arfs_create_tables(priv->fs, priv->rx_res, in mlx5i_create_flow_steering()
383 err = mlx5e_create_ttc_table(priv->fs, priv->rx_res); in mlx5i_create_flow_steering()
421 priv->rx_res = mlx5e_rx_res_alloc(); in mlx5i_init_rx()
422 if (!priv->rx_res) { in mlx5i_init_rx()
435 err = mlx5e_rx_res_init(priv->rx_res, priv->mdev, 0, in mlx5i_init_rx()
449 mlx5e_rx_res_destroy(priv->rx_res); in mlx5i_init_rx()
454 mlx5e_rx_res_free(priv->rx_res); in mlx5i_init_rx()
455 priv->rx_res = NULL; in mlx5i_init_rx()
464 mlx5e_rx_res_destroy(priv->rx_res); in mlx5i_cleanup_rx()
467 mlx5e_rx_res_free(priv->rx_res); in mlx5i_cleanup_rx()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c886 struct mlx5e_rx_res *rx_res, in mlx5e_set_inner_ttc_params() argument
902 mlx5e_rx_res_get_tirn_direct(rx_res, 0) : in mlx5e_set_inner_ttc_params()
903 mlx5e_rx_res_get_tirn_rss_inner(rx_res, in mlx5e_set_inner_ttc_params()
909 struct mlx5e_rx_res *rx_res, in mlx5e_set_ttc_params() argument
926 mlx5e_rx_res_get_tirn_direct(rx_res, 0) : in mlx5e_set_ttc_params()
927 mlx5e_rx_res_get_tirn_rss(rx_res, tt); in mlx5e_set_ttc_params()
1270 struct mlx5e_rx_res *rx_res) in mlx5e_create_inner_ttc_table() argument
1277 mlx5e_set_inner_ttc_params(fs, rx_res, &ttc_params); in mlx5e_create_inner_ttc_table()
1286 struct mlx5e_rx_res *rx_res) in mlx5e_create_ttc_table() argument
1290 mlx5e_set_ttc_params(fs, rx_res, &ttc_params, true); in mlx5e_create_ttc_table()
[all …]
Den_arfs.c198 struct mlx5e_rx_res *rx_res, in arfs_add_default_rule() argument
218 dest.tir_num = mlx5e_rx_res_get_tirn_rss(rx_res, tt); in arfs_add_default_rule()
328 struct mlx5e_rx_res *rx_res, in arfs_create_table() argument
354 err = arfs_add_default_rule(fs, rx_res, type); in arfs_create_table()
365 struct mlx5e_rx_res *rx_res, bool ntuple) in mlx5e_arfs_create_tables() argument
387 err = arfs_create_table(fs, rx_res, i); in mlx5e_arfs_create_tables()
570 dest.tir_num = mlx5e_rx_res_get_tirn_direct(priv->rx_res, arfs_rule->rxq); in arfs_add_rule()
593 dst.tir_num = mlx5e_rx_res_get_tirn_direct(priv->rx_res, rxq); in arfs_modify_rule_rq()
Den_rep.c801 mlx5e_set_ttc_params(priv->fs, priv->rx_res, &ttc_params, false); in mlx5e_create_rep_ttc_table()
904 priv->rx_res = mlx5e_rx_res_alloc(); in mlx5e_init_rep_rx()
905 if (!priv->rx_res) { in mlx5e_init_rep_rx()
918 err = mlx5e_rx_res_init(priv->rx_res, priv->mdev, 0, in mlx5e_init_rep_rx()
946 mlx5e_rx_res_destroy(priv->rx_res); in mlx5e_init_rep_rx()
949 mlx5e_rx_res_free(priv->rx_res); in mlx5e_init_rep_rx()
950 priv->rx_res = NULL; in mlx5e_init_rep_rx()
962 mlx5e_rx_res_destroy(priv->rx_res); in mlx5e_cleanup_rep_rx()
964 mlx5e_rx_res_free(priv->rx_res); in mlx5e_cleanup_rep_rx()
965 priv->rx_res = NULL; in mlx5e_cleanup_rep_rx()
Den_fs_ethtool.c438 rss = mlx5e_rx_res_rss_get(priv->rx_res, rss_context); in flow_get_tirn()
454 *tirn = mlx5e_rx_res_get_tirn_direct(priv->rx_res, fs->ring_cookie); in flow_get_tirn()
813 index = mlx5e_rx_res_rss_index(priv->rx_res, eth_rule->rss); in mlx5e_ethtool_get_flow()
934 err = mlx5e_rx_res_rss_set_hash_fields(priv->rx_res, tt, rx_hash_field); in mlx5e_set_rss_hash_opt()
950 hash_field = mlx5e_rx_res_rss_get_hash_fields(priv->rx_res, tt); in mlx5e_get_rss_hash_opt()
Den_main.c2630 struct mlx5e_rx_res *res = priv->rx_res; in mlx5e_modify_tirs_packet_merge()
2834 if (!netif_is_rxfh_configured(priv->netdev) && priv->rx_res) in mlx5e_num_channels_changed()
2835 mlx5e_rx_res_rss_set_indir_uniform(priv->rx_res, count); in mlx5e_num_channels_changed()
2898 if (priv->rx_res) in mlx5e_activate_priv_channels()
2899 mlx5e_rx_res_channels_activate(priv->rx_res, &priv->channels); in mlx5e_activate_priv_channels()
2904 if (priv->rx_res) in mlx5e_deactivate_priv_channels()
2905 mlx5e_rx_res_channels_deactivate(priv->rx_res); in mlx5e_deactivate_priv_channels()
5258 priv->rx_res = mlx5e_rx_res_alloc(); in mlx5e_init_nic_rx()
5259 if (!priv->rx_res) in mlx5e_init_nic_rx()
5273 err = mlx5e_rx_res_init(priv->rx_res, priv->mdev, features, in mlx5e_init_nic_rx()
[all …]
Den_ethtool.c463 rss_cnt = mlx5e_rx_res_rss_cnt(priv->rx_res) - 1; in mlx5e_ethtool_set_channels()
1267 err = mlx5e_rx_res_rss_get_rxfh(priv->rx_res, rss_context, indir, key, hfunc); in mlx5e_get_rxfh_context()
1281 err = mlx5e_rx_res_rss_destroy(priv->rx_res, *rss_context); in mlx5e_set_rxfh_context()
1288 err = mlx5e_rx_res_rss_init(priv->rx_res, rss_context, count); in mlx5e_set_rxfh_context()
1293 err = mlx5e_rx_res_rss_set_rxfh(priv->rx_res, *rss_context, indir, key, in mlx5e_set_rxfh_context()
1314 err = mlx5e_rx_res_rss_set_rxfh(priv->rx_res, 0, indir, key, in mlx5e_set_rxfh()
DMakefile25 mlx5_core-$(CONFIG_MLX5_CORE_EN) += en/rqt.o en/tir.o en/rss.o en/rx_res.o \
Den.h911 struct mlx5e_rx_res *rx_res; member
Den_tc.c731 mlx5e_rx_res_get_current_hash(priv->rx_res).hfunc, in mlx5e_hairpin_create_indirect_rqt()
750 rss_hash = mlx5e_rx_res_get_current_hash(priv->rx_res); in mlx5e_hairpin_create_indirect_tirs()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dpool.c136 mlx5e_rx_res_xsk_update(priv->rx_res, &priv->channels, ix, true); in mlx5e_xsk_enable_locked()
185 mlx5e_rx_res_xsk_update(priv->rx_res, &priv->channels, ix, false); in mlx5e_xsk_disable_locked()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Drx.c292 struct iwl_rx_mpdu_res_start *rx_res; in iwl_mvm_rx_rx_mpdu() local
300 if (unlikely(pkt_len < sizeof(*rx_res))) { in iwl_mvm_rx_rx_mpdu()
306 rx_res = (struct iwl_rx_mpdu_res_start *)pkt->data; in iwl_mvm_rx_rx_mpdu()
307 hdr = (struct ieee80211_hdr *)(pkt->data + sizeof(*rx_res)); in iwl_mvm_rx_rx_mpdu()
308 len = le16_to_cpu(rx_res->byte_count); in iwl_mvm_rx_rx_mpdu()
310 if (unlikely(len + sizeof(*rx_res) + sizeof(__le32) > pkt_len)) { in iwl_mvm_rx_rx_mpdu()
316 (pkt->data + sizeof(*rx_res) + len)); in iwl_mvm_rx_rx_mpdu()
/linux-6.1.9/sound/soc/fsl/
Dfsl_xcvr.c1141 struct resource *rx_res, *tx_res; in fsl_xcvr_probe() local
1209 rx_res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "rxfifo"); in fsl_xcvr_probe()
1211 if (!rx_res || !tx_res) { in fsl_xcvr_probe()
1217 xcvr->dma_prms_rx.addr = rx_res->start; in fsl_xcvr_probe()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_rx.c653 err = mlx5e_rx_res_tls_tir_create(priv->rx_res, rxq, &priv_rx->tir); in mlx5e_ktls_add_rx()