Searched refs:tc_offset (Results 1 – 3 of 3) sorted by relevance
432 u16 tc_offset[HCLGEVF_MAX_TC_NUM]; in hclgevf_set_rss_tc_mode() local448 tc_offset[i] = rss_size * i; in hclgevf_set_rss_tc_mode()458 HCLGEVF_RSS_TC_OFFSET_S, tc_offset[i]); in hclgevf_set_rss_tc_mode()
694 struct rtl8169_tc_offsets tc_offset; member1763 if (tp->tc_offset.inited) in rtl8169_init_counter_offsets()1773 tp->tc_offset.tx_errors = counters->tx_errors; in rtl8169_init_counter_offsets()1774 tp->tc_offset.tx_multi_collision = counters->tx_multi_collision; in rtl8169_init_counter_offsets()1775 tp->tc_offset.tx_aborted = counters->tx_aborted; in rtl8169_init_counter_offsets()1776 tp->tc_offset.inited = true; in rtl8169_init_counter_offsets()6829 le64_to_cpu(tp->tc_offset.tx_errors); in rtl8169_get_stats64()6831 le32_to_cpu(tp->tc_offset.tx_multi_collision); in rtl8169_get_stats64()6833 le16_to_cpu(tp->tc_offset.tx_aborted); in rtl8169_get_stats64()
3075 u16 *tc_size, u16 *tc_offset) in hclge_set_rss_tc_mode() argument3092 HCLGE_RSS_TC_OFFSET_S, tc_offset[i]); in hclge_set_rss_tc_mode()3354 u16 tc_offset[HCLGE_MAX_TC_NUM]; in hclge_rss_init_hw() local3394 tc_offset[i] = rss_size * i; in hclge_rss_init_hw()3397 return hclge_set_rss_tc_mode(hdev, tc_valid, tc_size, tc_offset); in hclge_rss_init_hw()5931 u16 tc_offset[HCLGE_MAX_TC_NUM]; in hclge_set_channels() local5970 tc_offset[i] = kinfo->rss_size * i; in hclge_set_channels()5972 ret = hclge_set_rss_tc_mode(hdev, tc_valid, tc_size, tc_offset); in hclge_set_channels()