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 146ADA04B6; Wed, 19 Jan 2022 17:25:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DF83C4116A; Wed, 19 Jan 2022 17:25:29 +0100 (CET) Received: from mail-il1-f170.google.com (mail-il1-f170.google.com [209.85.166.170]) by mails.dpdk.org (Postfix) with ESMTP id 9197D41165 for ; Wed, 19 Jan 2022 17:25:28 +0100 (CET) Received: by mail-il1-f170.google.com with SMTP id d3so2595581ilr.10 for ; Wed, 19 Jan 2022 08:25:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9Ji6s0l9LgM/q9u4T7KlsbMsRcp5U3CRV1wje+VrbYA=; b=VPPaxheg6iQxXxNYGSa32u7SktG8vHALYN+qhYnqkbrQYZk3l09QEe1qKfGEdr/TrO FN9EUok9hJo4u8MjjPpsuACy/nJF6K0q/z+XgJPqEEzEpdsKiR5jPbCwK7Fboi0AHU2m ezOoqutnYFRsackW7sUvkM3xvq4S6Sl+AyqIOp0inUlBcGIJJ639R7X6cjsFz8Xc67p2 qg/qyW1KnvyTQ+3Yn9fJy3QdRbNm/ETC2+IjHpI6M2keIFDvnDE7GKi41i1NE2N0T1ST vXO88O9/Vu994R/FbOG8avo2fedldmsCwBIrPwrB+ldF5ViUQJgGJ4v/Sy+qZvizBKrF F7PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9Ji6s0l9LgM/q9u4T7KlsbMsRcp5U3CRV1wje+VrbYA=; b=o8ZRlbXh0o1zXCHZQYTNL/eaXF0BbTLaJL39wyIDVmxzBDA9tyMC0/HyuBTAEDioaR oyXYUEb/JLk0uCCv419f5u21w7S8kg+2F7x/JUEmIy8sHZ0QbktF/OG0Urrgr0VkD1zw PYHdPJ7+Pg9xXhTtgzGPPx0wwbTN+COrf7Y3IOtvGYN620tCI8ArjYZ0cgGjmU/5Zk43 +nxhQdBhXYqoQrwunpZfBKohXycK0Aisw1KypY8dVFM7+LYoNxHGxrm2xtfvPg2Fwsw6 FSgiZH0uxCXnSb3gaTlhXZ8NSJkPDWNR4YSZcSkBwAbuzGIb/WLOrqINMCCbIJ7JxcOP BRnw== X-Gm-Message-State: AOAM533qicUuAlk/KCTRR4XZ0pC2ysds4rXuQJCwY1ls9Y5NSdC4GIu3 FvOpiyqliOmrAvwGQeLxnutGw1KsZV3qA9IAIHg= X-Google-Smtp-Source: ABdhPJzVqLEqtNhzaJkjythOMPtd/kE5+3P8dhptguj1M62E5wpt82x45rPByCIhKa0CLv6cLzA2ry+qJveXLboRN4Y= X-Received: by 2002:a05:6e02:5d2:: with SMTP id l18mr17829369ils.294.1642609527927; Wed, 19 Jan 2022 08:25:27 -0800 (PST) MIME-Version: 1.0 References: <20211209091342.27017-1-ndabilpuram@marvell.com> <20211209091342.27017-3-ndabilpuram@marvell.com> In-Reply-To: <20211209091342.27017-3-ndabilpuram@marvell.com> From: Jerin Jacob Date: Wed, 19 Jan 2022 21:55:01 +0530 Message-ID: Subject: Re: [PATCH 3/8] common/cnxk: change order of frag sizes and infos To: Nithin Dabilpuram , Ferruh Yigit Cc: Jerin Jacob , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , dpdk-dev , Vidya Sagar Velumuri Content-Type: text/plain; charset="UTF-8" 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 Thu, Dec 9, 2021 at 2:44 PM Nithin Dabilpuram wrote: > > Change the order of frag sizes and infos to match HW > implementation. > > Signed-off-by: Nithin Dabilpuram > Signed-off-by: Vidya Sagar Velumuri Since it a fix, change git log following and Applied to dpdk-next-net-mrvl/for-next-net. Thanks common/cnxk: fix byte order of frag sizes and infos Change the byte order of frag sizes and infos to match HW implementation. Fixes: 64a73ebd87bd ("common/cnxk: add CPT hardware definitions") Cc: stable@dpdk.org > --- > drivers/common/cnxk/hw/cpt.h | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/common/cnxk/hw/cpt.h b/drivers/common/cnxk/hw/cpt.h > index 919f842..99a900c 100644 > --- a/drivers/common/cnxk/hw/cpt.h > +++ b/drivers/common/cnxk/hw/cpt.h > @@ -286,10 +286,10 @@ struct cpt_frag_info_s { > union { > uint64_t u64; > struct { > - union cpt_frag_info f3; > - union cpt_frag_info f2; > - union cpt_frag_info f1; > union cpt_frag_info f0; > + union cpt_frag_info f1; > + union cpt_frag_info f2; > + union cpt_frag_info f3; > }; > } w0; > > @@ -297,10 +297,10 @@ struct cpt_frag_info_s { > union { > uint64_t u64; > struct { > - uint16_t frag_size3; > - uint16_t frag_size2; > - uint16_t frag_size1; > uint16_t frag_size0; > + uint16_t frag_size1; > + uint16_t frag_size2; > + uint16_t frag_size3; > }; > } w1; > }; > -- > 2.8.4 >