patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Luca Boccassi <bluca@debian.org>
To: kirankumark@marvell.com, Jerin Jacob <jerinj@marvell.com>,
	Nithin Dabilpuram <ndabilpuram@marvell.com>
Cc: stable@dpdk.org
Subject: Re: [PATCH 20.11] common/octeontx2: update mailbox version to 0xb
Date: Thu, 03 Mar 2022 11:09:17 +0000	[thread overview]
Message-ID: <217a3e8b464b89ef93039c28ed0f4969393ab1cb.camel@debian.org> (raw)
In-Reply-To: <20220303041513.514697-1-kirankumark@marvell.com>

On Thu, 2022-03-03 at 09:45 +0530, kirankumark@marvell.com wrote:
> From: Kiran Kumar K <kirankumark@marvell.com>
> 
> Sync mailbox definition with AF kernel driver.
> 
> Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
> ---
>  drivers/common/octeontx2/otx2_mbox.h | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/common/octeontx2/otx2_mbox.h b/drivers/common/octeontx2/otx2_mbox.h
> index 51b25ab422..781c18180d 100644
> --- a/drivers/common/octeontx2/otx2_mbox.h
> +++ b/drivers/common/octeontx2/otx2_mbox.h
> @@ -90,7 +90,7 @@ struct mbox_msghdr {
>  #define OTX2_MBOX_RSP_SIG (0xbeef)
>  	/* Signature, for validating corrupted msgs */
>  	uint16_t __otx2_io sig;
> -#define OTX2_MBOX_VERSION (0x000a)
> +#define OTX2_MBOX_VERSION (0x000b)
>  	/* Version of msg's structure for this ID */
>  	uint16_t __otx2_io ver;
>  	/* Offset of next msg within mailbox region */
> @@ -368,6 +368,15 @@ struct npc_set_pkind {
>  #define PKIND_RX		BIT_ULL(1)
>  	uint8_t __otx2_io dir;
>  	uint8_t __otx2_io pkind; /* valid only in case custom flag */
> +	uint8_t __otx2_io var_len_off;
> +	/* Offset of custom header length field.
> +	 * Valid only for pkind NPC_RX_CUSTOM_PRE_L2_PKIND
> +	 */
> +	uint8_t __otx2_io var_len_off_mask; /* Mask for length with in offset */
> +	uint8_t __otx2_io shift_dir;
> +	/* Shift direction to get length of the
> +	 * header at var_len_off
> +	 */
>  };
>  
> 
>  /* Structure for requesting resource provisioning.

Added "[ backported from upstream commit
1586f56086c758bd99ef5f9a6a074326e54468b2 ]" and pushed.

-- 
Kind regards,
Luca Boccassi

      reply	other threads:[~2022-03-03 11:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-03  4:15 kirankumark
2022-03-03 11:09 ` Luca Boccassi [this message]

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=217a3e8b464b89ef93039c28ed0f4969393ab1cb.camel@debian.org \
    --to=bluca@debian.org \
    --cc=jerinj@marvell.com \
    --cc=kirankumark@marvell.com \
    --cc=ndabilpuram@marvell.com \
    --cc=stable@dpdk.org \
    /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).