Commit ca83bb3
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 24be453 commit ca83bb3
1 file changed
+1
-1
lines changed| 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