[dpdk-dev] [PATCH v2 2/2] net/i40e: fix VF bonded device link down

Wu, Jingjing jingjing.wu at intel.com
Tue Oct 25 12:45:14 CEST 2016



> -----Original Message-----
> From: Yang, Qiming
> Sent: Tuesday, October 25, 2016 12:19 PM
> To: dev at dpdk.org
> Cc: Wu, Jingjing <jingjing.wu at intel.com>; Zhang, Helin <helin.zhang at intel.com>; Richardson,
> Bruce <bruce.richardson at intel.com>; Yang, Qiming <qiming.yang at intel.com>
> Subject: [PATCH v2 2/2] net/i40e: fix VF bonded device link down
> 
> If VF device is used as slave of a bond device, it will be polled
> periodically through alarm. Interrupt is involved here. And then
> VF will send I40E_VIRTCHNL_OP_GET_LINK_STAT message to
> PF to query the status. The response is handled by interrupt
> callback. Interrupt is involved here again. That's why bond
> device cannot bring up.
> 
> This patch removes I40E_VIRTCHNL_OP_GET_LINK_STAT
> message. Link status in VF driver will be updated when PF driver
> notify it, and VF stores this link status locally. VF driver just
> returns the local status when being required.
> 
> Fixes: 4861cde46116 ("i40e: new poll mode driver")
> 
> Signed-off-by: Qiming Yang <qiming.yang at intel.com>
Acked-by: Jingjing Wu <jingjing.wu at intel.com>

Thanks.
BTW, next time, don't forget to note your changes comparing the previous version.
It will make reviewers' life easy. :)


/Jingjing


More information about the dev mailing list