On Wed, Jun 01, 2016 at 09:53:08AM +0800, Wenzhuo Lu wrote: > In this scenario, kernel PF + DPDK VF, when PF finds the link > state changes, up -> down or down -> up, it will send a > message to VF by mailbox. This link state change may be > triggered by PHY disconnection/reconnection, configuration > like *ifconfig down/up* or interface parameter, like MTU, > change. > This patch enables the support of the mailbox interruption, > so VF can receive the message of link up/down. > After VF receives this message, VF port need to be reset to > recover. So the handler of this message registers a reset > callback to let APP reset the VF port. > Hi Wenzhuo,
I'm a little unclear as to the last paragraph of this message. Does the app configure the callback to handle the reset, or does the driver set up a callback automatically and handle the event itself? [In other words, who/what is the "handler" in the final sentence, the driver or the app?] Thanks, /Bruce