[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DM2PR03MB38337ABD2E9B11C92DCAF9FE6AB0@DM2PR03MB383.namprd03.prod.outlook.com>
Date: Sun, 28 Jun 2015 08:06:49 +0000
From: Liberman Igal <Igal.Liberman@...escale.com>
To: Paul Bolle <pebolle@...cali.nl>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: "linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
Scott Wood <scottwood@...escale.com>,
Madalin-Cristian Bucur <madalin.bucur@...escale.com>
Subject: RE: [v2,8/9] fsl/fman: Add FMan Port Support
Hi Paul,
All those exported functions are used by DPAA ETH driver, which was submitted by Bucur Madalin (only fm_port_get_buffer_time_stamp() is not used currently, I'll remove it).
Regards,
Igal Liberman.
> -----Original Message-----
> From: Paul Bolle [mailto:pebolle@...cali.nl]
> Sent: Friday, June 26, 2015 2:29 AM
> To: Liberman Igal-B31950; netdev@...r.kernel.org
> Cc: linuxppc-dev@...ts.ozlabs.org; Wood Scott-B07421; Bucur Madalin-
> Cristian-B32716
> Subject: Re: [v2,8/9] fsl/fman: Add FMan Port Support
>
> On Wed, 2015-06-24 at 22:37 +0300, igal.liberman@...escale.com wrote:
> > --- a/drivers/net/ethernet/freescale/fman/fm_drv.c
> > +++ b/drivers/net/ethernet/freescale/fman/fm_drv.c
>
> > +struct fm_port_t *fm_port_drv_handle(const struct fm_port_drv_t
> > +*port) {
> > + return port->fm_port;
> > +}
> > +EXPORT_SYMBOL(fm_port_drv_handle);
>
> I couldn't find any users of this function.
>
> > +void fm_port_get_buff_layout_ext_params(struct fm_port_drv_t *port,
> > +> > > > > struct fm_port_params *params)
>
> (Evolution 3.16 is a piece of ...).
>
> > +{
> > + params->data_align = 0;
> > +}
> > +EXPORT_SYMBOL(fm_port_get_buff_layout_ext_params);
>
> Ditto.
>
> > +int fm_get_tx_port_channel(struct fm_port_drv_t *port) {
> > + return port->tx_ch;
> > +}
> > +EXPORT_SYMBOL(fm_get_tx_port_channel);
>
> Ditto.
>
> > --- /dev/null
> > +++ b/drivers/net/ethernet/freescale/fman/fm_port_drv.c
>
> > +void fm_set_rx_port_params(struct fm_port_drv_t *port,
> > + struct fm_port_params *params)
> > +{
> + [...]
> > +}
> > +EXPORT_SYMBOL(fm_set_rx_port_params);
>
> Ditto.
>
> (If you hear about my arrest for randomly attacking innocent people:
> blame evolution 3.16!)
>
> > +void fm_set_tx_port_params(struct fm_port_drv_t *port,
> > + struct fm_port_params *params)
> > +{
> > + [...]
> > +}
> > +EXPORT_SYMBOL(fm_set_tx_port_params);
>
> Ditto.
>
> > --- /dev/null
> > +++ b/drivers/net/ethernet/freescale/fman/port/fm_port.c
>
> > +u64 *fm_port_get_buffer_time_stamp(const struct fm_port_t
> *p_fm_port,
> > + char *p_data)
> > +{
> > + [...]
> > +}
> > +EXPORT_SYMBOL(fm_port_get_buffer_time_stamp);
>
> Ditto.
>
> > +int fm_port_disable(struct fm_port_t *p_fm_port) {
> > + [...]
> > +}
> > +EXPORT_SYMBOL(fm_port_disable);
>
> This exports a function that I think is only used inside this file.
>
> > +int fm_port_enable(struct fm_port_t *p_fm_port) {
> > + [...]
> > +}
> > +EXPORT_SYMBOL(fm_port_enable);
>
> And here I could again find no users of this function.
>
> Thanks,
>
>
> Paul Bolle
Powered by blists - more mailing lists