From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 23D88A0548; Mon, 27 Sep 2021 15:06:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A7EAE410E1; Mon, 27 Sep 2021 15:06:26 +0200 (CEST) Received: from mail-108-mta11.mxroute.com (mail-108-mta11.mxroute.com [136.175.108.11]) by mails.dpdk.org (Postfix) with ESMTP id 57F53410DA for ; Mon, 27 Sep 2021 15:06:25 +0200 (CEST) Received: from filter004.mxroute.com ([149.28.56.236] filter004.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta11.mxroute.com (ZoneMTA) with ESMTPSA id 17c275d05200008545.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Mon, 27 Sep 2021 13:06:20 +0000 X-Zone-Loop: 7acfba192a027f3719c5cd5de375ddcc0f1f6681dc35 X-Originating-IP: [149.28.56.236] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ashroe.eu; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=1roOoiXWlm+pQ9pjZ41K03lITA1KcJXKd5Iz4nJQWWk=; b=HQ6WMfaPyHGnbRTMSP4k51OVfd xR/OrgzSVUCvQ3gdMI6JhpqmZG9uuoGWkWEJrbv0AfH1n7p1kcTu0jrPQW1hYOvZoXdlcaMMXpy5k Uklh28U4CgFg6z2MuYGCK5nEh88ilo6NrZE9gTwfHJNzEuKKGq5iuqzqO6anCkJERYzwDoqOcYj+t UHvEGz2xV8f1G2df4OHz18wLxJpFHdwJJWop+BjZ3TN5E6bQT53/Ww0rDkI4UyPHz/owsOqxvcgKr 9k2Zgba3YsIbcIugkHNynvN7NsRrD8Z9IMFooiND+Mk598sir3sAhMIr9hQjEIVGYQYv4M8HNNLjf 1H9qj7Uw==; To: Harman Kalra , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao Cc: dev@dpdk.org References: <20210730160829.13597-1-hkalra@marvell.com> From: "Kinsella, Ray" Message-ID: <12c6738b-339f-4a1d-853a-05bee4534d1f@ashroe.eu> Date: Mon, 27 Sep 2021 14:06:16 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20210730160829.13597-1-hkalra@marvell.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-AuthUser: mdr@ashroe.eu Subject: Re: [dpdk-dev] [PATCH 1/2] common/cnxk: send link event to VF X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 30/07/2021 17:08, Harman Kalra wrote: > Currently link event is only sent to the PF by AF as soon as it comes > up, or in case of any physical change in link. PF will broadcast > these link events to all its VFs as soon as it receives it. > But no event is sent when a new VF comes up, hence it will not have > the link status. > Adding support for sending link status to the VF once it comes up > successfully. > > Signed-off-by: Harman Kalra > --- > drivers/common/cnxk/roc_dev.c | 33 ++++++++++++++++++++++++++++++ > drivers/common/cnxk/roc_dev_priv.h | 5 +++++ > drivers/common/cnxk/roc_nix.h | 7 +++++++ > drivers/common/cnxk/roc_nix_mac.c | 23 +++++++++++++++++++++ > drivers/common/cnxk/version.map | 2 ++ > 5 files changed, 70 insertions(+) > Acked-by: Ray Kinsella