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: <20200529141310.55facd7e@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net>
Date:   Fri, 29 May 2020 14:13:10 -0700
From:   Jakub Kicinski <kuba@...nel.org>
To:     Ioana Ciornei <ioana.ciornei@....com>
Cc:     netdev@...r.kernel.org, davem@...emloft.net,
        Ioana Radulescu <ruxandra.radulescu@....com>
Subject: Re: [PATCH net-next v3 2/7] dpaa2-eth: Distribute ingress frames
 based on VLAN prio

On Fri, 29 May 2020 20:43:40 +0300 Ioana Ciornei wrote:
> From: Ioana Radulescu <ruxandra.radulescu@....com>
> 
> Configure static ingress classification based on VLAN PCP field.
> If the DPNI doesn't have enough traffic classes to accommodate all
> priority levels, the lowest ones end up on TC 0 (default on miss).
> 
> Signed-off-by: Ioana Radulescu <ruxandra.radulescu@....com>
> Signed-off-by: Ioana Ciornei <ioana.ciornei@....com>
> ---
> Changes in v3:
>  - revert to explicitly cast mask to u16 * to not get into
>    sparse warnings

Doesn't seem to have worked:

../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:2761:22: warning: incorrect type in assignment (different base types)
../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:2761:22:    expected unsigned short [usertype]
../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:2761:22:    got restricted __be16 [usertype]
../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:2780:29: warning: incorrect type in assignment (different base types)
../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:2780:29:    expected unsigned short [usertype]
../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:2780:29:    got restricted __be16 [usertype]

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ