qcacmn: Add cdp api to get accumulated pdev tid stats
Add cdp api to get accumulated pdev tid stats along with per tid total tid rx and tx stats. Change-Id: I7862c4265f199d0588d8865c5ed97e06010dd79f CRs-Fixed: 3207499
This commit is contained in:

committed by
Madan Koyyalamudi

parent
1049507d23
commit
120fb06e12
@@ -1042,6 +1042,20 @@ struct cdp_tid_stats {
|
||||
[CDP_MAX_DATA_TIDS];
|
||||
};
|
||||
|
||||
/*
|
||||
* struct cdp_tid_stats_intf
|
||||
* @ingress_stack: Total packets received from linux stack
|
||||
* @osif_drop: drops in osif layer
|
||||
* @tx_total: total of per ring transmit counters per tid
|
||||
* @rx_total: total of per ring receive counters per tid
|
||||
*/
|
||||
struct cdp_tid_stats_intf {
|
||||
uint64_t ingress_stack;
|
||||
uint64_t osif_drop;
|
||||
struct cdp_tid_tx_stats tx_total[CDP_MAX_DATA_TIDS];
|
||||
struct cdp_tid_rx_stats rx_total[CDP_MAX_DATA_TIDS];
|
||||
};
|
||||
|
||||
/*
|
||||
* struct cdp_delay_tx_stats: Tx delay stats
|
||||
* @tx_swq_delay: software enqueue delay
|
||||
|
Reference in New Issue
Block a user