From: "RichardHo [何明忠]" <richardho@ami.com>
To: "Chang, Abner" <Abner.Chang@amd.com>,
Pedro Falcato <pedro.falcato@gmail.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>,
"rebecca@bsdio.com" <rebecca@bsdio.com>
Cc: "Andrew Fish" <afish@apple.com>,
"Leif Lindholm" <quic_llindhol@quicinc.com>,
"Michael D Kinney" <michael.d.kinney@intel.com>,
"Michael Kubacki" <mikuback@linux.microsoft.com>,
"Zhiguang Liu" <zhiguang.liu@intel.com>,
"Liming Gao" <gaoliming@byosoft.com.cn>,
"Tinh Nguyen" <tinhnguyen@os.amperecomputing.com>,
"Tony Lo (羅金松)" <TonyLo@ami.com>,
"Marvin Häuser" <mhaeuser@posteo.de>
Subject: Re: [edk2-devel] [PATCH v7 1/3] UsbNetworkPkg/UsbRndis: Add USB RNDIS devices support
Date: Thu, 13 Apr 2023 02:33:43 +0000 [thread overview]
Message-ID: <CY8PR10MB64417489B77618D60BF314A1B0989@CY8PR10MB6441.namprd10.prod.outlook.com> (raw)
In-Reply-To: <MN2PR12MB39667385AC2CC6CE727C2017EA9B9@MN2PR12MB3966.namprd12.prod.outlook.com>
Hi Pedro,
Would you consent if I upstream the code to edk2/MdeModulePkg/Bus/Usb/UsbNetwork?
Thanks,
Richard
-----Original Message-----
From: Chang, Abner <Abner.Chang@amd.com>
Sent: 2023年4月12日 12:26 PM
To: Richard Ho (何明忠) <RichardHo@ami.com>; Pedro Falcato <pedro.falcato@gmail.com>; devel@edk2.groups.io; rebecca@bsdio.com
Cc: Andrew Fish <afish@apple.com>; Leif Lindholm <quic_llindhol@quicinc.com>; Michael D Kinney <michael.d.kinney@intel.com>; Michael Kubacki <mikuback@linux.microsoft.com>; Zhiguang Liu <zhiguang.liu@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>; Tinh Nguyen <tinhnguyen@os.amperecomputing.com>; Tony Lo (羅金松) <TonyLo@ami.com>; Marvin Häuser <mhaeuser@posteo.de>
Subject: RE: [EXTERNAL] Re: [edk2-devel] [PATCH v7 1/3] UsbNetworkPkg/UsbRndis: Add USB RNDIS devices support
[AMD Official Use Only - General]
Hi Richard and Pedro,
Understand that is the standard USB communication class device, that is why I think put it under MdeModulePkg/Bus/Usb/UsbNetwork makes more sense because it is similar to the USB mass storage or HID classes.
USB RNDIS driver and EDKII USB Ethernet protocol are on top of USB devices that akin to BLOCK IO protocol to USB MSD, which I think those two can be located under MdeModulePkg/Bus/Usb/UsbNetwork as well because those are only used by USB CDC devices.
That is no problem to add those fixed PCDs and other definitions such as protocol definitions in MdeModulePkg.dec if UsbNetwork is part of MdeModulePkg.
Thanks
Abner
> -----Original Message-----
> From: Richard Ho (何明忠) <RichardHo@ami.com>
> Sent: Wednesday, April 12, 2023 10:27 AM
> To: Pedro Falcato <pedro.falcato@gmail.com>; devel@edk2.groups.io;
> rebecca@bsdio.com; Chang, Abner <Abner.Chang@amd.com>
> Cc: Andrew Fish <afish@apple.com>; Leif Lindholm
> <quic_llindhol@quicinc.com>; Michael D Kinney
> <michael.d.kinney@intel.com>; Michael Kubacki
> <mikuback@linux.microsoft.com>; Zhiguang Liu <zhiguang.liu@intel.com>;
> Liming Gao <gaoliming@byosoft.com.cn>; Tinh Nguyen
> <tinhnguyen@os.amperecomputing.com>; Tony Lo (羅金松)
> <TonyLo@ami.com>; Marvin Häuser <mhaeuser@posteo.de>
> Subject: RE: [EXTERNAL] Re: [edk2-devel] [PATCH v7 1/3]
> UsbNetworkPkg/UsbRndis: Add USB RNDIS devices support
>
> Caution: This message originated from an External Source. Use proper
> caution when opening attachments, clicking links, or responding.
>
>
> Hi Pedro/Abner,
>
> UsbNetworkPkg provide the RNDIS/ECM/NCM device support that are
> implement form USB specification(we have other USB network device's
> driver to upstream).
> It is not specific USB device. The driver could work on any platform.
> So, we create UsbNetworkPkg same as NetworkPkg in edk2 repo.
>
> Currently, we have some Fixed PCDs in UsbNetworkPkg.dec. Can add it to
> MdeModulePkg.dec?
> Which one is better for upstream from below rules?
>
> #1: edk2-platforms/Features/UsbNetworkPkg
> #2: edk2/MdeModulePkg/Bus/Usb/UsbNetwork
> #3: edk2/UsbNetworkPkg
>
> Thanks,
> Richard
>
> -----Original Message-----
> From: Pedro Falcato <pedro.falcato@gmail.com>
> Sent: 2023年4月11日 8:39 PM
> To: devel@edk2.groups.io; rebecca@bsdio.com
> Cc: Richard Ho (何明忠) <RichardHo@ami.com>; Andrew Fish
> <afish@apple.com>; Leif Lindholm <quic_llindhol@quicinc.com>; Michael
> D Kinney <michael.d.kinney@intel.com>; Michael Kubacki
> <mikuback@linux.microsoft.com>; Zhiguang Liu <zhiguang.liu@intel.com>;
> Liming Gao <gaoliming@byosoft.com.cn>; Tinh Nguyen
> <tinhnguyen@os.amperecomputing.com>; Tony Lo (羅金松)
> <TonyLo@ami.com>; Marvin Häuser <mhaeuser@posteo.de>
> Subject: [EXTERNAL] Re: [edk2-devel] [PATCH v7 1/3]
> UsbNetworkPkg/UsbRndis: Add USB RNDIS devices support
>
>
> **CAUTION: The e-mail below is from an external source. Please
> exercise caution before opening attachments, clicking links, or
> following guidance.**
>
> On Tue, Apr 11, 2023 at 1:31 PM Rebecca Cran <rebecca@bsdio.com> wrote:
> > Given this is adding a new top-level package, I'd like to see a
> > review/feedback from the TianoCore Stewards.
>
> I would personally love to understand why this is being pushed as a
> top level package in edk2 when "supposedly" edk2-platforms/Features is
> the more correct approach here (as discussed with Sean, Nate a few months back).
>
> Or is that hellscape only reserved for me? :v
>
> --
> Pedro
> -The information contained in this message may be confidential and
> proprietary to American Megatrends (AMI). This communication is
> intended to be read only by the individual or entity to whom it is
> addressed or by their designee. If the reader of this message is not
> the intended recipient, you are on notice that any distribution of
> this message, in any form, is strictly prohibited. Please promptly
> notify the sender by reply e-mail or by telephone at 770-246-8600, and
> then delete or destroy all copies of the transmission.
-The information contained in this message may be confidential and proprietary to American Megatrends (AMI). This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.
next prev parent reply other threads:[~2023-04-13 2:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-07 11:27 [PATCH v7 1/3] UsbNetworkPkg/UsbRndis: Add USB RNDIS devices support RichardHo [何明忠]
2023-04-07 11:27 ` [PATCH v7 2/3] UsbNetworkPkg/UsbCdcEcm: Add USB Cdc ECM " RichardHo [何明忠]
2023-04-07 11:27 ` [PATCH v7 3/3] UsbNetworkPkg/UsbCdcNcm: Add USB Cdc NCM " RichardHo [何明忠]
2023-04-10 16:02 ` [PATCH v7 1/3] UsbNetworkPkg/UsbRndis: Add USB RNDIS " Rebecca Cran
2023-04-11 2:21 ` RichardHo [何明忠]
2023-04-11 5:08 ` [edk2-devel] " Chang, Abner
2023-04-11 12:31 ` Rebecca Cran
2023-04-11 12:38 ` [edk2-devel] " Pedro Falcato
2023-04-12 2:26 ` RichardHo [何明忠]
2023-04-12 4:25 ` Chang, Abner
2023-04-13 2:33 ` RichardHo [何明忠] [this message]
2023-04-18 17:16 ` Leif Lindholm
2023-04-19 16:34 ` Rebecca Cran
2023-04-20 1:55 ` RichardHo [何明忠]
2023-04-11 15:20 ` Rebecca Cran
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-list 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=CY8PR10MB64417489B77618D60BF314A1B0989@CY8PR10MB6441.namprd10.prod.outlook.com \
--to=devel@edk2.groups.io \
/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