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 529DD42BAA; Fri, 26 May 2023 12:21:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30A8840DDA; Fri, 26 May 2023 12:21:19 +0200 (CEST) Received: from mail-vs1-f50.google.com (mail-vs1-f50.google.com [209.85.217.50]) by mails.dpdk.org (Postfix) with ESMTP id 77B9040A89 for ; Fri, 26 May 2023 12:21:18 +0200 (CEST) Received: by mail-vs1-f50.google.com with SMTP id ada2fe7eead31-43931d2b92eso149826137.2 for ; Fri, 26 May 2023 03:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685096478; x=1687688478; 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=JZCT19phJj0CjgamKZZ8g/iq/Mxzh0MOEksdTmw2O9I=; b=RQRsFsLK7iq6eclB5dGmD4Jy3Pd6/UMjGX3TaKvYsqHPj/soGNNc54Ac4+VDaCLWH8 EeV1p1lSdGm36qOHde7jE5w7R8Hnv9ZSX2o+UKND/fxRhG3nWpvr4oH+tJ+rAbYdegZc 4UUSnsVfZq5ZrbZYT8pnEy3El1Sw0PRD0K7i4HlWo4MV/p8cNb5KTAAoPzNn6Q2DSZQS 165QBk3omyjWLMgHALFRNfCp1d443CMfo6WcawHU6O32QjFu1WNNjCWSv/cGfEG415nz qDd1GHj6f90Kbg/HQ+rzR/Jqm9yG3Yd1fRLA+8PnNNc6rg0pHZfiDIG+5vyAgPhkaroA IiUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685096478; x=1687688478; 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=JZCT19phJj0CjgamKZZ8g/iq/Mxzh0MOEksdTmw2O9I=; b=NizeQVNJpaXyG7oia2ufdUGZHl727WCN6fhXC9n6TUG+XQy8lWsSjii6y7MT9WJgMW rpOuNZWImjRGUNnqazhJUdigts6AnKvo8q+Of4UJ3269FNGm3PhZO2Lmx72YE/vMfZdi n6xrjie1RPoIKN2M2j3v4dm4sUIyVuJfTMJInEEmohb4S0iszXK7Ce8tG15LbxlsHZWZ UFOHPbhJKSDWiHAAVL4IqiBfLOSiRTqmVxBxAzi6e2SF8mAGMg39qsA/9JC2db6wkd7Q DIyEI6wiV5e6lMWlrFbjUkaTikvgQhZyOivKWbpT3NevuGHy0MfWCMmFdL7wUoIgnB8c fYkw== X-Gm-Message-State: AC+VfDy7laOgykX0qelKSZiE35Zi7JbRP24yMRGdJngn+nEo7KIO9SVC aJPNzR6MHRf6PNstS1750q0a+rYW56LuZCfkL4M= X-Google-Smtp-Source: ACHHUZ6+22YQvquaRuV3gJYdSpopVxRgpeadD1ef3qJJ7XZZkWTMpuk22WH2Ff2Sil1zXghuhVNArpEd9hxIMy9n0+k= X-Received: by 2002:a05:6102:1d2:b0:434:6d1b:8b15 with SMTP id s18-20020a05610201d200b004346d1b8b15mr272305vsq.25.1685096477771; Fri, 26 May 2023 03:21:17 -0700 (PDT) MIME-Version: 1.0 References: <20220928124516.93050-1-gakhil@marvell.com> <20230523200401.1945974-1-gakhil@marvell.com> <20230523200401.1945974-6-gakhil@marvell.com> In-Reply-To: <20230523200401.1945974-6-gakhil@marvell.com> From: Jerin Jacob Date: Fri, 26 May 2023 15:50:51 +0530 Message-ID: Subject: Re: [PATCH 05/15] common/cnxk: add MACsec PN and LMAC mode configuration To: Akhil Goyal Cc: dev@dpdk.org, thomas@monjalon.net, olivier.matz@6wind.com, orika@nvidia.com, david.marchand@redhat.com, vattunuru@marvell.com, ferruh.yigit@amd.com, jerinj@marvell.com, adwivedi@marvell.com, ndabilpuram@marvell.com 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, May 24, 2023 at 1:34=E2=80=AFAM Akhil Goyal wr= ote: > > Added ROC APIs for setting packet number and LMAC > related configurations. > > Signed-off-by: Ankur Dwivedi > Signed-off-by: Vamsi Attunuru > Signed-off-by: Akhil Goyal > +struct mcs_set_active_lmac { > + struct mbox_msghdr hdr; > + uint32_t __io lmac_bmap; /* bitmap of active lmac per mcs block *= / > + uint8_t __io mcs_id; > + uint16_t channel_base; /* MCS channel base */ Gotcha . Found a missing __io > + uint64_t __io rsvd; > +}; > +