[ovs-discuss] [ovs-dev] meter stats cleared when modify meter bands

Tonghao Zhang xiangxia.m.yue at gmail.com
Wed Jul 28 05:46:21 UTC 2021

On Wed, Jul 28, 2021 at 10:57 AM ychen <ychen103103 at 163.com> wrote:
> Hi, all:
>     I have a question why meter stats need  cleared when just modify meter bands?
>     when call function handle_modify_meter(), it finally call function dpif_netdev_meter_set(), in this function new dp_meter will be allocated and attched, hence stats will be cleared.
>    if we just update dp_meter bands configuration, so the stats will be keeped when meter modify.
>    Is there any consideration about this meter modify action?
The commit 80738e5f93a70 supports the meter for kernel datapath.
and even though kernel modules support to set stats, but userspace
doesn't set them.

If needed, we can support this.

> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Best regards, Tonghao

More information about the discuss mailing list