/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls_rx.c | 77 void *tirc; in mlx5e_ktls_create_tir() local 85 tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in mlx5e_ktls_create_tir() 87 MLX5_SET(tirc, tirc, transport_domain, mdev->mlx5e_res.td.tdn); in mlx5e_ktls_create_tir() 88 MLX5_SET(tirc, tirc, disp_type, MLX5_TIRC_DISP_TYPE_INDIRECT); in mlx5e_ktls_create_tir() 89 MLX5_SET(tirc, tirc, rx_hash_fn, MLX5_RX_HASH_FN_INVERTED_XOR8); in mlx5e_ktls_create_tir() 90 MLX5_SET(tirc, tirc, indirect_table, rqtn); in mlx5e_ktls_create_tir() 91 MLX5_SET(tirc, tirc, tls_en, 1); in mlx5e_ktls_create_tir() 92 MLX5_SET(tirc, tirc, self_lb_block, in mlx5e_ktls_create_tir()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_main.c | 2715 static void mlx5e_build_tir_ctx_lro(struct mlx5e_params *params, void *tirc) in mlx5e_build_tir_ctx_lro() argument 2722 MLX5_SET(tirc, tirc, lro_enable_mask, in mlx5e_build_tir_ctx_lro() 2725 MLX5_SET(tirc, tirc, lro_max_ip_payload_size, in mlx5e_build_tir_ctx_lro() 2727 MLX5_SET(tirc, tirc, lro_timeout_period_usecs, params->lro_timeout); in mlx5e_build_tir_ctx_lro() 2732 void *tirc, bool inner) in mlx5e_build_indir_tir_ctx_hash() argument 2734 void *hfso = inner ? MLX5_ADDR_OF(tirc, tirc, rx_hash_field_selector_inner) : in mlx5e_build_indir_tir_ctx_hash() 2735 MLX5_ADDR_OF(tirc, tirc, rx_hash_field_selector_outer); in mlx5e_build_indir_tir_ctx_hash() 2737 MLX5_SET(tirc, tirc, rx_hash_fn, mlx5e_rx_hash_fn(rss_params->hfunc)); in mlx5e_build_indir_tir_ctx_hash() 2739 void *rss_key = MLX5_ADDR_OF(tirc, tirc, in mlx5e_build_indir_tir_ctx_hash() 2741 size_t len = MLX5_FLD_SZ_BYTES(tirc, in mlx5e_build_indir_tir_ctx_hash() [all …]
|
D | en_tc.c | 515 void *tirc; in mlx5e_hairpin_create_transport() local 522 tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in mlx5e_hairpin_create_transport() 524 MLX5_SET(tirc, tirc, disp_type, MLX5_TIRC_DISP_TYPE_DIRECT); in mlx5e_hairpin_create_transport() 525 MLX5_SET(tirc, tirc, inline_rqn, hp->pair->rqn[0]); in mlx5e_hairpin_create_transport() 526 MLX5_SET(tirc, tirc, transport_domain, hp->tdn); in mlx5e_hairpin_create_transport() 598 void *tirc; in mlx5e_hairpin_create_indirect_tirs() local 604 tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in mlx5e_hairpin_create_indirect_tirs() 606 MLX5_SET(tirc, tirc, transport_domain, hp->tdn); in mlx5e_hairpin_create_indirect_tirs() 607 MLX5_SET(tirc, tirc, disp_type, MLX5_TIRC_DISP_TYPE_INDIRECT); in mlx5e_hairpin_create_indirect_tirs() 608 MLX5_SET(tirc, tirc, indirect_table, hp->indir_rqt.rqtn); in mlx5e_hairpin_create_indirect_tirs() [all …]
|
D | en.h | 904 void *tirc, bool inner);
|
/drivers/infiniband/hw/mlx5/ |
D | qp.c | 1378 void *tirc; in create_raw_packet_qp_tir() local 1388 tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in create_raw_packet_qp_tir() 1389 MLX5_SET(tirc, tirc, disp_type, MLX5_TIRC_DISP_TYPE_DIRECT); in create_raw_packet_qp_tir() 1390 MLX5_SET(tirc, tirc, inline_rqn, rq->base.mqp.qpn); in create_raw_packet_qp_tir() 1391 MLX5_SET(tirc, tirc, transport_domain, tdn); in create_raw_packet_qp_tir() 1393 MLX5_SET(tirc, tirc, tunneled_offload_en, 1); in create_raw_packet_qp_tir() 1406 MLX5_SET(tirc, tirc, self_lb_block, lb_flag); in create_raw_packet_qp_tir() 1410 if (!err && MLX5_GET(tirc, tirc, self_lb_block)) { in create_raw_packet_qp_tir() 1579 void *tirc; in create_rss_raw_qp_tir() local 1614 tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in create_rss_raw_qp_tir() [all …]
|
/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 1235 void *tirc; in create_tir() local 1244 tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in create_tir() 1245 MLX5_SET(tirc, tirc, disp_type, MLX5_TIRC_DISP_TYPE_INDIRECT); in create_tir() 1247 MLX5_SET(tirc, tirc, rx_hash_symmetric, 1); in create_tir() 1248 MLX5_SET(tirc, tirc, rx_hash_fn, MLX5_RX_HASH_FN_TOEPLITZ); in create_tir() 1249 rss_key = MLX5_ADDR_OF(tirc, tirc, rx_hash_toeplitz_key); in create_tir() 1252 outer = MLX5_ADDR_OF(tirc, tirc, rx_hash_field_selector_outer); in create_tir() 1257 MLX5_SET(tirc, tirc, indirect_table, ndev->res.rqtn); in create_tir() 1258 MLX5_SET(tirc, tirc, transport_domain, ndev->res.tdn); in create_tir()
|