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 ECB99440E8; Mon, 27 May 2024 19:28:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D6AC402D9; Mon, 27 May 2024 19:28:04 +0200 (CEST) Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) by mails.dpdk.org (Postfix) with ESMTP id 025DA402D8 for ; Mon, 27 May 2024 19:28:02 +0200 (CEST) Received: by mail-ot1-f51.google.com with SMTP id 46e09a7af769-6f8ed204e13so29882a34.2 for ; Mon, 27 May 2024 10:28:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716830882; x=1717435682; 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=qGoLsn45pEWLowEVIjrCePxmVIWqAJwl4WQXEQejAKo=; b=WnskB39RWQjCSxwa+vFE2pb3MBUROwIVJ48TC0EDKAf25X5vsaZ528OUOVM+kNcLxa q2YUYckO15P29c3eu0NAZ+lddE23hj+Rv6WEOA+yUMJ8xD4rlYsg53ZRl7NfqrRn2/EO 78fzAo68xyrj/eIPGyL3rvblD/PhFa/b+x+Pq5Al2VR3MTr7uS20YsqSnW6SbreKYnfu 1qU191+TsyfKQgr2hi0qJGZzkI+7g5YUnmiiEw7plm+vMGKo3DRhbu2ofgHVNzs45QU5 mdyQfZCpowaZKhRTibVXKxFr+sPlpdhtAWuUy884BpoVJzXOgxwaXzc/ewq5ewdrlM0g 033w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716830882; x=1717435682; 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=qGoLsn45pEWLowEVIjrCePxmVIWqAJwl4WQXEQejAKo=; b=DGEWjkDV87PaV+p3SY7u24VotzX7W7yKSoHIhvoqGr/U0ZY79bX3+A/Xdl+Cc9yPcq aw1hOz1keJIzWUOjXtGXVTkON+ffxv/cYgClhBkq/IHi0MP619rhIQ85VWmjghDWjb9j rSRwFHl1mEWKHemXgG1akJQaX5vRrpvNklT7Ifq85k3cSEGZ0eLPR48SJbc8ouJZRj2X YfpvhTubBqJmd6cYSwJV9nFhlQts4SFT/8dRieMoMjmrUzCvzJpdiDcDVQB3DVDr0S1I COPxfgGzGJLKKtNoRFhzpkyouk3CblEsrS7zOAQJa4P7RDJ4ou3ELy5mqcSYcWBKx2Ky OqXw== X-Forwarded-Encrypted: i=1; AJvYcCUDjOkKyXxOQCLCHtBqhZ211lTHa2rSweuXezqugrbAr35A8eZKP+MaO2Oo/Etn1zhoMQbBKkcZCs20vQo= X-Gm-Message-State: AOJu0YxfabQckHmXAzajZz9zcUNxdJJTTtSOykbfv12CTdcKEj8+vlC4 T6CaUL8k70pyu0yfKkwaMBxiDj4ff4yAp35Q9MCFLEWwfN/DyuGLV8qQvNa+hRDGTT/FPgpSwhN DnYsaHDbB4OWvwk0cKzFIInh01Aw= X-Google-Smtp-Source: AGHT+IG8A0kauFfd85IwE5/veg/njG4AtOu9qqrKytPc8uxT/AODM3GAuX7ghWupNBFBTq8gi3m4wGmCZxdpZ31fW5I= X-Received: by 2002:a05:6830:1212:b0:6f1:2309:c709 with SMTP id 46e09a7af769-6f8d0b0762amr12397343a34.28.1716830881976; Mon, 27 May 2024 10:28:01 -0700 (PDT) MIME-Version: 1.0 References: <20240517074448.3146611-1-ndabilpuram@marvell.com> <20240517074448.3146611-10-ndabilpuram@marvell.com> In-Reply-To: <20240517074448.3146611-10-ndabilpuram@marvell.com> From: Jerin Jacob Date: Mon, 27 May 2024 22:57:35 +0530 Message-ID: Subject: Re: [PATCH 10/10] net/cnxk: define CPT HW result format for PMD API To: Nithin Dabilpuram Cc: Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Harman Kalra , jerinj@marvell.com, dev@dpdk.org, Srujana Challa 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 Fri, May 17, 2024 at 1:16=E2=80=AFPM Nithin Dabilpuram wrote: > > From: Srujana Challa > > Defines CPT HW result format for PMD API, > rte_pmd_cnxk_inl_ipsec_res(). > > Signed-off-by: Srujana Challa > --- > drivers/net/cnxk/cn10k_ethdev_sec.c | 4 ++-- > drivers/net/cnxk/rte_pmd_cnxk.h | 28 ++++++++++++++++++++++++++-- > 2 files changed, 28 insertions(+), 4 deletions(-) > > > +/** CPT HW result format */ > +union rte_pmd_cnxk_cpt_res_s { > + struct rte_pmd_cpt_cn10k_res_s { > + uint64_t compcode : 7; Public API, Please add Doxygen for every symbol and check the generated HTML files. > + uint64_t doneint : 1; > + uint64_t uc_compcode : 8; > + uint64_t rlen : 16; > + uint64_t spi : 32; > + > + uint64_t esn; > + } cn10k; > + > + struct rte_pmd_cpt_cn9k_res_s { > + uint64_t compcode : 8; > + uint64_t uc_compcode : 8; > + uint64_t doneint : 1; > + uint64_t reserved_17_63 : 47; > + > + uint64_t reserved_64_127; > + } cn9k; > + > + uint64_t u64[2]; > +}; > + > 2.25.1 >