[AMD Official Use Only - General]

Ok, thanks. Then we will just merge 1/3 and 2/3.

Not quite right, as maintainer has to change the label to "push" on PR then CI 
will merge it automatically. So, there must be a PR for the change.  Also for 
the CI tests.

Thanks
Abner

> -----Original Message-----
> From: Mike Maslenkin <[email protected]>
> Sent: Monday, November 27, 2023 4:41 AM
> To: Chang, Abner <[email protected]>
> Cc: [email protected]; Nickle Wang <[email protected]>;
> [email protected]
> Subject: Re: [edk2-devel] [PATCH v2 3/3] RedfishPkg: fix searching for the
> BMC-exposed USB NIC
>
> Caution: This message originated from an External Source. Use proper caution
> when opening attachments, clicking links, or responding.
>
>
> Hi Abner,
>
> I agree with your fixes.
> This patch can be dropped from this set.
>
> BTW, do I understand correctly, PR is not required because changes are 
> trivial?
>
> Regards,
> Mike.
>
> On Thu, Nov 23, 2023 at 6:06 AM Chang, Abner <[email protected]>
> wrote:
> >
> > [AMD Official Use Only - General]
> >
> > Good to go. We can merge this after code freeze.
> >
> > Abner
> >
> > > -----Original Message-----
> > > From: [email protected] <[email protected]> On Behalf Of
> Chang,
> > > Abner via groups.io
> > > Sent: Thursday, November 23, 2023 9:20 AM
> > > To: Nickle Wang <[email protected]>; Mike Maslenkin
> > > <[email protected]>; [email protected]
> > > Cc: [email protected]
> > > Subject: Re: [edk2-devel] [PATCH v2 3/3] RedfishPkg: fix searching for the
> > > BMC-exposed USB NIC
> > >
> > > [AMD Official Use Only - General]
> > >
> > > Caution: This message originated from an External Source. Use proper
> caution
> > > when opening attachments, clicking links, or responding.
> > >
> > >
> > > [AMD Official Use Only - General]
> > >
> > > HI Nickle and Mike,
> > > I also have some fixes and revised BMC USB NIC library for searching BMC
> > > exposed NIC.
> > > Please don't not merge this patch set just for now. I will review this and
> > > compare with the changes I have.
> > >
> > > Thanks
> > > Abner
> > >
> > > > -----Original Message-----
> > > > From: Nickle Wang <[email protected]>
> > > > Sent: Thursday, November 23, 2023 8:24 AM
> > > > To: Mike Maslenkin <[email protected]>;
> [email protected]
> > > > Cc: Chang, Abner <[email protected]>; [email protected]
> > > > Subject: RE: [PATCH v2 3/3] RedfishPkg: fix searching for the BMC-
> exposed
> > > > USB NIC
> > > >
> > > > Caution: This message originated from an External Source. Use proper
> > > caution
> > > > when opening attachments, clicking links, or responding.
> > > >
> > > >
> > > > Reviewed-by: Nickle Wang <[email protected]>
> > > >
> > > > Regards,
> > > > Nickle
> > > >
> > > > > -----Original Message-----
> > > > > From: Mike Maslenkin <[email protected]>
> > > > > Sent: Thursday, November 23, 2023 8:01 AM
> > > > > To: [email protected]
> > > > > Cc: [email protected]; Nickle Wang <[email protected]>;
> > > > > [email protected]
> > > > > Subject: [PATCH v2 3/3] RedfishPkg: fix searching for the BMC-exposed
> > > USB
> > > > NIC
> > > > >
> > > > > External email: Use caution opening links or attachments
> > > > >
> > > > >
> > > > > According to RedfishPkg/Readme.md document:
> > > > > "The last byte of host-end USB NIC MAC address is the last byte of
> BMC-
> > > end
> > > > USB
> > > > > NIC MAC address minus 1."
> > > > >
> > > > > It is necessary to subtract 1 from IpmiLanChannelMacAddress.
> > > > >
> > > > > Cc: Abner Chang <[email protected]>
> > > > > Cc: Nickle Wang <[email protected]>
> > > > > Cc: Igor Kulchytskyy <[email protected]>
> > > > > Signed-off-by: Mike Maslenkin <[email protected]>
> > > > > ---
> > > > >  .../PlatformHostInterfaceBmcUsbNicLib.c                       | 4 
> > > > > ++--
> > > > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > > > >
> > > > > diff --git
> > > > >
> > > >
> > >
> a/RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostInter
> > > > fac
> > > > > eBmcUsbNicLib.c
> > > > >
> > > >
> > >
> b/RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostInter
> > > > fac
> > > > > eBmcUsbNicLib.c
> > > > > index 95900579118b..20ec89d4fcb0 100644
> > > > > ---
> > > > >
> > > >
> > >
> a/RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostInter
> > > > fac
> > > > > eBmcUsbNicLib.c
> > > > > +++
> > > >
> b/RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostI
> > > > > +++ nterfaceBmcUsbNicLib.c
> > > > > @@ -738,8 +738,8 @@ HostInterfaceIpmiCheckMacAddress (
> > > > >               (VOID *)&IpmiLanChannelMacAddress.Addr,
> > > > >
> > > > >               IpmiLanMacAddressSize - 1
> > > > >
> > > > >               ) != 0) ||
> > > > >
> > > > > -          (IpmiLanChannelMacAddress.Addr[IpmiLanMacAddressSize -
> 1] !=
> > > > >
> > > > > -           *(UsbNicInfo->MacAddress + IpmiLanMacAddressSize - 1) - 1)
> > > > >
> > > > > +          (IpmiLanChannelMacAddress.Addr[IpmiLanMacAddressSize - 1]
> - 1
> > > > > + !=
> > > > >
> > > > > +           *(UsbNicInfo->MacAddress + IpmiLanMacAddressSize - 1))
> > > > >
> > > > >            )
> > > > >
> > > > >        {
> > > > >
> > > > >          DEBUG ((DEBUG_REDFISH_HOST_INTERFACE, "    MAC address is
> not
> > > > > matched.\n"));
> > > > >
> > > > > --
> > > > > 2.32.0 (Apple Git-132)
> > >
> > >
> > >
> > > 
> > >
> >


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#111711): https://edk2.groups.io/g/devel/message/111711
Mute This Topic: https://groups.io/mt/102759080/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to