From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 2843345A81;
	Thu,  3 Oct 2024 10:06:33 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id DEAD14025E;
	Thu,  3 Oct 2024 10:06:31 +0200 (CEST)
Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com
 [209.85.160.171])
 by mails.dpdk.org (Postfix) with ESMTP id 046E4400D7
 for <dev@dpdk.org>; Thu,  3 Oct 2024 10:06:29 +0200 (CEST)
Received: by mail-qt1-f171.google.com with SMTP id
 d75a77b69052e-4582f9abb43so4545041cf.2
 for <dev@dpdk.org>; Thu, 03 Oct 2024 01:06:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1727942789; x=1728547589; darn=dpdk.org;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=af7/8F3DVLszYYIUz7o2hQMsar8DzbcKaK4zY2zCtmc=;
 b=KucBOIRp9RUygqbqsLHZNn8TStElMhN4NOFoGBz/CFaBAN0CIvJ8Mjv6gX/q3F+Df+
 w56TeBphiWvJNDgvo4UgctRz8seRR3+8AzwNYF+ZbCoOfTf73lyj8ZUyqmLvE3FqnOye
 AT4yzkZ+jAgoVi062zoiCYwXiTaZ8eyRXE8PEZgbv87OdVTZUtAwPsmgBpmnSL4rBd5i
 t2ZUAIgbEC+hw5+HF2VZOCxIFT5bLHy+tYw29BUQn17I7jOQhL7zvtqo8u4Zni+QI8Pb
 TyrqAIQqdHBokHwLjxSrrew4T/Be/r8DynA9WO43mIsDW+b9Fuw9nDylheZh7MbCmYRV
 y4Vw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1727942789; x=1728547589;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=af7/8F3DVLszYYIUz7o2hQMsar8DzbcKaK4zY2zCtmc=;
 b=WlRAu1ZNTap/IA9MToKufP9wHocEFMVGMG8Bqj+XJ9j2YDDJkytUApUBZ+hqsnFdNO
 E0Oyv8zJYZpzjBN1i9BFGV7CW0cLsg1vWdsFp+zXGvqy28zWEKkV/lHDrPnlbVlgcJnx
 QFZJY0pnWIWIMjffBm9dAGR/bCf++I9kij6jN2W0F9YRYBgqpZLHHARTw0qodm4l12Up
 AiONHx1G3CpcW2qUBJrd/py/7KhXzq2Q9kqdExihtfWCO56vaol4jidn7AFpx67B+x9L
 NmYkN8zfn5OL8jPENVGt+kZpeZ4z0f8JdrIBhVFaibD8KuI1oaNtfxxghZEbCf2hK3Gy
 oGeQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCVKB43ScW3eyrnIZfydQTbchHCvxS78xfl6vreX38pL+5zDQY/ecig/u52UDx3wyDvZ/eg=@dpdk.org
X-Gm-Message-State: AOJu0YydcMU8my0IaSvPQOPY6Glw3clp5dagy1UhZu73lQ9W4vRuezbW
 J0BKTLmWWI5FLzbhV4jD+6zUS718SuR8VdPgE4ixQieYHdOPaZxz6ANW866OfYfxbUgDJpORN6U
 9cofx+yyUp18rCVPFGQgTsAQT2b8=
X-Google-Smtp-Source: AGHT+IHl2tblyzZNHynOfG1fCoyfcxceiQXHnhBSRGU0qbqkrPivTBC/XOnw9uWbMMO7RW0wZyc4Vk8MDuGmdsFrgqc=
X-Received: by 2002:ac8:5949:0:b0:458:31de:391 with SMTP id
 d75a77b69052e-45d804d7644mr84172671cf.29.1727942789045; Thu, 03 Oct 2024
 01:06:29 -0700 (PDT)
MIME-Version: 1.0
References: <20240920044347.1211530-1-vattunuru@marvell.com>
 <20241001083837.1308452-1-vattunuru@marvell.com>
In-Reply-To: <20241001083837.1308452-1-vattunuru@marvell.com>
From: Jerin Jacob <jerinjacobk@gmail.com>
Date: Thu, 3 Oct 2024 13:36:02 +0530
Message-ID: <CALBAE1Po89_WJgqr7-rz0PU7N8iicN7PAq6tQY3H98UOZ9ZtNw@mail.gmail.com>
Subject: Re: [PATCH v3 1/1] net/octeon_ep: add device removal event callback
To: Vamsi Krishna <vattunuru@marvell.com>
Cc: jerinj@marvell.com, dev@dpdk.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

On Tue, Oct 1, 2024 at 2:08=E2=80=AFPM Vamsi Krishna <vattunuru@marvell.com=
> wrote:
>
> From: Vamsi Attunuru <vattunuru@marvell.com>
>
> Adds an event callback to catch any device removal
> event occurred during driver probe. This callback helps
> in terminating the execution if there is any device removal
> event during the driver probe.
>
> Also moved global register configuration into dev_configure()
> routine and also validates register reads for any invalid
> return values from hardware during driver probe.
>
> Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>

Updated the git commit as follows and applied to
dpdk-next-net-mrvl/for-main. Thanks

    net/octeon_ep: handle device removal on probe

    Adds an event callback to catch any device removal
    event occurred during driver probe. This callback helps
    in terminating the execution if there is any device removal
    event during the driver probe.

    Also moved global register configuration into dev_configure()
    routine and also validates register reads for any invalid
    return values from hardware during driver probe.

    Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>