On 2 Jul 2022, at 5:18, Jianbo Liu wrote: > To reuse the code for manipulating police action, move the common > initialization code to a function, and change PPS parameters as meter > pktps is in unit of packet per second. > > null_police is redundant because either BPS or PPS, not both, can be > configured in one message. So the police passed in to > nl_msg_put_act_police can be reused as its rate is zero for PPS, and > it also provides the index for police action to be created. > > Signed-off-by: Jianbo Liu <[email protected]>
Changes look good to me. Acked-by: Eelco Chaudron <[email protected]> _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
