Home
last modified time | relevance | path

Searched refs:DSAF_PRIO_NR (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.h37 #define DSAF_PRIO_NR 8 macro
204 u64 rx_pfc[DSAF_PRIO_NR];
205 u64 tx_pfc[DSAF_PRIO_NR];
Dhns_dsaf_main.c2240 for (i = 0; i < DSAF_PRIO_NR; i++) { in hns_dsaf_update_stats()
2621 for (i = 0; i < DSAF_PRIO_NR; i++) { in hns_dsaf_get_node_stats_strings()
2622 snprintf(buff + 0 * ETH_GSTRING_LEN * DSAF_PRIO_NR, in hns_dsaf_get_node_stats_strings()
2625 snprintf(buff + 1 * ETH_GSTRING_LEN * DSAF_PRIO_NR, in hns_dsaf_get_node_stats_strings()
2630 buff += 1 * DSAF_PRIO_NR * ETH_GSTRING_LEN; in hns_dsaf_get_node_stats_strings()
2660 for (i = 0; i < DSAF_PRIO_NR; i++) { in hns_dsaf_get_node_stats()
2661 p[13 + i + 0 * DSAF_PRIO_NR] = hw_stats->rx_pfc[i]; in hns_dsaf_get_node_stats()
2662 p[13 + i + 1 * DSAF_PRIO_NR] = hw_stats->tx_pfc[i]; in hns_dsaf_get_node_stats()