Re: [v1] iproute2: police: support 64bit rate and peakrate in tc utility
From: Stephen Hemminger
Date: Thu Aug 29 2019 - 19:21:21 EST
On Wed, 28 Aug 2019 17:52:56 -0500
David Dai <zdai@xxxxxxxxxxxxxxxxxx> wrote:
> For high speed adapter like Mellanox CX-5 card, it can reach upto
> 100 Gbits per second bandwidth. Currently htb already supports 64bit rate
> in tc utility. However police action rate and peakrate are still limited
> to 32bit value (upto 32 Gbits per second). Taking advantage of the 2 new
> attributes TCA_POLICE_RATE64 and TCA_POLICE_PEAKRATE64 from kernel,
> tc can use them to break the 32bit limit, and still keep the backward
> binary compatibility.
>
> Tested-by: David Dai <zdai@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: David Dai <zdai@xxxxxxxxxxxxxxxxxx>
This needs to go to iproute2-next not iproute2