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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230417114130.GB11474@pengutronix.de>
Date:   Mon, 17 Apr 2023 13:41:30 +0200
From:   Oleksij Rempel <o.rempel@...gutronix.de>
To:     Vladimir Oltean <olteanv@...il.com>
Cc:     "David S. Miller" <davem@...emloft.net>,
        Andrew Lunn <andrew@...n.ch>,
        Eric Dumazet <edumazet@...gle.com>,
        Florian Fainelli <f.fainelli@...il.com>,
        Jakub Kicinski <kuba@...nel.org>,
        Paolo Abeni <pabeni@...hat.com>,
        Woojung Huh <woojung.huh@...rochip.com>,
        Arun Ramadoss <arun.ramadoss@...rochip.com>,
        kernel@...gutronix.de, linux-kernel@...r.kernel.org,
        netdev@...r.kernel.org, UNGLinuxDriver@...rochip.com
Subject: Re: [PATCH net-next v1 2/2] net: dsa: microchip: Add partial ACL
 support for ksz9477 switches

On Sun, Apr 16, 2023 at 07:59:04PM +0300, Vladimir Oltean wrote:
> On Thu, Apr 13, 2023 at 06:29:36AM +0200, Oleksij Rempel wrote:
> > According to KSZ9477S 5.2.8.2 Port Priority Control Register
> > "To achieve the desired functionality, do not set more than one bit at a
> > time in this register.
> > ...
> > Bit 6 - OR’ed Priority
> > ...
> > Bit 2 - 802.1p Priority Classification
> > Bit 1 - Diffserv Priority Classification
> > Bit 0 - ACL Priority Classification
> > "
> > @Arun  what will happen if multiple engines are used for packet
> > prioritization? For example ACL || Diffserv || 802.1p... ?
> > If I see it correctly, it is possible but not recommended. Should I
> > prevent usage of multiple prio sources? 
> 
> You could try and find out which one takes priority... we support VLAN
> PCP and DSCP prioritization through the dcbnl application priority table.

According to my tests, ACL has higher priority compared to 802.1p module.

dcbnl is a new word for me, will need to understand if first :)
What is the best example to use it with DSCP?

Regards,
Oleksij
-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ