Lines Matching refs:tir

609 			mlxcx_tir_t *tir = &g->mlg_tir[i];  in mlxcx_teardown_rx_group()  local
610 if (tir->mltir_state & MLXCX_TIR_CREATED && in mlxcx_teardown_rx_group()
611 !(tir->mltir_state & MLXCX_TIR_DESTROYED)) { in mlxcx_teardown_rx_group()
612 if (!mlxcx_cmd_destroy_tir(mlxp, tir)) { in mlxcx_teardown_rx_group()
615 "for rx ring", tir->mltir_num); in mlxcx_teardown_rx_group()
827 mlxcx_tir_t *tir = &g->mlg_tir[i]; in mlxcx_rx_group_setup() local
828 tir->mltir_tdom = &mlxp->mlx_tdom; in mlxcx_rx_group_setup()
831 tir->mltir_type = MLXCX_TIR_DIRECT; in mlxcx_rx_group_setup()
832 tir->mltir_rq = &g->mlg_wqs[0]; in mlxcx_rx_group_setup()
840 tir->mltir_type = MLXCX_TIR_INDIRECT; in mlxcx_rx_group_setup()
841 tir->mltir_rqtable = g->mlg_rqt; in mlxcx_rx_group_setup()
842 tir->mltir_hash_fn = MLXCX_TIR_HASH_TOEPLITZ; in mlxcx_rx_group_setup()
843 (void) random_get_pseudo_bytes(tir->mltir_toeplitz_key, in mlxcx_rx_group_setup()
844 sizeof (tir->mltir_toeplitz_key)); in mlxcx_rx_group_setup()
853 tir->mltir_l3_type = MLXCX_RX_HASH_L3_IPv4; in mlxcx_rx_group_setup()
854 tir->mltir_hash_fields = in mlxcx_rx_group_setup()
860 tir->mltir_l3_type = MLXCX_RX_HASH_L3_IPv6; in mlxcx_rx_group_setup()
861 tir->mltir_hash_fields = in mlxcx_rx_group_setup()
872 tir->mltir_l4_type = MLXCX_RX_HASH_L4_TCP; in mlxcx_rx_group_setup()
873 tir->mltir_hash_fields |= in mlxcx_rx_group_setup()
878 tir->mltir_l4_type = MLXCX_RX_HASH_L4_UDP; in mlxcx_rx_group_setup()
879 tir->mltir_hash_fields |= in mlxcx_rx_group_setup()
884 if (!mlxcx_cmd_create_tir(mlxp, tir)) { in mlxcx_rx_group_setup()