Commit 3e1f045
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 c8741bc commit 3e1f045
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3529 | 3529 | | |
3530 | 3530 | | |
3531 | 3531 | | |
3532 | | - | |
| 3532 | + | |
3533 | 3533 | | |
3534 | 3534 | | |
3535 | 3535 | | |
| |||
0 commit comments