Home
last modified time | relevance | path

Searched refs:tc_offset (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/realtek/
Dr8169_main.c681 struct rtl8169_tc_offsets tc_offset; member
1755 if (tp->tc_offset.inited) in rtl8169_init_counter_offsets()
1765 tp->tc_offset.tx_errors = counters->tx_errors; in rtl8169_init_counter_offsets()
1766 tp->tc_offset.tx_multi_collision = counters->tx_multi_collision; in rtl8169_init_counter_offsets()
1767 tp->tc_offset.tx_aborted = counters->tx_aborted; in rtl8169_init_counter_offsets()
1768 tp->tc_offset.inited = true; in rtl8169_init_counter_offsets()
6552 le64_to_cpu(tp->tc_offset.tx_errors); in rtl8169_get_stats64()
6554 le32_to_cpu(tp->tc_offset.tx_multi_collision); in rtl8169_get_stats64()
6556 le16_to_cpu(tp->tc_offset.tx_aborted); in rtl8169_get_stats64()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c633 u16 tc_offset[HCLGEVF_MAX_TC_NUM]; in hclgevf_set_rss_tc_mode() local
649 tc_offset[i] = rss_size * i; in hclgevf_set_rss_tc_mode()
659 HCLGEVF_RSS_TC_OFFSET_S, tc_offset[i]); in hclgevf_set_rss_tc_mode()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c4077 u16 *tc_size, u16 *tc_offset) in hclge_set_rss_tc_mode() argument
4094 HCLGE_RSS_TC_OFFSET_S, tc_offset[i]); in hclge_set_rss_tc_mode()
4391 u16 tc_offset[HCLGE_MAX_TC_NUM] = {0}; in hclge_rss_init_hw() local
4434 tc_offset[i] = rss_size * i; in hclge_rss_init_hw()
4437 return hclge_set_rss_tc_mode(hdev, tc_valid, tc_size, tc_offset); in hclge_rss_init_hw()
9541 u16 tc_offset[HCLGE_MAX_TC_NUM] = {0}; in hclge_set_channels() local
9571 tc_offset[i] = kinfo->rss_size * i; in hclge_set_channels()
9573 ret = hclge_set_rss_tc_mode(hdev, tc_valid, tc_size, tc_offset); in hclge_set_channels()
/Linux-v5.4/drivers/staging/media/allegro-dvt/
Dallegro-core.c352 s8 tc_offset; member
1030 msg.tc_offset = -1; in allegro_mcu_send_create_channel()