lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACKFLin7fZv_YgtmteGjTRxcb1dv+napYZ64XEgHZmwS_3fGEg@mail.gmail.com>
Date:   Sat, 28 Aug 2021 15:58:29 -0700
From:   Michael Chan <michael.chan@...adcom.com>
To:     Andrew Lunn <andrew@...n.ch>
Cc:     David Miller <davem@...emloft.net>,
        Netdev <netdev@...r.kernel.org>,
        Jakub Kicinski <kuba@...nel.org>,
        Edwin Peer <edwin.peer@...adcom.com>,
        Andrew Gospodarek <gospo@...adcom.com>
Subject: Re: [PATCH net-next 00/11] bnxt_en: Implement new driver APIs to send
 FW messages

On Sat, Aug 28, 2021 at 3:07 PM Andrew Lunn <andrew@...n.ch> wrote:
>
> On Sat, Aug 28, 2021 at 05:58:19PM -0400, Michael Chan wrote:
> > The current driver APIs to send messages to the firmware allow only one
> > outstanding message in flight.  There is only one buffer for the firmware
> > response for each firmware channel.  To send a firmware message, all
> > callers must take a mutex and it is released after the firmware response
> > has been read.  This scheme does not allow multiple firmware messages
> > in flight.  Firmware may take a long time to respond to some messages
> > (e.g. NVRAM related ones) and this causes the mutex to be held for
> > a long time, blocking other callers.
> >
> > This patchset intoduces the new driver APIs to address the above
> > shortcomings.  All callers are then updated to use the new APIs.
>
> Hi Michael
>
> Does the firmware already support this? Or is a firmware upgrade also
> required.
>

These changes are compatible with new and old firmware.  With newer
firmware, the code introduced in patch 11 will take advantage of the
deferred firmware responses for commands that take longer to complete.
The APIs will then allow another command to be sent to the firmware.

Thanks.

Download attachment "smime.p7s" of type "application/pkcs7-signature" (4209 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ