From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=nGXHyHkf9FCzSIroyo+UPEI/hCHX/b7dD7NTWPUFHFI=; b=Qv94eLN5kbeAuWjNJUWiBWVkqwBT70g23d4X0YpKj9xUZbE+6ybiaKD9gGWbpnODIw qBfsK4PrXkmay9PKLehAqhh7XB670uLFLdCCvsEfgKPpFUHiVTkozEGAXcmNtn2j1idl A6mgHTB6MOw/9IRqmb0lN90XFswZjW1VAfRAlGjaFIpmj7ntaaQCfXxL64AuOsr1Rw7W OSYfQH+ErtFLYcydwbWqxOJ2DawyX3uDLYmfgJqxEUpP2Aans52jtYnQ8a2o3VarvqMd e2s7A5UqwlonThsAKJ29xP+eVwDBTMfcbtq06Z4mam1xCQ08uBIpI0Z4iELslbtoYiCB C+2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=nGXHyHkf9FCzSIroyo+UPEI/hCHX/b7dD7NTWPUFHFI=; b=fhLU2kV8DpCu5U3peqtauuC4upi9Em17arMjbr1u6zRdX+T9DqbjQirMLsG6ligxRi /1C1vOT/j+yx38CofO10W+p23pyltYbFztR3gHuH29RBmUOFLkiuwot79pH3KqaR6udT Sl0v5HQ4R0gkOv23hrRQwQ86KZSngsw927PYIfgw9DdQdV3W8RN6YyQvwmiAxgh5TuY3 UAxwoRJZxz0po0k90JqzWSJUKvxxQFzlFADa1nPrF4rs/n7qOt89PSQJIVGMFO/7xbxH lBFLw8v3TFGdvAp+5WvnuN6zIhHLik796TFLHVRDq5dH3+mBlAASyv+NTw0LfmGH7RNa jh+Q== X-Gm-Message-State: ABUngvcU8TDj7FPwdvLECj3lYEiEpHsBrOfanvd4CKCIEEhhpi8ulEaYbIDCak4dKVe6uA+a X-Received: by 10.28.38.195 with SMTP id m186mr7297750wmm.81.1478537314750; Mon, 07 Nov 2016 08:48:34 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id c187sm14477580wmd.13.2016.11.07.08.48.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Nov 2016 08:48:33 -0800 (PST) From: Thomas Monjalon To: Qiming Yang Cc: dev@dpdk.org, jingjing.wu@intel.com, bruce.richardson@intel.com Date: Mon, 07 Nov 2016 17:48:33 +0100 Message-ID: <3986859.Igk6ixUmaT@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1478250651-37307-2-git-send-email-qiming.yang@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4 2/2] net/i40e: fix VF bonded device link down X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2016 16:48:36 -0000 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!