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 B7FB04548C; Tue, 18 Jun 2024 13:42:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 75C26410DD; Tue, 18 Jun 2024 13:42:16 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by mails.dpdk.org (Postfix) with ESMTP id A887A40E41 for ; Tue, 18 Jun 2024 13:42:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718710932; x=1750246932; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0gdzw40PYUDP7RkcMtBH5zJGHZ6llq9GeZXh2ay072Q=; b=Ip0J9hRwT0X7dNzumD4/QPgyjKs5RPFRuz7mkwmegqOURTOop8nDKbyd Z2Ouo+XHsLMQkrMkYjEooAs3gC0TP1JmfNIbYKGF4YfkNplj1fO6dhBMn WKo+kaMlzcxE45OCIBFVG8ufe/LpH9F/xewQZ3i0kRht5xFu1TlXyqgLW MPUu0xgsRzEeZyQRWTt1ISqNUwUBcv3J8DV2qzHynQnXAcXc621XAYqeT bPspLd1omx20iaRAzn+e7IYCFFZ7Zlbcc5v8w18IqBQLdUT9t4fhFdspo 0uY144fQf9+3xZS4ekDz5WA8FJ1KsanYAHEGeB+Afj7kxk7JefQ0HQAE2 w==; X-CSE-ConnectionGUID: 6APrqPqkQlK1aPGi+l1SeQ== X-CSE-MsgGUID: +nQJLasHSUmyPxaq2JNSNg== X-IronPort-AV: E=McAfee;i="6700,10204,11106"; a="19443306" X-IronPort-AV: E=Sophos;i="6.08,247,1712646000"; d="scan'208";a="19443306" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jun 2024 04:42:12 -0700 X-CSE-ConnectionGUID: fJciDpzPS1mJh7JUCl1/gQ== X-CSE-MsgGUID: wz4WmNbWQFm9Bn+kxDJylg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,247,1712646000"; d="scan'208";a="41621107" Received: from unknown (HELO npf-hyd-clx-03..) ([10.145.170.182]) by fmviesa009.fm.intel.com with ESMTP; 18 Jun 2024 04:42:10 -0700 From: Soumyadeep Hore To: bruce.richardson@intel.com, anatoly.burakov@intel.com Cc: dev@dpdk.org Subject: [PATCH v4 06/21] common/idpf: convert data type to 'le' Date: Tue, 18 Jun 2024 10:57:07 +0000 Message-ID: <20240618105722.2326987-7-soumyadeep.hore@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240618105722.2326987-1-soumyadeep.hore@intel.com> References: <20240612035257.2245824-11-soumyadeep.hore@intel.com> <20240618105722.2326987-1-soumyadeep.hore@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 'u32' data type is used for the struct members in 'virtchnl2_version_info' which should be '__le32'. Make the change accordingly. It is a Little Endian specific type defination. Signed-off-by: Soumyadeep Hore --- drivers/common/idpf/base/virtchnl2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/common/idpf/base/virtchnl2.h b/drivers/common/idpf/base/virtchnl2.h index 851c6629dd..1f59730297 100644 --- a/drivers/common/idpf/base/virtchnl2.h +++ b/drivers/common/idpf/base/virtchnl2.h @@ -471,8 +471,8 @@ * error regardless of version mismatch. */ struct virtchnl2_version_info { - u32 major; - u32 minor; + __le32 major; + __le32 minor; }; VIRTCHNL2_CHECK_STRUCT_LEN(8, virtchnl2_version_info); -- 2.43.0