[ovs-dev] [PATCH v2 1/2] add port-based ingress policing based packet-per-second rate-limiting

2021-05-17 Thread Simon Horman
From: Yong Xu OVS has support for using policing to enforce a rate limit in kilobits per second. This is configured using OVSDB. f.e. $ ovs-vsctl set interface tap0 ingress_policing_rate=1000 $ ovs-vsctl set interface tap0 ingress_policing_burst=100 This patch adds a related feature, allowing p

Re: [ovs-dev] [PATCH v2 1/2] add port-based ingress policing based packet-per-second rate-limiting

2021-05-17 Thread 0-day Robot
Bleep bloop. Greetings Simon Horman, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. checkpatch: WARNING: Unexpected sign-offs from developers who are not authors or co-authors or committers:

Re: [ovs-dev] [PATCH v2 1/2] add port-based ingress policing based packet-per-second rate-limiting

2021-05-20 Thread Marcelo Ricardo Leitner
Hi, On Mon, May 17, 2021 at 01:18:53PM +0200, Simon Horman wrote: ... > @@ -547,6 +549,12 @@ is_tap_netdev(const struct netdev *netdev) > return netdev_get_class(netdev) == &netdev_tap_class; > } > > +enum { > +OVS_TC_QOS_TYPE_BPS, > +OVS_TC_QOS_TYPE_PPS, > +OVS_TC_QOS_TYPE_MA

Re: [ovs-dev] [PATCH v2 1/2] add port-based ingress policing based packet-per-second rate-limiting

2021-06-04 Thread Simon Horman
Hi, On Thu, May 20, 2021 at 08:48:53AM -0700, Marcelo Ricardo Leitner wrote: > Hi, > > On Mon, May 17, 2021 at 01:18:53PM +0200, Simon Horman wrote: ... > > @@ -2593,24 +2601,50 @@ tc_matchall_fill_police(uint32_t kbits_rate, > > uint32_t kbits_burst) > > } > > > > static void > > -nl_msg_pu