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 E0B2AA00C2; Wed, 28 Sep 2022 09:14:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A134942686; Wed, 28 Sep 2022 09:14:42 +0200 (CEST) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2089.outbound.protection.outlook.com [40.107.22.89]) by mails.dpdk.org (Postfix) with ESMTP id 0D28B41143 for ; Wed, 28 Sep 2022 09:14:41 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kk2DHFdq94cHpLUy+lJZ5xZjGvGa1oOitGWW0CMgyec0apSPCOazWCuig3WHwBSgQ92j5WsvGaw8bNb2FJpKAKfagbXh9xk9J5zOLtRrukVy3tvSRkGu6afRERdr6HMo0Tu9M47P3p28Us6vClEinb+UR5x6gaJQwh5LyQRzuo4faXN1/txwVxxApcRmetLrsnyvGPE3xxVuLxn3sd+1wpCgdRiunrI14nBBiX+BeJzZzDz+aj6VSwqjkc9+oyImV8SKuaZv4gifm9GumVmT+K+uItsKYCY+ljplTWPT8dcJuGGEzABZdVf/dXPszf5nGnrFfMuNutE1lxzXjSMuCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=L9L0R8Smy0sn6+xy6g26ULA+eLXNII+36NCON2ERUgc=; b=kBx1YMmCT2ltXDe1NtRFFbe+RMv2O5JC+U2azyoYNILJqn1tybOP7BLQaozWNeHB1tVm9wE+H5N6fnDHJCPhf6HtqzrdU60fxYDludhYcs3XU+ZNWSorqhsNsPayUqfbX3f9QzCIGOaJvd4dOGjwc26h6sNUte7LirYiQk9bhqfBdcstgZZ65MrnEP6bf5QhFQX5CIqeJHWqw1PzL6guZ/eeKVLTH3Sizh+2Pd7Zp0PYYtpVX1N5DhGJubevf8lzcYyc/1pE/ADDJv8jxPPowV9EuunY+e8FSrjAEdqKcfwVdY6hyYFhpfTYFd7wXAWWk/TqVlBAQCpZKLLD2Ds3SA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L9L0R8Smy0sn6+xy6g26ULA+eLXNII+36NCON2ERUgc=; b=nPg9AxePN0WQ1+NywIjeeawCm3ZunC3Vg27p4Z5GpwhIS6QnHeMdAnOCQEQz3s3375NKv1jZZS4YWdxd3JAp6VMvR4pUJ2SiXw25eul9XzBgVCVzxBLJvCCbyZOUj6CudrGsXXvC5XbZHAuEO96a+wnqvBzSO5qvT9ITNAYwKAg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8198.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::14) by AM0PR04MB6818.eurprd04.prod.outlook.com (2603:10a6:208:186::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.25; Wed, 28 Sep 2022 07:14:40 +0000 Received: from AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::14d0:4458:d6ec:b8b1]) by AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::14d0:4458:d6ec:b8b1%7]) with mapi id 15.20.5676.017; Wed, 28 Sep 2022 07:14:40 +0000 From: Gagandeep Singh To: ferruh.yigit@amd.com, dev@dpdk.org, jiawenwu@trustnetic.com, hemant.agrawal@nxp.com Cc: Gagandeep Singh Subject: [PATCH 2/2] net/ngbe: use new IEEE1588 flags Date: Wed, 28 Sep 2022 12:44:06 +0530 Message-Id: <20220928071406.1532345-2-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220928071406.1532345-1-g.singh@nxp.com> References: <20220928071406.1532345-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR04CA0198.apcprd04.prod.outlook.com (2603:1096:4:14::36) To AS8PR04MB8198.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8198:EE_|AM0PR04MB6818:EE_ X-MS-Office365-Filtering-Correlation-Id: da081949-e6d6-4c62-4dc5-08daa1211be0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VNGl+TW1NNYnHG+1mDriP+l6YN6VhkdwKzU7Xca+sr6dgMzmyYemSlPkZJV8bl1QoMBsOIM/Hk2De6U4oMyKb63A3QPjsOM8VUjjMUDVVva3Sv5SqP3wk7YKGA960xXz2tPH23L7ouYVGhJ+bPQLa7vSuXDkeJRFZWq1rEEOvO9Skt+oSlmP+q3GhGvlI6M7vhG1XLB5ubKc55AvccvVpN9j8JTJIcdS8i1XvdgkmDLvwZdVrJiLW7B4XUgI8KDzvnSNZLwzDYGGtl58VerZ/fYPF86rWRltFS53+4EvWPiVTcuyYT+Gs9DCupet4jSgEl/6pGKpSMCadSMx1qOXbj6OEU4ARdkNzR+26azCAmTZyoXMG3vY3Z/4sX7Gh7dLUXJOIfk7q2ybzIpjrC7CwaFjWhURz++PoxUYicQQ6ak6Kd3tamfZ5+J9L71q5m/romFZK/M16Q5PaaFNzaX9K8OJzl8W+rVQoCLD+CFsa3b8nu5rLfbqv4hj261P021qAQBlg8IUuuy0gfcFvaafekpQPAZ0aphBMqeWnsdMHt7YrTnghfnr5V8tXQu/+y33ig8EFk8mpPUK90h1EKHsln3wyynyPisYJcQ7jkjtBIlr8c+a3OyIwYQDmcGWSJXVgqZs2Tjj0XFlLP1Kces39InSjzkfW4d0tiX8cgKvUKOxh6y2b4XAWfftYOLks0dKc2Qy+9HgqUvKYtB0uAhwN615XaR+cHFUJAHW21+6CpFiNRiK5uyMmkF05Br2n3yJ X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8198.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(396003)(376002)(366004)(136003)(346002)(451199015)(6506007)(2906002)(38350700002)(38100700002)(52116002)(5660300002)(26005)(86362001)(1076003)(36756003)(2616005)(6636002)(316002)(6486002)(186003)(6512007)(6666004)(8936002)(8676002)(41300700001)(66946007)(478600001)(66556008)(4326008)(66476007)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?PGhZpVnIb2COtXBQSO3v8U1dd+P801mADjJ3pk6zHl/ZXSIhkBaWOe+wrSfp?= =?us-ascii?Q?Hs2/J70qn7hHu+ag4PZNlqmG2AMn4I3rVl6Bw6AiBZAyYo6A+2FgpxKT03Jn?= =?us-ascii?Q?pFF0/pjBuXycuNxYjWnKV+fx3osBtmKDC/zEw+8kdAWRPjDjHkpL7RzFpzST?= =?us-ascii?Q?jS9jEn8oPqEjd5Xi9Lr90u3u+HbpAYS/Hb5CJxFeb5HSK5rdmFmqzcCUod3s?= =?us-ascii?Q?cLZ8j6361O6hT3HU1Gwkmn5KguHp1Yo7KJDq2uzh+m+6/FxOPs4U29eStjSr?= =?us-ascii?Q?hiyqxsLYI5uJ+ahLTwMdcRsoMfSviIrsAN1+tCwjGkOy5R9rUiqfxrH/x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75/54OPvHPT2oLacGahlQ+b0?= =?us-ascii?Q?QrLoe61OfRCgd/xJMlS3AEAI+gvQmJQi0VR/afE+rDqY0kc2YBrP0B9lRsez?= =?us-ascii?Q?POgUFxsDjV+l0YfdKkfnRwVS+qupH9AHo/GO1hOyFZLAOk6POF1on60iTHQw?= =?us-ascii?Q?mSajqr7jpzs3aba08YlXKxH8Xam6BTrmUIN5EyPvAic7cNYrOOavmMVS0Zw0?= =?us-ascii?Q?sKMvLE7jnAieTp8rQA3EHabo9LIqgdV8ljcgba2B/b51RYjdc0Gfi5QVUmNB?= =?us-ascii?Q?nGrA3Qbq47tfu3NsLeCRqmbN7KWwfg8SvLVi7LDpIlf8bwe1PfY/voFZIFzV?= =?us-ascii?Q?qVL8Lukx06ec6IkNFTnBYZZZWc3KcErPDiFLErS6?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: da081949-e6d6-4c62-4dc5-08daa1211be0 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2022 07:14:40.2367 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LP5yiA9jlI9bLr4q5glHxcLQwvmuw0F63Z930zUv+CxV/B6JAp9GKu+wQFiNE7F/ X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6818 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 Flags for IEEE1588 with ``PKT_*`` prefix has been changed to ``RTE_MBUF_F_*``. So in this patch updating the old flags. Signed-off-by: Gagandeep Singh --- drivers/net/ngbe/ngbe_rxtx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ngbe/ngbe_rxtx.c b/drivers/net/ngbe/ngbe_rxtx.c index 86a5ef5486..9fd24fa444 100644 --- a/drivers/net/ngbe/ngbe_rxtx.c +++ b/drivers/net/ngbe/ngbe_rxtx.c @@ -17,7 +17,7 @@ #include "ngbe_rxtx.h" #ifdef RTE_LIBRTE_IEEE1588 -#define NGBE_TX_IEEE1588_TMST PKT_TX_IEEE1588_TMST +#define NGBE_TX_IEEE1588_TMST RTE_MBUF_F_TX_IEEE1588_TMST #else #define NGBE_TX_IEEE1588_TMST 0 #endif @@ -740,7 +740,7 @@ ngbe_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, cmd_type_len = NGBE_TXD_FCS; #ifdef RTE_LIBRTE_IEEE1588 - if (ol_flags & PKT_TX_IEEE1588_TMST) + if (ol_flags & RTE_MBUF_F_TX_IEEE1588_TMST) cmd_type_len |= NGBE_TXD_1588; #endif @@ -922,7 +922,7 @@ ngbe_rxd_pkt_info_to_pkt_flags(uint32_t pkt_info) }; #ifdef RTE_LIBRTE_IEEE1588 static uint64_t ip_pkt_etqf_map[8] = { - 0, 0, 0, PKT_RX_IEEE1588_PTP, + 0, 0, 0, RTE_MBUF_F_RX_IEEE1588_PTP, 0, 0, 0, 0, }; int etfid = ngbe_etflt_id(NGBE_RXD_PTID(pkt_info)); @@ -952,7 +952,7 @@ rx_desc_status_to_pkt_flags(uint32_t rx_status, uint64_t vlan_flags) #ifdef RTE_LIBRTE_IEEE1588 if (rx_status & NGBE_RXD_STAT_1588) - pkt_flags = pkt_flags | PKT_RX_IEEE1588_TMST; + pkt_flags = pkt_flags | RTE_MBUF_F_RX_IEEE1588_TMST; #endif return pkt_flags; } -- 2.25.1