diff options
author | David Dai <zdai@linux.vnet.ibm.com> | 2019-09-04 18:03:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-06 16:02:16 +0300 |
commit | d1967e495a8d1dd6b8ff2df9d3e045c5d60a37a6 (patch) | |
tree | 2fc0a2e51297a8fe513c9f61fd6e5ea1392fe482 /net/sched/Kconfig | |
parent | 95a7233c452a58a4c2310c456c73997853b2ec46 (diff) | |
download | linux-d1967e495a8d1dd6b8ff2df9d3e045c5d60a37a6.tar.xz |
net_sched: act_police: add 2 new attributes to support police 64bit rate and peakrate
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). Add 2 new attributes
TCA_POLICE_RATE64 and TCA_POLICE_RATE64 in kernel for 64bit support
so that tc utility can use them for 64bit rate and peakrate value to
break the 32bit limit, and still keep the backward binary compatibility.
Tested-by: David Dai <zdai@linux.vnet.ibm.com>
Signed-off-by: David Dai <zdai@linux.vnet.ibm.com>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/Kconfig')
0 files changed, 0 insertions, 0 deletions