DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jerin Jacob <jerinjacobk@gmail.com>
To: Vamsi Krishna <vattunuru@marvell.com>
Cc: dev@dpdk.org, jerinj@marvell.com
Subject: Re: [PATCH] net/octeon_ep: add device removal event callback
Date: Thu, 19 Sep 2024 23:48:49 +0530	[thread overview]
Message-ID: <CALBAE1NvWnwPVGFCLsCu2DU-dRKFvCjwi30urwmN4d=eB2bHng@mail.gmail.com> (raw)
In-Reply-To: <20240827053259.12033-1-vattunuru@marvell.com>

On Tue, Aug 27, 2024 at 11:03 AM Vamsi Krishna <vattunuru@marvell.com> wrote:
>
> From: Vamsi Attunuru <vattunuru@marvell.com>
>
> Patch adds an event callback to catch any device removal

Please remove patch.


> event occurred during driver probe. This callback helps
> in terminating the execution if there is any device removal
> event during the driver probe.
>
> Patch also moves global register configuration into dev_configure()

Please remove patch.

> routine and also validates register reads for any invalid
> return values from hardware during driver probe.
>
> Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>
> ---
> Depends-on: patch-142958 ("net/octeon_ep: extend mailbox functionality")
>
>  drivers/net/octeon_ep/cnxk_ep_vf.c    |  2 +
>  drivers/net/octeon_ep/otx2_ep_vf.c    |  2 +
>  drivers/net/octeon_ep/otx_ep_ethdev.c | 58 +++++++++++++++++++--------
>  drivers/net/octeon_ep/otx_ep_mbox.c   | 11 +++++
>  drivers/net/octeon_ep/otx_ep_vf.c     |  2 +


Update the release notes for this new feature.


>  5 files changed, 59 insertions(+), 16 deletions(-)
>
> diff --git a/drivers/net/octeon_ep/cnxk_ep_vf.c b/drivers/net/octeon_ep/cnxk_ep_vf.c
> index 39b28de2d0..68b89fce4f 100644
> --- a/drivers/net/octeon_ep/cnxk_ep_vf.c
> +++ b/drivers/net/octeon_ep/cnxk_ep_vf.c
> @@ -408,6 +408,8 @@ cnxk_ep_vf_setup_device(struct otx_ep_device *otx_ep)
>
>         /* Get IOQs (RPVF] count */
>         reg_val = oct_ep_read64(otx_ep->hw_addr + CNXK_EP_R_IN_CONTROL(0));
> +       if (reg_val == (uint64_t)-1)


Use UINT64_MAX from <stdint.h> across the patch.

  reply	other threads:[~2024-09-19 18:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-27  5:32 Vamsi Krishna
2024-09-19 18:18 ` Jerin Jacob [this message]
2024-09-20  3:48   ` [EXTERNAL] " Vamsi Krishna Attunuru
2024-09-20  4:43 ` [PATCH v2 1/1] " Vamsi Krishna

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALBAE1NvWnwPVGFCLsCu2DU-dRKFvCjwi30urwmN4d=eB2bHng@mail.gmail.com' \
    --to=jerinjacobk@gmail.com \
    --cc=dev@dpdk.org \
    --cc=jerinj@marvell.com \
    --cc=vattunuru@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).