From: Greg KH <gregkh@linuxfoundation.org>
To: Jack Ping CHNG <jack.ping.chng@intel.com>
Cc: devel@driverdev.osuosl.org, cheol.yong.kim@intel.com,
andriy.shevchenko@intel.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org,
Amireddy Mallikarjuna reddy
<mallikarjunax.reddy@linux.intel.com>,
davem@davemloft.net
Subject: Re: [PATCH v2] staging: intel-gwdpa: gswip: Introduce Gigabit Ethernet Switch (GSWIP) device driver
Date: Wed, 11 Dec 2019 10:27:38 +0100 [thread overview]
Message-ID: <20191211092738.GA505511@kroah.com> (raw)
In-Reply-To: <5f85180573a3fb20238d6a340cdd990f140ed6f0.1576054234.git.jack.ping.chng@intel.com>
On Wed, Dec 11, 2019 at 04:57:28PM +0800, Jack Ping CHNG wrote:
> This driver enables the Intel's LGM SoC GSWIP block.
> GSWIP is a core module tailored for L2/L3/L4+ data plane and QoS functions.
> It allows CPUs and other accelerators connected to the SoC datapath
> to enqueue and dequeue packets through DMAs.
> Most configuration values are stored in tables such as
> Parsing and Classification Engine tables, Buffer Manager tables and
> Pseudo MAC tables.
Odd line wrapping :(
> Signed-off-by: Jack Ping CHNG <jack.ping.chng@intel.com>
> Signed-off-by: Amireddy Mallikarjuna reddy <mallikarjunax.reddy@linux.intel.com>
> ---
> Changes on v2:
> - Renamed intel-dpa to intel-gwdpa
> - Added intel-gwdpa.txt(Intel Gateway Datapath Architecture)
> - Added TODO (upstream plan)
I don't see a real plan here.
> drivers/staging/intel-gwdpa/TODO | 52 ++
Good, a TODO file! Let's look at it:
> --- /dev/null
> +++ b/drivers/staging/intel-gwdpa/TODO
> @@ -0,0 +1,52 @@
> +Intel gateway datapath architecture framework (gwdpa)
> +=====================================================
> +
> +Drivers for gwdpa
> +-----------------
> +1. drivers/staging/intel-gwdpa/gswip
> + patch: switch driver (GSWIP)
> +
> +2. drivers/staging/intel-gwdpa/cqm
> + patch: queue manager (CQM)
> +
> +3. drivers/staging/intel-gwdpa/pp
> + patch: packet processor (pp)
> +
> +4. drivers/staging/intel-gwdpa/dpm
> + patch: datapath manager (DPM)
> + dependencies: GSWIP, CQM, PP
> +
> +5. driver/net/ethernet/intel
> + patch: ethernet driver
> + dependencies: DPM
> +
> +6. drivers/staging/intel-gwdpa/dcdp
> + patch: direct connect datapath (DCDP)
> + dependencies: DPM
> +
> +7.1 drivers/net/wireless
> +7.2 drivers/net/wan
> + patch: wireless driver and DSL driver
> + dependencies: DCDP
I don't understand any of the above at all. What does it mean? Why is
it here?
If I can't understand it, how can someone new to the kernel know what
this is for?
> +Upstream plan
> +--------------
> +
> + GSWIP CQM PP DPM DCDP
> + | | | | |
> + | | | | |
> + V V V V V
> + -------------------------------------( drivers/staging/intel-gwdpa/* )
> + | (move to soc folder)
> + V
> + -------------------------( drivers/soc/intel/gwdpa-*/* )
> +
> + Eth driver Wireless/
> + | WAN driver
> + | |
> + V V
> + ----------------( drivers/net/ethernet/intel )
> + ( drivers/net/wireless )
> + ( drivers/net/wan)
> +
> +* Each driver will have a TODO list.
Again, what kind of plan is this? It's just a "these files need to be
moved to this location" plan?
Why not do that today?
What is keeping this code from being accepted in the "correct" place
today? And why do you want it in staging? You know it takes even more
work to do things here, right? Are you ready to sign up for that work
(hint, you didn't add your names to the MAINTAINER file, so I worry
about that...)
> diff --git a/drivers/staging/intel-gwdpa/gswip/TODO b/drivers/staging/intel-gwdpa/gswip/TODO
> new file mode 100644
> index 000000000000..fa46170c8260
> --- /dev/null
> +++ b/drivers/staging/intel-gwdpa/gswip/TODO
> @@ -0,0 +1,4 @@
> +- Add debugfs for core and mac.
Why is this a requirement for upstream support? No code functionality
should ever depend on debugfs for working properly, it's just there for
debugging at random times.
> +- Expand APIs for PCE, BM and PMAC tables to support
> + QoS, OMCI.
What does this mean?
> +- Add ops for core.
What does this mean?
Please provide much better descriptions here of exactly what needs to be
done, that explains why this code needs to go in this part of the kernel
now instead of the "real" part.
As it is, I can not take this patch now.
thanks,
greg k-h
next prev parent reply other threads:[~2019-12-11 9:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-11 8:57 [PATCH v2] staging: intel-gwdpa: gswip: Introduce Gigabit Ethernet Switch (GSWIP) device driver Jack Ping CHNG
2019-12-11 9:27 ` Greg KH [this message]
[not found] ` <BYAPR11MB317606F8BE2B60C4BAD872F1DE5A0@BYAPR11MB3176.namprd11.prod.outlook.com>
[not found] ` <c26e56cf-eb04-5992-252a-e66f6029d6ac@linux.intel.com>
2019-12-11 12:17 ` FW: " Greg KH
2019-12-11 16:03 ` Andrew Lunn
2019-12-11 9:29 ` Greg KH
2019-12-11 10:57 ` Dan Carpenter
[not found] ` <BYAPR11MB3176EB0A2BF59AAF161D4174DE5A0@BYAPR11MB3176.namprd11.prod.outlook.com>
2019-12-12 7:25 ` Chng, Jack Ping
2019-12-16 16:16 ` kbuild test robot
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=20191211092738.GA505511@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=andriy.shevchenko@intel.com \
--cc=cheol.yong.kim@intel.com \
--cc=davem@davemloft.net \
--cc=devel@driverdev.osuosl.org \
--cc=jack.ping.chng@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mallikarjunax.reddy@linux.intel.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).