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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAA93jw63P06fc=64tss_GJDsw7N=Ucg3pXai_25eT-EK4FysHA@mail.gmail.com>
Date:   Sun, 26 Jan 2020 11:00:16 -0800
From:   Dave Taht <dave.taht@...il.com>
To:     sunil.kovvuri@...il.com
Cc:     Linux Kernel Network Developers <netdev@...r.kernel.org>,
        "David S. Miller" <davem@...emloft.net>, kubakici@...pl,
        Michal Kubeček <mkubecek@...e.cz>,
        maciej.fijalkowski@...el.com, Sunil Goutham <sgoutham@...vell.com>,
        Geetha sowjanya <gakula@...vell.com>
Subject: Re: [PATCH v5 04/17] octeontx2-pf: Initialize and config queues

I guess my question generally is, what form of RED is implemented in
the hardware?

http://mirrors.bufferbloat.net/~jg/RelevantPapers/Red_in_a_different_light.pdf

> +/* RED and drop levels of CQ on packet reception.
> + * For CQ level is measure of emptiness ( 0x0 = full, 255 = empty).
> + */
> +#define RQ_PASS_LVL_CQ(skid, qsize)    ((((skid) + 16) * 256) / (qsize))
> +#define RQ_DROP_LVL_CQ(skid, qsize)    (((skid) * 256) / (qsize))
> +
> +/* RED and drop levels of AURA for packet reception.
> + * For AURA level is measure of fullness (0x0 = empty, 255 = full).
> + * Eg: For RQ length 1K, for pass/drop level 204/230.
> + * RED accepts pkts if free pointers > 102 & <= 205.
> + * Drops pkts if free pointers < 102.
> + */
> +#define RQ_PASS_LVL_AURA (255 - ((95 * 256) / 100)) /* RED when 95% is full */
> +#define RQ_DROP_LVL_AURA (255 - ((99 * 256) / 100)) /* Drop when 99% is full */

I guess my question generally is, what form of RED is implemented in
the hardware?

(what's aura?)

http://mirrors.bufferbloat.net/~jg/RelevantPapers/Red_in_a_different_light.pdf

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ