From: Scott Wood <scottwood@freescale.com>
To: Liberman Igal-B31950 <Igal.Liberman@freescale.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Bucur Madalin-Cristian-B32716" <madalin.bucur@freescale.com>
Subject: Re: [V5, 2/6] fsl/fman: Add FMan support
Date: Thu, 29 Oct 2015 10:24:39 -0500 [thread overview]
Message-ID: <1446132279.701.368.camel@freescale.com> (raw)
In-Reply-To: <DM2PR03MB509C1B1A5272C9D0A9F8295E6200@DM2PR03MB509.namprd03.prod.outlook.com>
On Thu, 2015-10-29 at 10:22 -0500, Liberman Igal-B31950 wrote:
> Regards,
> Igal Liberman
>
> > -----Original Message-----
> > From: Wood Scott-B07421
> > Sent: Wednesday, October 28, 2015 11:31 PM
> > To: Liberman Igal-B31950 <Igal.Liberman@freescale.com>
> > Cc: netdev@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; linux-
> > kernel@vger.kernel.org; Bucur Madalin-Cristian-B32716
> > <madalin.bucur@freescale.com>
> > 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; }
> > > >
> > > > Is this really necessary?
> > > >
> > >
> > > Fman port needs fman->dev, fman structure is opaque, so yes, it's
> > > needed.
> >
> > Why is opacity being maintained from one part of the fman driver to
> > another?
> > Isn't this the sort of excessive layering that was complained about?
> >
> >
>
> It's not really layering.
> Fman Port uses Fman resources, it's not completely standalone.
That's my point -- if it's not standalone, why is "struct fman" opaque to the
port code?
-Scott
next prev parent reply other threads:[~2015-10-29 15:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1442836354-5445-1-git-send-email-igal.liberman@freescale.com>
2015-09-25 23:01 ` [V5, 2/6] fsl/fman: Add FMan support Scott Wood
2015-10-27 16:32 ` Liberman Igal
2015-10-28 21:30 ` Scott Wood
2015-10-29 15:22 ` Liberman Igal
2015-10-29 15:24 ` Scott Wood [this message]
2015-10-29 16:08 ` Liberman Igal
2015-09-24 9:10 [v5, 0/6] Freescale DPAA FMan igal.liberman
2015-09-24 9:10 ` [v5, 2/6] fsl/fman: Add FMan support igal.liberman
2015-10-02 3:35 ` Scott Wood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1446132279.701.368.camel@freescale.com \
--to=scottwood@freescale.com \
--cc=Igal.Liberman@freescale.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=madalin.bucur@freescale.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).