[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211208085814.19e4ec71@fixe.home>
Date: Wed, 8 Dec 2021 08:58:14 +0100
From: Clément Léger <clement.leger@...tlin.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: "David S. Miller" <davem@...emloft.net>,
Rob Herring <robh+dt@...nel.org>,
Vladimir Oltean <vladimir.oltean@....com>,
Claudiu Manoil <claudiu.manoil@....com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
UNGLinuxDriver@...rochip.com, Andrew Lunn <andrew@...n.ch>,
netdev@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
Denis Kirjanov <dkirjanov@...e.de>,
Julian Wiedmann <jwi@...ux.ibm.com>
Subject: Re: [PATCH net-next v6 4/4] net: ocelot: add FDMA support
Le Tue, 7 Dec 2021 19:45:14 -0800,
Jakub Kicinski <kuba@...nel.org> a écrit :
> On Tue, 7 Dec 2021 16:48:39 +0100 Clément Léger wrote:
> > + * struct ocelot_fdma - FDMA struct
> > + *
> > + * @ocelot: Pointer to ocelot struct
> > + * @base: base address of FDMA registers
> > + * @irq: FDMA interrupt
> > + * @ndev: Net device used to initialize NAPI
> > + * @dcbs_base: Memory coherent DCBs
> > + * @dcbs_dma_base: DMA base address of memory coherent DCBs
> > + * @tx_ring: Injection ring
> > + * @rx_ring: Extraction ring
> > + */
> > +struct ocelot_fdma {
> > + int irq;
> > + struct net_device *ndev;
> > + struct ocelot_fdma_dcb *dcbs_base;
> > + dma_addr_t dcbs_dma_base;
> > + struct ocelot_fdma_tx_ring tx_ring;
> > + struct ocelot_fdma_rx_ring rx_ring;
> > + struct napi_struct napi;
> > + struct ocelot *ocelot;
>
> one more nit:
>
> drivers/net/ethernet/mscc/ocelot_fdma.h:156: warning: Function parameter or member 'napi' not described in 'ocelot_fdma'
And base does not exists anymore. I will also reorder the members in
the doc to match the struct.
--
Clément Léger,
Embedded Linux and Kernel engineer at Bootlin
https://bootlin.com
Powered by blists - more mailing lists