> +        if (ukey) {
> +            ovs_mutex_lock(&ukey->mutex);
> +            ukey->mark = ukey->flow_exists = mark;
> +            ovs_mutex_unlock(&ukey->mutex);
>          }
>  
> -        if (!ukey) {
> -            ukey = ukey_create(udump->key, udump->key_len, used);
> -            hmap_insert(&revalidator->ukeys, &ukey->hmap_node,
> -                        udump->key_hash);
> +        if (!mark) {
> +            dump_op_init(&ops[n_ops++], key, key_len, ukey);
>          }

you remove unmarked datapath flows here.
ie. the datapath marks flows by updating "used" and
revalidate() performs sweep for them.

what kind of datapath flows will be left for
revalidator_sweep()?

YAMAMOTO Takashi
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to