[ovs-dev] netdev-linux: Fix ingress policing burst rate configuration via tc

Ryan Moats rmoats at us.ibm.com
Thu Apr 21 14:22:27 UTC 2016


> --- Original Message ---
> The tc_police structure was filled with a value calculated in bits
> instead of bytes while bytes were expected. This led the setting
> of an x8 higher burst value.
>
> Documentation and defaults have been corrected accordingly to minimize
> nuisances on users sticking to the defaults.
>
> The suggested burst value is now 80% of policing rate to make sure
> TCP works correctly.
>
> Signed-off-by: Miguel Angel Ajo <majopela at redhat.com>
> Tested-by: Miguel Angel Ajo <majopela at redhat.com>

I guess it would have been nice to have a unit test for this, but it does
work and makes sense, so...

Acked-by: Ryan Moats <rmoats at us.ibm.com>



More information about the dev mailing list