/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ipoib.c | 362 priv->rx_res = mlx5e_rx_res_alloc(); in mlx5i_init_rx() 363 if (!priv->rx_res) in mlx5i_init_rx() 374 err = mlx5e_rx_res_init(priv->rx_res, priv->mdev, 0, in mlx5i_init_rx() 388 mlx5e_rx_res_destroy(priv->rx_res); in mlx5i_init_rx() 393 mlx5e_rx_res_free(priv->rx_res); in mlx5i_init_rx() 394 priv->rx_res = NULL; in mlx5i_init_rx() 401 mlx5e_rx_res_destroy(priv->rx_res); in mlx5i_cleanup_rx() 404 mlx5e_rx_res_free(priv->rx_res); in mlx5i_cleanup_rx() 405 priv->rx_res = NULL; in mlx5i_cleanup_rx()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.c | 805 priv->rx_res = mlx5e_rx_res_alloc(); in mlx5e_init_rep_rx() 806 if (!priv->rx_res) in mlx5e_init_rep_rx() 817 err = mlx5e_rx_res_init(priv->rx_res, priv->mdev, 0, in mlx5e_init_rep_rx() 845 mlx5e_rx_res_destroy(priv->rx_res); in mlx5e_init_rep_rx() 848 mlx5e_rx_res_free(priv->rx_res); in mlx5e_init_rep_rx() 849 priv->rx_res = NULL; in mlx5e_init_rep_rx() 859 mlx5e_rx_res_destroy(priv->rx_res); in mlx5e_cleanup_rep_rx() 861 mlx5e_rx_res_free(priv->rx_res); in mlx5e_cleanup_rep_rx() 862 priv->rx_res = NULL; in mlx5e_cleanup_rep_rx()
|
D | en_fs_ethtool.c | 420 rss = mlx5e_rx_res_rss_get(priv->rx_res, rss_context); in flow_get_tirn() 443 mlx5e_rx_res_get_tirn_xsk(priv->rx_res, ix) : in flow_get_tirn() 444 mlx5e_rx_res_get_tirn_direct(priv->rx_res, ix); in flow_get_tirn() 804 index = mlx5e_rx_res_rss_index(priv->rx_res, eth_rule->rss); in mlx5e_ethtool_get_flow() 909 err = mlx5e_rx_res_rss_set_hash_fields(priv->rx_res, tt, rx_hash_field); in mlx5e_set_rss_hash_opt() 925 hash_field = mlx5e_rx_res_rss_get_hash_fields(priv->rx_res, tt); in mlx5e_get_rss_hash_opt()
|
D | en_arfs.c | 211 dest.tir_num = mlx5e_rx_res_get_tirn_rss(priv->rx_res, tt); in arfs_add_default_rule() 559 dest.tir_num = mlx5e_rx_res_get_tirn_direct(priv->rx_res, arfs_rule->rxq); in arfs_add_rule() 582 dst.tir_num = mlx5e_rx_res_get_tirn_direct(priv->rx_res, rxq); in arfs_modify_rule_rq()
|
D | en_main.c | 2205 struct mlx5e_rx_res *res = priv->rx_res; in mlx5e_modify_tirs_packet_merge() 2408 if (!netif_is_rxfh_configured(priv->netdev) && priv->rx_res) in mlx5e_num_channels_changed() 2409 mlx5e_rx_res_rss_set_indir_uniform(priv->rx_res, count); in mlx5e_num_channels_changed() 2469 if (priv->rx_res) in mlx5e_activate_priv_channels() 2470 mlx5e_rx_res_channels_activate(priv->rx_res, &priv->channels); in mlx5e_activate_priv_channels() 2475 if (priv->rx_res) in mlx5e_deactivate_priv_channels() 2476 mlx5e_rx_res_channels_deactivate(priv->rx_res); in mlx5e_deactivate_priv_channels() 4624 priv->rx_res = mlx5e_rx_res_alloc(); in mlx5e_init_nic_rx() 4625 if (!priv->rx_res) in mlx5e_init_nic_rx() 4639 err = mlx5e_rx_res_init(priv->rx_res, priv->mdev, features, in mlx5e_init_nic_rx() [all …]
|
D | en_ethtool.c | 462 rss_cnt = mlx5e_rx_res_rss_cnt(priv->rx_res) - 1; in mlx5e_ethtool_set_channels() 1230 err = mlx5e_rx_res_rss_get_rxfh(priv->rx_res, rss_context, indir, key, hfunc); in mlx5e_get_rxfh_context() 1244 err = mlx5e_rx_res_rss_destroy(priv->rx_res, *rss_context); in mlx5e_set_rxfh_context() 1251 err = mlx5e_rx_res_rss_init(priv->rx_res, rss_context, count); in mlx5e_set_rxfh_context() 1256 err = mlx5e_rx_res_rss_set_rxfh(priv->rx_res, *rss_context, indir, key, in mlx5e_set_rxfh_context() 1277 err = mlx5e_rx_res_rss_set_rxfh(priv->rx_res, 0, indir, key, in mlx5e_set_rxfh()
|
D | en_fs.c | 873 mlx5e_rx_res_get_tirn_direct(priv->rx_res, 0) : in mlx5e_set_inner_ttc_params() 874 mlx5e_rx_res_get_tirn_rss_inner(priv->rx_res, in mlx5e_set_inner_ttc_params() 896 mlx5e_rx_res_get_tirn_direct(priv->rx_res, 0) : in mlx5e_set_ttc_params() 897 mlx5e_rx_res_get_tirn_rss(priv->rx_res, tt); in mlx5e_set_ttc_params()
|
D | Makefile | 25 mlx5_core-$(CONFIG_MLX5_CORE_EN) += en/rqt.o en/tir.o en/rss.o en/rx_res.o \
|
D | en.h | 841 struct mlx5e_rx_res *rx_res; member
|
D | en_tc.c | 521 mlx5e_rx_res_get_current_hash(priv->rx_res).hfunc, in mlx5e_hairpin_create_indirect_rqt() 540 rss_hash = mlx5e_rx_res_get_current_hash(priv->rx_res); in mlx5e_hairpin_create_indirect_tirs()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rx.c | 297 struct iwl_rx_mpdu_res_start *rx_res; in iwl_mvm_rx_rx_mpdu() local 305 if (unlikely(pkt_len < sizeof(*rx_res))) { in iwl_mvm_rx_rx_mpdu() 311 rx_res = (struct iwl_rx_mpdu_res_start *)pkt->data; in iwl_mvm_rx_rx_mpdu() 312 hdr = (struct ieee80211_hdr *)(pkt->data + sizeof(*rx_res)); in iwl_mvm_rx_rx_mpdu() 313 len = le16_to_cpu(rx_res->byte_count); in iwl_mvm_rx_rx_mpdu() 315 if (unlikely(len + sizeof(*rx_res) + sizeof(__le32) > pkt_len)) { in iwl_mvm_rx_rx_mpdu() 321 (pkt->data + sizeof(*rx_res) + len)); in iwl_mvm_rx_rx_mpdu()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | pool.c | 125 err = mlx5e_rx_res_xsk_activate(priv->rx_res, &priv->channels, ix); in mlx5e_xsk_enable_locked() 172 mlx5e_rx_res_xsk_deactivate(priv->rx_res, ix); in mlx5e_xsk_disable_locked()
|
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls_rx.c | 617 err = mlx5e_rx_res_tls_tir_create(priv->rx_res, rxq, &priv_rx->tir); in mlx5e_ktls_add_rx()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | ptp.c | 613 u32 tirn = mlx5e_rx_res_get_tirn_ptp(priv->rx_res); in mlx5e_ptp_rx_set_fs()
|