Lines Matching refs:rrd
14271 struct rsm_rule_data *rrd) in add_rsm_rule() argument
14274 (u64)rrd->offset << RCV_RSM_CFG_OFFSET_SHIFT | in add_rsm_rule()
14276 (u64)rrd->pkt_type << RCV_RSM_CFG_PACKET_TYPE_SHIFT); in add_rsm_rule()
14278 (u64)rrd->field1_off << RCV_RSM_SELECT_FIELD1_OFFSET_SHIFT | in add_rsm_rule()
14279 (u64)rrd->field2_off << RCV_RSM_SELECT_FIELD2_OFFSET_SHIFT | in add_rsm_rule()
14280 (u64)rrd->index1_off << RCV_RSM_SELECT_INDEX1_OFFSET_SHIFT | in add_rsm_rule()
14281 (u64)rrd->index1_width << RCV_RSM_SELECT_INDEX1_WIDTH_SHIFT | in add_rsm_rule()
14282 (u64)rrd->index2_off << RCV_RSM_SELECT_INDEX2_OFFSET_SHIFT | in add_rsm_rule()
14283 (u64)rrd->index2_width << RCV_RSM_SELECT_INDEX2_WIDTH_SHIFT); in add_rsm_rule()
14285 (u64)rrd->mask1 << RCV_RSM_MATCH_MASK1_SHIFT | in add_rsm_rule()
14286 (u64)rrd->value1 << RCV_RSM_MATCH_VALUE1_SHIFT | in add_rsm_rule()
14287 (u64)rrd->mask2 << RCV_RSM_MATCH_MASK2_SHIFT | in add_rsm_rule()
14288 (u64)rrd->value2 << RCV_RSM_MATCH_VALUE2_SHIFT); in add_rsm_rule()
14361 struct rsm_rule_data rrd; in init_qos() local
14402 rrd.offset = rmt->used; in init_qos()
14403 rrd.pkt_type = 2; in init_qos()
14404 rrd.field1_off = LRH_BTH_MATCH_OFFSET; in init_qos()
14405 rrd.field2_off = LRH_SC_MATCH_OFFSET; in init_qos()
14406 rrd.index1_off = LRH_SC_SELECT_OFFSET; in init_qos()
14407 rrd.index1_width = n; in init_qos()
14408 rrd.index2_off = QPN_SELECT_OFFSET; in init_qos()
14409 rrd.index2_width = m + n; in init_qos()
14410 rrd.mask1 = LRH_BTH_MASK; in init_qos()
14411 rrd.value1 = LRH_BTH_VALUE; in init_qos()
14412 rrd.mask2 = LRH_SC_MASK; in init_qos()
14413 rrd.value2 = LRH_SC_VALUE; in init_qos()
14416 add_rsm_rule(dd, RSM_INS_VERBS, &rrd); in init_qos()
14432 struct rsm_rule_data rrd; in init_fecn_handling() local
14484 rrd.offset = offset; in init_fecn_handling()
14485 rrd.pkt_type = 0; in init_fecn_handling()
14486 rrd.field1_off = 95; in init_fecn_handling()
14487 rrd.field2_off = 133; in init_fecn_handling()
14488 rrd.index1_off = 64; in init_fecn_handling()
14489 rrd.index1_width = 8; in init_fecn_handling()
14490 rrd.index2_off = 0; in init_fecn_handling()
14491 rrd.index2_width = 0; in init_fecn_handling()
14492 rrd.mask1 = 1; in init_fecn_handling()
14493 rrd.value1 = 1; in init_fecn_handling()
14494 rrd.mask2 = 1; in init_fecn_handling()
14495 rrd.value2 = 1; in init_fecn_handling()
14498 add_rsm_rule(dd, RSM_INS_FECN, &rrd); in init_fecn_handling()
14560 int rule, struct rsm_rule_data *rrd) in hfi1_enable_rsm_rule() argument
14567 add_rsm_rule(dd, rule, rrd); in hfi1_enable_rsm_rule()
14579 struct rsm_rule_data rrd = { in hfi1_init_aip_rsm() local
14595 hfi1_enable_rsm_rule(dd, RSM_INS_AIP, &rrd); in hfi1_init_aip_rsm()
14603 struct rsm_rule_data rrd = { in hfi1_init_vnic_rsm() local
14622 hfi1_enable_rsm_rule(dd, RSM_INS_VNIC, &rrd); in hfi1_init_vnic_rsm()