Re: [PATCH v2 1/2] ixgbe: VF supports mailbox interruption for PF link up/down
From: Wu, Jingjing <hidden>
Date: 2016-06-02 03:38:57
From: Wu, Jingjing <hidden>
Date: 2016-06-02 03:38:57
-----Original Message----- From: Lu, Wenzhuo Sent: Wednesday, June 01, 2016 9:53 AM To: dev@dpdk.org Cc: Wu, Jingjing; Lu, Wenzhuo Subject: [PATCH v2 1/2] ixgbe: VF supports mailbox interruption for PF link up/down 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. Signed-off-by: Wenzhuo Lu <redacted>
Acked-by: Jingjing Wu <redacted>