From: Igal Liberman
Add the Data Path Acceleration Architecture Frame Manger Driver.
The FMan embeds a series of hardware blocks that implement a group
of Ethernet interfaces. This patch adds The FMan configuration,
initialization and runtime control routines.
The FMan driver supports several ha
6
>
> Subject: Re: [V5, 2/6] fsl/fman: Add FMan support
>
> On Mon, Sep 21, 2015 at 02:52:34PM +0300, Igal.Liberman wrote:
> > diff --git a/drivers/net/ethernet/freescale/fman/fman.c
> > b/drivers/net/ethernet/freescale/fman/fman.c
> > new file mode 100644
> > inde
On Tue, 2015-10-27 at 11:32 -0500, Liberman Igal-B31950 wrote:
> > > +
> > > +struct device *fman_get_device(struct fman *fman) {
> > > + return fman->dev;
> > > +}
> >
> > Is this really necessary?
> >
>
> Fman port needs fman->dev, fman structure is opaque, so yes, it's needed.
Why is opacit
;
> Subject: Re: [V5, 2/6] fsl/fman: Add FMan support
>
> On Tue, 2015-10-27 at 11:32 -0500, Liberman Igal-B31950 wrote:
>
> > > > +
> > > > +struct device *fman_get_device(struct fman *fman) { return
> > > > +fman->dev; }
> > >
> &
g; linuxppc-...@lists.ozlabs.org; linux-
> > ker...@vger.kernel.org; Bucur Madalin-Cristian-B32716
> >
> > Subject: Re: [V5, 2/6] fsl/fman: Add FMan support
> >
> > On Tue, 2015-10-27 at 11:32 -0500, Liberman Igal-B31950 wrote:
> >
> > > > > +
&
October 28, 2015 11:31 PM
> > > To: Liberman Igal-B31950
> > > Cc: netdev@vger.kernel.org; linuxppc-...@lists.ozlabs.org; linux-
> > > ker...@vger.kernel.org; Bucur Madalin-Cristian-B32716
> > >
> > > Subject: Re: [V5, 2/6] fsl/fman: Add FMan support
&
On Thu, Sep 24, 2015 at 12:10:34PM +0300, igal.liber...@freescale.com wrote:
> +int fman_get_rx_extra_headroom(void)
> +{
> + static bool fm_check_rx_extra_headroom;
> +
> + if (!fm_check_rx_extra_headroom) {
> + if (fsl_fm_rx_extra_headroom > FSL_FM_RX_EXTRA_HEADROOM_MAX ||
> +