Home
last modified time | relevance | path

Searched refs:direct_tir (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Drx_res.c26 struct mlx5e_tir direct_tir; member
326 err = mlx5e_tir_init(&res->channels[ix].direct_tir, builder, res->mdev, true); in mlx5e_rx_res_channels_init()
340 mlx5e_tir_destroy(&res->channels[ix].direct_tir); in mlx5e_rx_res_channels_init()
394 mlx5e_tir_destroy(&res->channels[ix].direct_tir); in mlx5e_rx_res_channels_destroy()
458 return mlx5e_tir_get_tirn(&res->channels[ix].direct_tir); in mlx5e_rx_res_get_tirn_direct()
610 err = mlx5e_tir_modify(&res->channels[ix].direct_tir, builder); in mlx5e_rx_res_packet_merge_set_param()
613 mlx5e_tir_get_tirn(&res->channels[ix].direct_tir), ix, err); in mlx5e_rx_res_packet_merge_set_param()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c573 struct mlx5e_tir direct_tir; member
735 err = mlx5e_tir_init(&hp->direct_tir, builder, hp->func_mdev, false); in mlx5e_hairpin_create_transport()
751 mlx5e_tir_destroy(&hp->direct_tir); in mlx5e_hairpin_destroy_transport()
842 mlx5e_tir_get_tirn(&hp->direct_tir) : in mlx5e_hairpin_set_ttc_params()
1189 mlx5e_tir_get_tirn(&hp->direct_tir), hp->pair->rqn[0], in mlx5e_hairpin_flow_add()
1199 flow->attr->nic_attr->hairpin_tirn = mlx5e_tir_get_tirn(&hpe->hp->direct_tir); in mlx5e_hairpin_flow_add()