[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpW_x6bN1Ea1sGv4XpNauXEpu+fKOhoW6350ztYF5izhGg@mail.gmail.com>
Date: Thu, 5 Sep 2019 10:04:12 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: David Dai <zdai@...ux.vnet.ibm.com>
Cc: Jamal Hadi Salim <jhs@...atatu.com>, Jiri Pirko <jiri@...nulli.us>,
David Miller <davem@...emloft.net>,
Linux Kernel Network Developers <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>, zdai@...ibm.com
Subject: Re: [v3] net_sched: act_police: add 2 new attributes to support
police 64bit rate and peakrate
On Wed, Sep 4, 2019 at 8:03 AM David Dai <zdai@...ux.vnet.ibm.com> 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). 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@...ux.vnet.ibm.com>
> Signed-off-by: David Dai <zdai@...ux.vnet.ibm.com>
Acked-by: Cong Wang <xiyou.wangcong@...il.com>
Thanks.
Powered by blists - more mailing lists