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 BCF8D42D9A; Fri, 30 Jun 2023 23:19:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 92F4C410FC; Fri, 30 Jun 2023 23:19:52 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 1D0CD40EDB for ; Fri, 30 Jun 2023 23:19:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688159991; x=1719695991; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=0rsbR4IMxAtCBZ8S0mYS4lqqJLrTm52Hao5J9kVQS3Q=; b=dBScFtd3g9XdDfvRLCBclFXF2Z1uq2FUI5pNdCzpqQjyasEfa1fYl9OE S0iZgObodq7gnjrum0wZup4pAbygXyWnHBdbbyp8z2vJpr/EDj7Gc4rxx /u+Az/rR2KtR8cuhsZPbvgNHTxa5bjxQfeJbwIy7P2bFJw8JeRjPnvejw A0rDBUPWHp/sSL8FQ/d8EwXRva5CCGcAwq46nOktVt+u/KuJNS4w6zALU Jgbg+QCSP2nvZZL8X2kB3xotuJRJwitFF5d+gY7hVAvVy2MU9MOQpsyzT +gFjBC0rJ0BQZSbukdHk+hhcrz7vVFPMbwpw8ZMVfrarQlN9leqm9vTnt Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10757"; a="365983130" X-IronPort-AV: E=Sophos;i="6.01,171,1684825200"; d="scan'208";a="365983130" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2023 14:19:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10757"; a="721098689" X-IronPort-AV: E=Sophos;i="6.01,171,1684825200"; d="scan'208";a="721098689" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga007.fm.intel.com with ESMTP; 30 Jun 2023 14:19:49 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 30 Jun 2023 14:19:49 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 30 Jun 2023 14:19:48 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Fri, 30 Jun 2023 14:19:48 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.102) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Fri, 30 Jun 2023 14:19:45 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XO6x6GqQ9le0cyw2uQgsTCa1YOdJExu1awH5b3F18G2YrpRTQ41Y0XWZdCGrncCOvxajgj/e8ea+M7mGdqbVEntcDrAFmsKo7n2xHyiT2/WH/ek4WboPHEt0jCFy+NFDI0b0ZizVxp1x+itxSf/wVipY4FHd+CZzutAzSLnCcJnE03ijwF6W4V93e2ejZeu9s9iXQjIpZUb8h2SizgxlRLzTSPFpb/2y5Cf1fWLko/qeNBhWEW/DFoE4f6KBQF79XeHd33ncuaMeI+6pzVUlVkhjbc7eQ9YdpySZ2BCIvxeEmthT0T6hJn53sIUXrZMu2oCtJNxlR75BdsAwzZYoRA== 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=0rsbR4IMxAtCBZ8S0mYS4lqqJLrTm52Hao5J9kVQS3Q=; b=GTlHbK/Y7CzPbzTa/bXRk8L+/kRLlUi9LY/zmk5esxiMa27c8OPfFwvfz4WWMOMYesp56Nbmo5tBEEE+A8nf66+lOWCMyoCKEX8yM4rP63NAsbDReJ2jsvAgRBD0wykZrZUO7XoZgN7Wxxe+44j2cKAkkR5v/BgfgFFpGK+6ObmJXREH2oyHjzWBQ/u3Wlkj3PKEckd8pnkgAIZYdV1mIhc27J6yVVfvG7ngLBc7AGyEOpvQAggtiBD6e+hPCGD9H502jB7dJvhnkXxDEDwYFwp/rVbwSv0qow6/+jXD9h6x51VlRbJKayarhCsYtvLkbINGiwzghW4g2uaQe31BWQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN7PR11MB7639.namprd11.prod.outlook.com (2603:10b6:806:32a::14) by DM4PR11MB8225.namprd11.prod.outlook.com (2603:10b6:8:188::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Fri, 30 Jun 2023 21:19:38 +0000 Received: from SN7PR11MB7639.namprd11.prod.outlook.com ([fe80::9d99:dcc6:8339:8c5d]) by SN7PR11MB7639.namprd11.prod.outlook.com ([fe80::9d99:dcc6:8339:8c5d%7]) with mapi id 15.20.6521.020; Fri, 30 Jun 2023 21:19:37 +0000 From: "Power, Ciara" To: "Dooley, Brian" , "Ji, Kai" CC: "dev@dpdk.org" , "gakhil@marvell.com" , "Dooley, Brian" Subject: RE: [PATCH v1] crypto/qat: fix struct alignment Thread-Topic: [PATCH v1] crypto/qat: fix struct alignment Thread-Index: AQHZq0ZtpnM/AfjkjkusSxp+0FK8Zq+jStpg Date: Fri, 30 Jun 2023 21:19:37 +0000 Message-ID: References: <20230630113040.521683-1-brian.dooley@intel.com> In-Reply-To: <20230630113040.521683-1-brian.dooley@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN7PR11MB7639:EE_|DM4PR11MB8225:EE_ x-ms-office365-filtering-correlation-id: 2339f135-8568-49aa-7837-08db79afb5ca x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /uqdrqjTFVcskReTKCAYeMMRofaFN8pj4feqry2a/rf6zPZAnc9MEPvi01hZJen/jYBHqSrV33KVMl8B4KppxdgjuWe79WIpPYCJjKnLO2Lsl0XQoYkr+Yf3PhCM/FnxtDFzWDtxt4tts4Ir02FV7Oh7un6K9wSjkyQ3w2HAKiAB6iIoQ5R0sCjMPFztfMFriWOsagrb98ljfhe2sZRnzV+S+vpuKqptuCnyWieoWj2162xliXSsTyD2kn6HhKY1NUY9OXxXlB0q7wD4Bpz8Y1QEBwE1TmEpULi7qtluh0P6nFi5ZX8lRiXLI3hfURIwNYv3pJZXx5tcdYKn42oDYP9C1H4f3Zvjeay6yzRYw2xquMZIiqCszvrzUeqw8ua9phg0hnZF7cwqjaUM1cMbB6qDdd50f2XeBEcuRhI4L15TKbchYZAhZdY50TxBgUIkOxttwxR5sEk7t6i0LXCuvdFfjYRZegr1hXjXh2xwznQgU8Fwxa2pfsAy0APEFAiy00un5DzsP8tUSu2cXHNNLSS8aX0lmRGqQFZpAUFA1fxIEp2iVWZCCl2MqgQ+AAJWZxFrhpbXeIyf9SlfErSK4FPQku5XgHUVW5dQWcFDTZs= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN7PR11MB7639.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(346002)(366004)(39860400002)(376002)(136003)(396003)(451199021)(38100700002)(122000001)(55016003)(82960400001)(86362001)(107886003)(38070700005)(53546011)(6506007)(5660300002)(66556008)(66446008)(66476007)(66946007)(9686003)(64756008)(4744005)(186003)(76116006)(26005)(478600001)(2906002)(110136005)(8676002)(7696005)(4326008)(6636002)(316002)(71200400001)(52536014)(41300700001)(8936002)(83380400001)(33656002)(54906003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?4SLCnjoCUsa1JgjscOXvQ7sTMbsgdar3DAQ72mKhYtWspPt8yPeBUYrWlLo/?= =?us-ascii?Q?qcctYeElzOyxF+ppHR4GLqc9hmnZ+5tgKYeDSZ9tLBR7cqAO7U6zQlGXnsX2?= =?us-ascii?Q?RAlcAAYmIHUKEkeG8V2tzxniUdECg/tnKUp70DLbEokvZHxxoux8KXJukejj?= =?us-ascii?Q?LQuragoU9qwEKXN+O+FBEpcFy+fJUcBxIKZI0IbEphWsC4YUZDxxhVmInh4X?= =?us-ascii?Q?1EpWSoF9XXWs4VgrahIL5FLLiL4QD0PCxGlJD5lA0xGP4g9xlK/yNDxZ91eB?= =?us-ascii?Q?mTOGKPzkVZbIBAnSzt9Kv6Y9QjXlz+1Xla7FNv45gNw7b1pum4N6eI8RGT53?= =?us-ascii?Q?pGUhIOp0tW7qKzERE9/CHh5MDmKJkpv0H6cZaVrMhKAgpUk2G1vh9PXnnxzR?= =?us-ascii?Q?D/bzgWRzX7xVgNSpsdL+/TXxYSq+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ZZkwVvNw36v+ys6l/wwZ4n1XdUaoRYwiXvUiF+ifS3UAd6fMszkr?= =?us-ascii?Q?06UNN+iN+n7rwu5rBjHy0o+FS3oai30zxAFEZOChcROTIg3veouE8iei8D11?= =?us-ascii?Q?qKzOODkGNEvtZ7sFNNcW/qvZCUQe4VlZL6YXgmoPFy2OzjNgC1Og8PSCOICe?= =?us-ascii?Q?uP6GStlnWpajaSSZ/EfXl6IwfdTu+41gW+L4leu9gnoesKJWwTE9RNatVpRf?= =?us-ascii?Q?4ziqgZkriuK8SL9CRU2N7Jh5HJ2D2LoK/0xP0Qy4?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN7PR11MB7639.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2339f135-8568-49aa-7837-08db79afb5ca X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2023 21:19:37.8757 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7Aw3qpBoX2adWTXA0eX/tOzrekAwThGItHNMbgCpzm15Dd1TKJW0xKSJ/SlrPafl05s1Xf+ekFNAbMUZDC41TQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB8225 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Brian Dooley > Sent: Friday 30 June 2023 12:31 > To: Ji, Kai > Cc: dev@dpdk.org; gakhil@marvell.com; Dooley, Brian > > Subject: [PATCH v1] crypto/qat: fix struct alignment >=20 > The qat_sym_session struct variable alignment was causing a segfault. > AES expansion keys require 16-byte alignment. Added __rte_aligned to the > expansion keys. >=20 > Fixes: ca0ba0e48129 ("crypto/qat: default to IPsec MB for computations") >=20 > Signed-off-by: Brian Dooley > --- Acked-by: Ciara Power