Re: [v2] iproute2-next: police: support 64bit rate and peakrate in tc utility

2019-08-30 Thread Stephen Hemminger
On Fri, 30 Aug 2019 14:07:17 -0500 David Dai wrote: > + if (rate64) { > fprintf(stderr, "Double \"rate\" spec\n"); > return -1; > } The m_police filter should start using the common functions

[v2] iproute2-next: police: support 64bit rate and peakrate in tc utility

2019-08-30 Thread David Dai
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