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 8F30BA04A2 for ; Thu, 3 Mar 2022 12:09:20 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5EF3840141; Thu, 3 Mar 2022 12:09:20 +0100 (CET) Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) by mails.dpdk.org (Postfix) with ESMTP id 4A8BF40141 for ; Thu, 3 Mar 2022 12:09:19 +0100 (CET) Received: by mail-ej1-f54.google.com with SMTP id qt6so9808996ejb.11 for ; Thu, 03 Mar 2022 03:09:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=+eC5252R8pvS9TTEbduPo/oJj+xdaBkJVILzgM3Pwko=; b=Kz6WsayVTbbX4OlP7PsOJR7LXmSPcc15htZSTe+B01CbFshL5TSOCkTvf3Pco4Uh80 nE9LmHrFerCxRaBD2icWFxfLDfPZsq7J3nRZhn4QzQsu5b1CmlkmClEwU1SKWjkDCXxS FeiMkOcQ4yCwN5Z2O8CqCzyBvQLTTzqhqlDKY0j8LJGo91NKXTtSQvpbMG9259psRNXo v4CLX0Ke2Q4zOkruirEKFND4LYYGl9laf1cRWD/WS1XGbjQ3a/gjbftleRgtkW6EI6z6 jRb+Ak53tPUgpKwyeTV2IuhazCB3gpp9fC5qbP04zG+ysqKsFToaFTMRtbgPsQ9NSap6 lKGg== X-Gm-Message-State: AOAM5304TbqWQN6DpIoDi4usCHsMGpfAmLPxdNkoARNNXB39X1RbpFZX +PfMT81WfKTrZz8QvfVdLQZaKzHD3mwo8NaI X-Google-Smtp-Source: ABdhPJxOFR20xMpfq/7h85lNSirKJA5K3txOYnSzsv0YtnSETcfqdMAdyYhWqAbMas2YPF8oMN4dpg== X-Received: by 2002:a17:907:6daa:b0:6d7:27b2:409 with SMTP id sb42-20020a1709076daa00b006d727b20409mr7987886ejc.409.1646305758775; Thu, 03 Mar 2022 03:09:18 -0800 (PST) Received: from localhost ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id lj2-20020a170906f9c200b006da6f29bc01sm576780ejb.158.2022.03.03.03.09.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 03:09:18 -0800 (PST) Message-ID: <217a3e8b464b89ef93039c28ed0f4969393ab1cb.camel@debian.org> Subject: Re: [PATCH 20.11] common/octeontx2: update mailbox version to 0xb From: Luca Boccassi To: kirankumark@marvell.com, Jerin Jacob , Nithin Dabilpuram Cc: stable@dpdk.org Date: Thu, 03 Mar 2022 11:09:17 +0000 In-Reply-To: <20220303041513.514697-1-kirankumark@marvell.com> References: <20220303041513.514697-1-kirankumark@marvell.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.38.3-1+plugin MIME-Version: 1.0 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Thu, 2022-03-03 at 09:45 +0530, kirankumark@marvell.com wrote: > From: Kiran Kumar K >=20 > Sync mailbox definition with AF kernel driver. >=20 > Signed-off-by: Kiran Kumar K > --- > =C2=A0drivers/common/octeontx2/otx2_mbox.h | 11 ++++++++++- > =C2=A01 file changed, 10 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/common/octeontx2/otx2_mbox.h b/drivers/common/octeon= tx2/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 { > =C2=A0#define OTX2_MBOX_RSP_SIG (0xbeef) > =C2=A0 /* Signature, for validating corrupted msgs */ > =C2=A0 uint16_t __otx2_io sig; > -#define OTX2_MBOX_VERSION (0x000a) > +#define OTX2_MBOX_VERSION (0x000b) > =C2=A0 /* Version of msg's structure for this ID */ > =C2=A0 uint16_t __otx2_io ver; > =C2=A0 /* Offset of next msg within mailbox region */ > @@ -368,6 +368,15 @@ struct npc_set_pkind { > =C2=A0#define PKIND_RX BIT_ULL(1) > =C2=A0 uint8_t __otx2_io dir; > =C2=A0 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 > + */ > =C2=A0}; > =C2=A0 >=20 > =C2=A0/* Structure for requesting resource provisioning. Added "[ backported from upstream commit 1586f56086c758bd99ef5f9a6a074326e54468b2 ]" and pushed. --=20 Kind regards, Luca Boccassi