Commit 471feaa
net: macb: use the current queue number for stats
gem_get_ethtool_stats calculates the size of the statistics
data to copy always considering maximum number of queues.
The patch makes sure the statistics are copied only for the
active queues as returned in the string set count op.
Signed-off-by: Paolo Valerio <pvalerio@redhat.com>1 parent 16d11f4 commit 471feaa
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3525 | 3525 | | |
3526 | 3526 | | |
3527 | 3527 | | |
3528 | | - | |
| 3528 | + | |
3529 | 3529 | | |
3530 | 3530 | | |
3531 | 3531 | | |
| |||
0 commit comments