On 25.10.2019 20:46, Ben Pfaff wrote:
A lot of the offload implementations didn't bother to initialize the
statistics they were supposed to return. I don't know whether any of
the callers actually use them, but it looked wrong.
Found by inspection.
Signed-off-by: Ben Pfaff <[email protected]>
---
lib/netdev-dummy.c | 10 ++++++++--
lib/netdev-offload-dpdk.c | 10 ++++++++--
lib/netdev-offload-tc.c | 5 ++++-
3 files changed, 20 insertions(+), 5 deletions(-)
This looks correct.
'dummy' and 'dpdk' implementations doesn't support stats at all, so
these should be cleared. 'tc' needs some more work to return stats
on flow replacing, but this should be a separate change.
Acked-by: Ilya Maximets <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev