Home
last modified time | relevance | path

Searched refs:tirc (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtir.c50 void *tirc = mlx5e_tir_builder_get_tirc(builder); in mlx5e_tir_builder_build_inline() local
54 MLX5_SET(tirc, tirc, transport_domain, tdn); in mlx5e_tir_builder_build_inline()
55 MLX5_SET(tirc, tirc, disp_type, MLX5_TIRC_DISP_TYPE_DIRECT); in mlx5e_tir_builder_build_inline()
56 MLX5_SET(tirc, tirc, rx_hash_fn, MLX5_RX_HASH_FN_NONE); in mlx5e_tir_builder_build_inline()
57 MLX5_SET(tirc, tirc, inline_rqn, rqn); in mlx5e_tir_builder_build_inline()
63 void *tirc = mlx5e_tir_builder_get_tirc(builder); in mlx5e_tir_builder_build_rqt() local
67 MLX5_SET(tirc, tirc, transport_domain, tdn); in mlx5e_tir_builder_build_rqt()
68 MLX5_SET(tirc, tirc, disp_type, MLX5_TIRC_DISP_TYPE_INDIRECT); in mlx5e_tir_builder_build_rqt()
69 MLX5_SET(tirc, tirc, indirect_table, rqtn); in mlx5e_tir_builder_build_rqt()
70 MLX5_SET(tirc, tirc, tunneled_offload_en, inner_ft_support); in mlx5e_tir_builder_build_rqt()
[all …]
/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dqp.c1526 void *tirc; in create_raw_packet_qp_tir() local
1536 tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in create_raw_packet_qp_tir()
1537 MLX5_SET(tirc, tirc, disp_type, MLX5_TIRC_DISP_TYPE_DIRECT); in create_raw_packet_qp_tir()
1538 MLX5_SET(tirc, tirc, inline_rqn, rq->base.mqp.qpn); in create_raw_packet_qp_tir()
1539 MLX5_SET(tirc, tirc, transport_domain, tdn); in create_raw_packet_qp_tir()
1541 MLX5_SET(tirc, tirc, tunneled_offload_en, 1); in create_raw_packet_qp_tir()
1554 MLX5_SET(tirc, tirc, self_lb_block, lb_flag); in create_raw_packet_qp_tir()
1558 if (!err && MLX5_GET(tirc, tirc, self_lb_block)) { in create_raw_packet_qp_tir()
1729 void *tirc; in create_rss_raw_qp_tir() local
1764 tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in create_rss_raw_qp_tir()
[all …]
/Linux-v6.6/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c1494 void *tirc; in create_tir() local
1503 tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in create_tir()
1504 MLX5_SET(tirc, tirc, disp_type, MLX5_TIRC_DISP_TYPE_INDIRECT); in create_tir()
1506 MLX5_SET(tirc, tirc, rx_hash_symmetric, 1); in create_tir()
1507 MLX5_SET(tirc, tirc, rx_hash_fn, MLX5_RX_HASH_FN_TOEPLITZ); in create_tir()
1508 rss_key = MLX5_ADDR_OF(tirc, tirc, rx_hash_toeplitz_key); in create_tir()
1511 outer = MLX5_ADDR_OF(tirc, tirc, rx_hash_field_selector_outer); in create_tir()
1516 MLX5_SET(tirc, tirc, indirect_table, ndev->res.rqtn); in create_tir()
1517 MLX5_SET(tirc, tirc, transport_domain, ndev->res.tdn); in create_tir()