From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4 2/2] net/i40e: fix VF bonded device link down Date: Mon, 07 Nov 2016 17:48:33 +0100 Message-ID: <3986859.Igk6ixUmaT@xps13> References: <1477628339-5816-2-git-send-email-qiming.yang@intel.com> <1478250651-37307-1-git-send-email-qiming.yang@intel.com> <1478250651-37307-2-git-send-email-qiming.yang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, jingjing.wu@intel.com, bruce.richardson@intel.com To: Qiming Yang Return-path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 6DE4411D9 for ; Mon, 7 Nov 2016 17:48:35 +0100 (CET) Received: by mail-wm0-f44.google.com with SMTP id p190so194856373wmp.1 for ; Mon, 07 Nov 2016 08:48:35 -0800 (PST) In-Reply-To: <1478250651-37307-2-git-send-email-qiming.yang@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-11-04 17:10, Qiming Yang: > 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 > Acked-by: Jingjing Wu Series applied, thanks and welcome Qiming!