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 6EBFE454B8; Mon, 24 Jun 2024 03:58:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 63BE440A8A; Mon, 24 Jun 2024 03:58:04 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2093.outbound.protection.outlook.com [40.107.244.93]) by mails.dpdk.org (Postfix) with ESMTP id E492E40691; Mon, 24 Jun 2024 03:58:02 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g6VJjwk7u80yINBN6IPwibQnRpFk0TzxLzzQjZnJ1UAdDSDTiuCjbdBHWK8RMk8bihCi1jpq+O2Ugf8GuJf9c/sEh94LPC+cScTOg5SZoXjw/iJ+G+YT0wWFHyjEu5+1gN6TnDOZxUQE4L6EHdX1F4ucANwy3d3P26a0L1b9rHd/PXawwVmcl1imtWdqauiFsM00EbwyJYWAUIllCgwateK2+jvjecswMJb4g8xtPk/curfy1xO/S3lpuIyw+iVdf+3rzqmHijGWmHjh9YcaHK4uRw1jDsHAh2i5Nvv4K+lWlxy5tyJBhlY6IaTNEFXPNAgl8gmxKqoZ9/35AFUmww== 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=zjhc2l7fJI+bVE4m9jjqM4anZ/7ApZLGKriXrp97xoU=; b=PN6ZQQVGffyW6rZNRMGA5YT6CU+cfl7e87hTqoiOaSrmtFSQnHPYCaGN6LbBx+3jRYZTftMp1JRkBa7loMVPpLRCfPVUs/YHetoQ2sR482a8fNPVIY6z7hPL12A9ZXYnWN8mih1w7BhapRfsQ6sw/BEZQUia3QCoJrqUqu6vKJl2i7qf6S2ivPcWKcJiuue1TWPUCUg7Y3Ij2uyXLLaiQlyIZ6gsq/1/hgwbB2ZsGB1Q+9uKi4VcF21vLBp1ucHwneV344dlUVr6yeakyXxiGsI3sfqdX0Qtpv5BXHjCV99VwjrLo5Z68ba20XD1MyL/OxiCo7ZmEn5wxVC4+SaCEg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zjhc2l7fJI+bVE4m9jjqM4anZ/7ApZLGKriXrp97xoU=; b=qbINULvsNYrGMnLoPLT8mL5V4EeRCqC1iWAVnXoNO7fK+Ssxs0kZ9SycORL5glPwxK73/Y9DLHp+BFO0iy26xgonMXAjN88tUJ5wsehPjQCdvrGVLVVeJznZKfA1KsxO0qEZW5DFhNHqfgrYlsdcb64NBW4McRyYueldutzGgeg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by BY3PR13MB4882.namprd13.prod.outlook.com (2603:10b6:a03:36e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.28; Mon, 24 Jun 2024 01:58:00 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833%4]) with mapi id 15.20.7698.024; Mon, 24 Jun 2024 01:58:00 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Long Wu , chaoyong.he@corigine.com, stable@dpdk.org, Peng Zhang Subject: [PATCH 08/17] net/nfp: fix flow rule action data problem Date: Mon, 24 Jun 2024 09:57:14 +0800 Message-Id: <20240624015723.3712898-9-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20240624015723.3712898-1-chaoyong.he@corigine.com> References: <20240624015723.3712898-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR13CA0070.namprd13.prod.outlook.com (2603:10b6:a03:2c4::15) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|BY3PR13MB4882:EE_ X-MS-Office365-Filtering-Correlation-Id: 3efe493b-ff55-4e2d-495d-08dc93f11357 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|366013|52116011|376011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?uJWddQ3THPNYDEdVps71NUx2MHMPW54KxquT21j0D9u8hW9H+/VoaikD5iXR?= =?us-ascii?Q?hMkwfOV9UrJl6xeO3DoMaZV8R/J4cBiNWqFiKkqRK2WQ3e/A3wzcRDsFy9xw?= =?us-ascii?Q?WeKN+T6I+pgcrNwWN97cAhwzG0hwm8Ts6joNafgp2qGkIuOjeK97J/nd4OIb?= =?us-ascii?Q?UQpkBPclIIm8jFJdCVmqizgQg3xi5SO7B77H+XOG+w9UUpPn90dJzpHYcaUT?= =?us-ascii?Q?BfWIYo1yghb18tI0wVU3T9goK8jFu+bXkFFKi6pqSyvevCeE6tcQZ/hrXeVy?= =?us-ascii?Q?VSrKC9s8Xg3bal9oSSmRFN98hDfkTZtH1lt8Ep9vTul/abfpdvbQghMIGG7H?= =?us-ascii?Q?MT4SpOj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MCTmY6?= =?us-ascii?Q?VZ6IoJysg0zfrKeJXqa6nMF8LgmfNWlRwOZ6tabJg2qOA3uE0TlqpGy5PoTD?= =?us-ascii?Q?ikKZe6fOLQnFVgS0+pMWiucIe6i86CbX0d8s1XSHWQWDWXGpcLWSOnH2nj8U?= =?us-ascii?Q?sFsKA6M=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230037)(366013)(52116011)(376011)(1800799021)(38350700011); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?hTNW7DN7yNmsvxMidMD/7oCDmFd9WwUKES49ykl4K55sybmj/nyCNDtYrVRM?= =?us-ascii?Q?u2Kg3mCuJqyEjD8pNbRzkyUrGrS/nemxvqAB1merAUdlQZuUSpchKbTK8kf5?= =?us-ascii?Q?Wx+gkDSmCh/FKWS4k06QBMHFZszcAZ/SogjyjqXqMMmeS7B6XRlmu1G/ksbA?= =?us-ascii?Q?wJjWm4YMpo0kF5JBorLX45K1benvPPdmWqNtlWBysEIbYNu0EHJktsekX7xO?= =?us-ascii?Q?0nBa/GcpTquKnJxcmXwYHz5vyGEXGzX/U5PG5HXGKdbvzrWIbIsVh6EiPuqp?= =?us-ascii?Q?9H3FgesfKAJ6vhX9MuVLUu4TfySpsBoreBMq6f7pGDPWWbeySQ+ElgTSsKdH?= =?us-ascii?Q?YNbLJbTTMGdij5UMvQuBLUt9kex4ZuAX2Nq2UtYw8P1bUx0s4zL/R3IMgTcK?= =?us-ascii?Q?9/e4iyss8ZYKJeg5Pd0SVAb1CCCE7aoeo/VgGPdGR/Hop5UOQZvzDSdWWzhx?= =?us-ascii?Q?33lkiRMRUX5nDcjMyHaSE0d4Ec2kYdMS1WG+pBvZHZqbOCBaR7rXuTBw8c0L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KO4EZDJ0gLdSyKRAqEg4jTE1neZuNzBhpsXKIR?= =?us-ascii?Q?Ei9/Jcp9Sq+JkzZpkELk9lHf3s01j7s3ZFfoHzgYg/dQt/eDV+cQndbmQCse?= =?us-ascii?Q?rr6dSzBXkDZAMWzStMvoRdj0hH2WrvN7yvZUoYHkuJFok2Q9mvmvrK8/1sHI?= =?us-ascii?Q?OpltwESl5t6n8oP0F4x4VT2T13sw0ESYBEJNGdiHC1bdhQ2pf6KnAo/t+gar?= =?us-ascii?Q?pw=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3efe493b-ff55-4e2d-495d-08dc93f11357 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2024 01:58:00.3205 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DgeIfau7zReiBVZo5LVPVKZRX/UIKjLfENOSiiN2Rl6rcz1eAp8E2oy5kMUNhVp1UHIRnIorzUHaGtlals++3em8Jt6xSbs/yCMR1JZYgT0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY3PR13MB4882 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 From: Long Wu The data type of 'mark_id' field in 'struct nfp_net_cmsg_action' should be 'uint32_t' rather than 'uint16_t'. Fixes: 0b9079d24808 ("net/nfp: support flow API for CoreNIC firmware") Cc: chaoyong.he@corigine.com Cc: stable@dpdk.org Signed-off-by: Long Wu Reviewed-by: Chaoyong He Reviewed-by: Peng Zhang --- drivers/net/nfp/nfp_net_cmsg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/nfp/nfp_net_cmsg.h b/drivers/net/nfp/nfp_net_cmsg.h index b3d9bc33cf..ccb607f443 100644 --- a/drivers/net/nfp/nfp_net_cmsg.h +++ b/drivers/net/nfp/nfp_net_cmsg.h @@ -144,7 +144,7 @@ struct nfp_net_cmsg_action { uint16_t action; uint8_t queue; uint8_t spare; - uint16_t mark_id; + uint32_t mark_id; }; enum nfp_net_cfg_mbox_cmd { -- 2.39.1