Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtir.c53 void *tirc = mlx5e_tir_builder_get_tirc(builder); in mlx5e_tir_builder_build_inline() local
57 MLX5_SET(tirc, tirc, transport_domain, tdn); in mlx5e_tir_builder_build_inline()
58 MLX5_SET(tirc, tirc, disp_type, MLX5_TIRC_DISP_TYPE_DIRECT); in mlx5e_tir_builder_build_inline()
59 MLX5_SET(tirc, tirc, rx_hash_fn, MLX5_RX_HASH_FN_NONE); in mlx5e_tir_builder_build_inline()
60 MLX5_SET(tirc, tirc, inline_rqn, rqn); in mlx5e_tir_builder_build_inline()
66 void *tirc = mlx5e_tir_builder_get_tirc(builder); in mlx5e_tir_builder_build_rqt() local
70 MLX5_SET(tirc, tirc, transport_domain, tdn); in mlx5e_tir_builder_build_rqt()
71 MLX5_SET(tirc, tirc, disp_type, MLX5_TIRC_DISP_TYPE_INDIRECT); in mlx5e_tir_builder_build_rqt()
72 MLX5_SET(tirc, tirc, indirect_table, rqtn); in mlx5e_tir_builder_build_rqt()
73 MLX5_SET(tirc, tirc, tunneled_offload_en, inner_ft_support); in mlx5e_tir_builder_build_rqt()
[all …]
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A 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 …]
/openbmc/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c1492 void *tirc; in create_tir() local
1501 tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in create_tir()
1502 MLX5_SET(tirc, tirc, disp_type, MLX5_TIRC_DISP_TYPE_INDIRECT); in create_tir()
1504 MLX5_SET(tirc, tirc, rx_hash_symmetric, 1); in create_tir()
1505 MLX5_SET(tirc, tirc, rx_hash_fn, MLX5_RX_HASH_FN_TOEPLITZ); in create_tir()
1506 rss_key = MLX5_ADDR_OF(tirc, tirc, rx_hash_toeplitz_key); in create_tir()
1509 outer = MLX5_ADDR_OF(tirc, tirc, rx_hash_field_selector_outer); in create_tir()
1514 MLX5_SET(tirc, tirc, indirect_table, ndev->res.rqtn); in create_tir()
1515 MLX5_SET(tirc, tirc, transport_domain, ndev->res.tdn); in create_tir()