Commit 594afe8
netdev-offload-dpdk: Fix vport hw-offload stat.
For vport devices hardware offload counters were being incremented
on the physical device but decremented on the vport, causing
incorrect statistics that didn't return to zero when flows are
removed.
Fix by using physdev instead of netdev for counter decrements to match
the increment behavior.
Fixes: 0e6366c ("netdev-offload-dpdk: Implement hw-offload statistics read.")
Signed-off-by: Linda Wang <[email protected]>
Signed-off-by: Kevin Traynor <[email protected]>1 parent cb4dd87 commit 594afe8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2375 | 2375 | | |
2376 | 2376 | | |
2377 | 2377 | | |
2378 | | - | |
| 2378 | + | |
2379 | 2379 | | |
2380 | 2380 | | |
2381 | 2381 | | |
| |||
0 commit comments