From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 5C1D645BCB;
	Fri, 25 Oct 2024 18:51:31 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 97FD9402E3;
	Fri, 25 Oct 2024 18:51:22 +0200 (CEST)
Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7])
 by mails.dpdk.org (Postfix) with ESMTP id 59939402AE
 for <dev@dpdk.org>; Fri, 25 Oct 2024 18:51:16 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
 t=1729875076; x=1761411076;
 h=from:to:cc:subject:date:message-id:in-reply-to:
 references:mime-version:content-transfer-encoding;
 bh=C3pAZ93yZsmqXoHZ5t6JrqQFiasJ86yLfDFxVv8Naug=;
 b=i7Oz0TiewfeSNZ/rzHR3Y4geUnyqoMRgyy2Fb9A2jZN2EJ22fXDa2rBj
 TOXdXsveSQQZ9NqCIPbkpCW3vWu7YPrTJspfKLmktW/K5hrvtVjKpB6Pw
 hWQwB4MQrZbycxn665gQBfGnVJYd4Hxm2SLN9QXWGbYZDBjJfx64A4sGE
 a+fGlUYZ8wWrWXydCSXIaL9nYHiElPz4lP+W5AQb7jctsZvdb287R9L4P
 GMEzy4oygr/FPJ3FT8SVi033KL5OYJSmomrKLuVl5zOPT9MGD9lodrVq3
 m0cnv0M4Xnjo/AWgxIjNgleCd5JRuzWSf2mJSJzXSRjD5KeD6Cq1dO4wx Q==;
X-CSE-ConnectionGUID: UHyACtO0T5+HrFUGgx3ZEQ==
X-CSE-MsgGUID: RqgVDGS8SQakwHeUEFOs0w==
X-IronPort-AV: E=McAfee;i="6700,10204,11236"; a="54956159"
X-IronPort-AV: E=Sophos;i="6.11,232,1725346800"; d="scan'208";a="54956159"
Received: from orviesa001.jf.intel.com ([10.64.159.141])
 by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 25 Oct 2024 09:50:40 -0700
X-CSE-ConnectionGUID: 4r4H43uTT3WdPw2bk7OXbg==
X-CSE-MsgGUID: rnOFZqCaRgqfpwhGwOUs6w==
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="6.11,232,1725346800"; d="scan'208";a="118417493"
Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25])
 by orviesa001.jf.intel.com with ESMTP; 25 Oct 2024 09:50:39 -0700
From: Bruce Richardson <bruce.richardson@intel.com>
To: dev@dpdk.org
Cc: david.marchand@redhat.com, Bruce Richardson <bruce.richardson@intel.com>,
 Rosen Xu <rosen.xu@intel.com>,
 Stephen Hemminger <stephen@networkplumber.org>,
 =?UTF-8?q?Morten=20Br=C3=B8rup?= <mb@smartsharesystems.com>
Subject: [PATCH v2 3/6] bus/ifpga: remove packed attribute
Date: Fri, 25 Oct 2024 17:50:16 +0100
Message-ID: <20241025165020.1856733-4-bruce.richardson@intel.com>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20241025165020.1856733-1-bruce.richardson@intel.com>
References: <20241017142214.1669370-1-bruce.richardson@intel.com>
 <20241025165020.1856733-1-bruce.richardson@intel.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

The struct rte_afu_device does not need to be packed, so remove the
packed attribute from it.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
---
 drivers/bus/ifpga/bus_ifpga_driver.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bus/ifpga/bus_ifpga_driver.h b/drivers/bus/ifpga/bus_ifpga_driver.h
index a42afc7d75..af151ffd4b 100644
--- a/drivers/bus/ifpga/bus_ifpga_driver.h
+++ b/drivers/bus/ifpga/bus_ifpga_driver.h
@@ -77,7 +77,7 @@ struct rte_afu_device {
 	struct rte_intr_handle *intr_handle;     /**< Interrupt handle */
 	struct rte_afu_driver *driver;          /**< Associated driver */
 	char path[IFPGA_BUS_BITSTREAM_PATH_MAX_LEN];
-} __rte_packed;
+};
 
 /**
  * @internal
-- 
2.43.0