lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191125.105331.639161854641719732.davem@davemloft.net>
Date:   Mon, 25 Nov 2019 10:53:31 -0800 (PST)
From:   David Miller <davem@...emloft.net>
To:     po.liu@....com
Cc:     linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
        vinicius.gomes@...el.com, claudiu.manoil@....com,
        vladimir.oltean@....com, alexandru.marginean@....com,
        xiaoliang.yang_1@....com, roy.zang@....com, mingkai.hu@....com,
        jerry.huang@....com, leoyang.li@....com
Subject: Re: [v2,net-next] enetc: add support Credit Based Shaper(CBS) for
 hardware offload

From: Po Liu <po.liu@....com>
Date: Mon, 25 Nov 2019 05:56:56 +0000

> The ENETC hardware support the Credit Based Shaper(CBS) which part
> of the IEEE-802.1Qav. The CBS driver was loaded by the sch_cbs
> interface when set in the QOS in the kernel.
> 
> Here is an example command to set 20Mbits bandwidth in 1Gbits port
> for taffic class 7:
> 
> tc qdisc add dev eth0 root handle 1: mqprio \
> 	   num_tc 8 map 0 1 2 3 4 5 6 7 hw 1
> 
> tc qdisc replace dev eth0 parent 1:8 cbs \
> 	   locredit -1470 hicredit 30 \
> 	   sendslope -980000 idleslope 20000 offload 1
> 
> Signed-off-by: Po Liu <Po.Liu@....com>
> Reviewed-by: Claudiu Manoil <claudiu.manoil@....com>
> Reviewed-by: Vladimir Oltean <vladimir.oltean@....com>

Applied, thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ