mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
nvethernet: match stats count to num of vdma
In T164 MTL Q numbers are not same as VDMA, so change ether_xtra_stat_counters to match VDMA number Ported from - https://git-master.nvidia.com/r/c/nvethernet-docs/+/2992110 Bug 4316080 Change-Id: Id8e4f1b37f4aa6d84e4faa0c2b03c42d1cfd4cc2 Signed-off-by: Mahesh Patil <maheshp@nvidia.com>
This commit is contained in:
committed by
Bhadram Varka
parent
90a31dac49
commit
2b4c6bc2fb
@@ -412,13 +412,13 @@ struct ether_timestamp_skb_list {
|
||||
*/
|
||||
struct ether_xtra_stat_counters {
|
||||
/** rx skb allocation failure count */
|
||||
nveu64_t re_alloc_rxbuf_failed[OSI_MGBE_MAX_NUM_QUEUES];
|
||||
nveu64_t re_alloc_rxbuf_failed[OSI_MGBE_MAX_NUM_CHANS];
|
||||
/** TX per channel interrupt count */
|
||||
nveu64_t tx_normal_irq_n[OSI_MGBE_MAX_NUM_QUEUES];
|
||||
nveu64_t tx_normal_irq_n[OSI_MGBE_MAX_NUM_CHANS];
|
||||
/** TX per channel SW timer callback count */
|
||||
nveu64_t tx_usecs_swtimer_n[OSI_MGBE_MAX_NUM_QUEUES];
|
||||
nveu64_t tx_usecs_swtimer_n[OSI_MGBE_MAX_NUM_CHANS];
|
||||
/** RX per channel interrupt count */
|
||||
nveu64_t rx_normal_irq_n[OSI_MGBE_MAX_NUM_QUEUES];
|
||||
nveu64_t rx_normal_irq_n[OSI_MGBE_MAX_NUM_CHANS];
|
||||
/** link connect count */
|
||||
nveu64_t link_connect_count;
|
||||
/** link disconnect count */
|
||||
|
||||
Reference in New Issue
Block a user