Searched refs:hw_tc_map (Results 1 – 6 of 6) sorted by relevance
562 tc_valid[i] = (hw->hw_tc_map & BIT(i)) ? in hns3_set_rss_tc_mode_entry()563 !!(hw->hw_tc_map & BIT(i)) : 1; in hns3_set_rss_tc_mode_entry()565 tc_offset[i] = (hw->hw_tc_map & BIT(i)) ? in hns3_set_rss_tc_mode_entry()568 tc_valid[i] = !!(hw->hw_tc_map & BIT(i)); in hns3_set_rss_tc_mode_entry()
51 uint8_t hw_tc_map; member
254 if (!(hw->hw_tc_map & BIT(i))) in hns3_dcb_ets_tc_dwrr_cfg()688 if (hw->hw_tc_map & BIT(i) && i < hw->num_tc) { in hns3_tc_queue_mapping_cfg()781 hw->dcb_info.pg_info[i].tc_bit_map = hw->hw_tc_map; in hns3_dcb_info_init()1432 hw->dcb_info.pg_info[0].tc_bit_map = hw->hw_tc_map; in hns3_dcb_info_cfg()1502 hw->hw_tc_map = bit_map; in hns3_dcb_info_update()
945 if (hw->hw_tc_map & BIT(i)) in hns3vf_get_num_tc()967 hw->hw_tc_map = basic_info->hw_tc_map; in hns3vf_get_basic_info()
533 uint8_t hw_tc_map; member
2856 hns3_set_bit(hw->hw_tc_map, 0, 1); in hns3_get_board_configuration()3026 if (hw->hw_tc_map & BIT(i)) { in hns3_tx_buffer_calc()3077 if (hw->hw_tc_map & BIT(i)) in hns3_get_tc_num()3137 if (hw->hw_tc_map & BIT(i) && in hns3_get_no_pfc_priv_num()3236 if (!(hw->hw_tc_map & BIT(i))) in hns3_rx_buf_calc_all()3275 if (hw->hw_tc_map & mask && in hns3_drop_nopfc_buf_till_fit()3312 if (hw->hw_tc_map & mask && hw->dcb_info.hw_pfc_map & mask) { in hns3_drop_pfc_buf_till_fit()3370 if (!(hw->hw_tc_map & BIT(i))) in hns3_only_alloc_priv_buff()