[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200529145546.0afa3471@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net>
Date: Fri, 29 May 2020 14:55:46 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Ioana Ciornei <ioana.ciornei@....com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"davem@...emloft.net" <davem@...emloft.net>
Subject: Re: [PATCH net-next v3 2/7] dpaa2-eth: Distribute ingress frames
based on VLAN prio
On Fri, 29 May 2020 21:41:38 +0000 Ioana Ciornei wrote:
> > 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]
>
> I don't' know what I am missing but I am not seeing these.
$ sparse --version
0.6.1
$ gcc --version
gcc (GCC) 10.0.1 20200504 (prerelease)
Build with W=1 C=1
Powered by blists - more mailing lists