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 981C4A0351; Fri, 4 Mar 2022 11:02:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4ADB040150; Fri, 4 Mar 2022 11:02:51 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 6B7E34013F; Fri, 4 Mar 2022 11:02:49 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 22475F9j002077; Fri, 4 Mar 2022 02:02:48 -0800 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2173.outbound.protection.outlook.com [104.47.59.173]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3ek4j62wyj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 04 Mar 2022 02:02:48 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FKOqqaD8dVQZApmFdghju57TF0C/cmCEguHP2QCdw15t66ez/h6+qKJ8fCMzMxXCWkw+SAdKMKVIlDotHBqyfJmlU52mpF+o1LOdj03aaPA+XbigXabHjQAyzzzU5ooanbjjbL5AnpOh/jF0WVCQh3JN99IJZSjPPIuBRMFMXoyNeHZpIlWM5mKqgvNcjQ0I9iqB5dIDelQhx8orzU+R+VzDhxY6j24onKeh5AXyi/EcZEuvBYEjP9PlZDZ1iLmkuzHxnNoJP/Iq7mwRgKOJD3Rx5XjA+dfDxvWoxEuur83AEJ3Fo6vEe7MgwFN9Wf0i9pbKpBrE8L9SoWn6cMeXBg== 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=kEKG2swl8kdoSrsRv2OB7qwyx3sG7yUalDd82UiDUYY=; b=Ln0m5vo3IfNCoDxRWC48lwcDN1EEwve/t09hJhmlSid8A329m2JJUtGF1NCyao/HTGwLGQesxRh4bDVyxTvfXWGDZeIeU2rs+pNvT8M/+cYcwY7oQiBknuWrIjB4JVZl92gWW8cICDCc3Nw67lGBgdUq/c4AiY4I+AyBBEbho2hICpay9wdBw3wkJRmbMAkU1dPAR/RSB2Z5+4yTWEGQFqXO5ZIfQ83rUjHGxnkl9jWSq4QHBt6f52pwvnIAJGhgtfM+ecDUgVDm7M5PSTch4LtruQ7qLuhmSpqpC0SzsC/l/0hQxJoup1fElwvYRsY1d2arzbDVEOJsyQ67gs7xpQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kEKG2swl8kdoSrsRv2OB7qwyx3sG7yUalDd82UiDUYY=; b=DjINhkdDAUNGpyD4JHmynFHKeanL1/fC4JkppbuKIWFwT3BQSkinsdtKtV0UpgHdPj+Y/0Pwwn63jMotHIGh0HkIh5Xk7o6zHxNHzzii7NrIQCYERf3Z1i/Fsir3fANkwwPD7eMvOe+VJRT/+fJwJ/eugTpBs+36Eb9l0chYP7g= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by DM5PR18MB1531.namprd18.prod.outlook.com (2603:10b6:3:149::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.17; Fri, 4 Mar 2022 10:02:45 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::9897:9e8c:ed0f:4f1]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::9897:9e8c:ed0f:4f1%5]) with mapi id 15.20.5038.017; Fri, 4 Mar 2022 10:02:45 +0000 From: Akhil Goyal To: Raja Zidane , "dev@dpdk.org" CC: "matan@nvidia.com" , "fiona.trahe@intel.com" , "stable@dpdk.org" Subject: RE: [EXT] [PATCH] compressdev: fix size of socket ID in device data struct Thread-Topic: [EXT] [PATCH] compressdev: fix size of socket ID in device data struct Thread-Index: AQHYLXbPimHC6pWa7k211OTDVIxqO6yvAoNw Date: Fri, 4 Mar 2022 10:02:45 +0000 Message-ID: References: <20220301141502.11209-1-rzidane@nvidia.com> In-Reply-To: <20220301141502.11209-1-rzidane@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fffe73f6-dadc-4568-354b-08d9fdc62164 x-ms-traffictypediagnostic: DM5PR18MB1531:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4PYYExQT4YOzCF25rIPxjB2PDlXUoRQSJnfp1X5BzjdA3wXsepkflIlPIDEEeeyrXExfq7o8EjA0tXuIiQrV7fYIxpqtvg+uICf5XoCcu2v080XK4p42wHEeSPqyPM7GsSDypCPMPc63sWCJOsRFtJCLHszG0i4zhl9ZZBTlYSttLObZJfwot92IcX+x4o7U2aHX3rOifB8BS9lRGyRZ6DBkg5q8/eyISBwT0iP+aQk0zY6j9QudS8Cd7HjLNcS4ZBejhdSVC4nofYCURLweuU5Gw9J2hd3f/mbraCao2GBnD+qF/ImlkuuS7U7xOEloLyAfLYWP47Li3p9BzkMcL5ebvPf1P2Ci8gctz6ySuh4h0htGKBD98VbebtbLA15Pub80XtUkfyLpKg3m8Z2iFvlENcQCpdiW/EBhBVbL3F8kUyq9Z4f0hrQawSrfvSFWK74OesXAsoygM/l5TzVLpWNF/uGIdRoDkB8IbrzA3N4qOug+DdbCaVitXz/+W8LAxqz2S0YlbnDKmBZdyLHHdfkqE31xFneK03+9L9B5xcdK1Vn4jLYUSgk7/hkl9Gd5Y2O67iuk7Tq/u+PwBZo+uWXGSXuJWOSZFHfV6zCU/skRZPKFVizJeEqfUpHEnP4MsEGoar+CxDEH7ypNVGK9bG500ttOeLnXyMiLhhNzaoLAsJG1zT4G9c8mtp9wKyuFM+HD8+lBo0BizEWc4iJSmA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(55016003)(26005)(186003)(2906002)(33656002)(4744005)(110136005)(5660300002)(54906003)(55236004)(71200400001)(316002)(122000001)(8936002)(38070700005)(52536014)(508600001)(38100700002)(9686003)(86362001)(64756008)(8676002)(4326008)(76116006)(66946007)(66556008)(66476007)(66446008)(7696005)(6506007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?h+hb1WjJi/PhFIGgumX2GxiDQVr5Qcves7GK5vmJ1KmgCQomlJBUKyOawvTr?= =?us-ascii?Q?A/spAXvbVX1SviIBpR1VuX8tCBRkxIf+sEgnPOR/ktmx2RfWdk0c0TmHAksW?= =?us-ascii?Q?ziq6nxceTtUkvnWMB5xoFW4/5kQEw+fPk4UuRslUgeQc+SaxYHk9vHxeWcbw?= =?us-ascii?Q?NUGDgsX3+fTt1q4Z9Kd6TwoN40Whj8lgH5JBiZF0GIWbupgA0p+84lvCqvl3?= =?us-ascii?Q?l8vyj+De9oK3AnFLV5QlIn0067RHktI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SZDjKUYdmHpFc0uOwjo9kiwEcgqzsAKecuuYTi+XT1juPBq2NNoGB?= =?us-ascii?Q?pzzd3XhFrj5tsrQ6iwsc5B7dC6UUjfkllr56ZPneAXEUAIhuIunvE2ua4kAG?= =?us-ascii?Q?jtoXyzLWMTrCxeYPs8DJRa0GY36Dlsb/QuiuobuCavMmmTR90nG0/8KovA9m?= =?us-ascii?Q?WdelAnFoFPDXoly2TkZFZF87qAatUj6tXi5SWGOqE/t5e6g8E9y3Y64U581A?= =?us-ascii?Q?LFS3iHW8UsHtTnmp7ctGzVPcdlQP5yrYNIdA8VUAgsdAF8xazFJYnqJmEiP/?= =?us-ascii?Q?xtQ2GlmO/dQTUvir8ArLp9RXeTufvWdyBAxInwRYKXq6y6CqRycfKv/KTcLz?= =?us-ascii?Q?7TXLUqRMJ+nx71Hyd5lLx9AkoPaOFTR6xYgwJX7r6tXfsJnsUVMlOlLP5mwB?= =?us-ascii?Q?iCzHf34aEUOIzQbrFdGOIPuE5VN0BFT5oKOdORRNans9tVAMqhtl2ZG9momP?= =?us-ascii?Q?HTWmZezEaukQGHOrb9OqvCA=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fffe73f6-dadc-4568-354b-08d9fdc62164 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2022 10:02:45.4109 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 9YrYRvErfz+dE42U4CEw53sXP17AmN2aCLpp52UaPSQIfTf2cDJW0x9D7FFSyRMuodE4llrLI0wFu6moaGqbSQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR18MB1531 X-Proofpoint-GUID: L7AyJjHwLaUYSMK_ZHwU5qrhOJYMtyYV X-Proofpoint-ORIG-GUID: L7AyJjHwLaUYSMK_ZHwU5qrhOJYMtyYV X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.64.514 definitions=2022-03-04_02,2022-03-04_01,2022-02-23_01 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 > Socket ID is used and interpreted as integer, one of the possible > values for socket id is -1 (SOCKET_ID_ANY). > here socket_id is defined as unsigned 8 bit integer, so when putting > -1, it is interpreted as 255, which causes allocation errors when > trying to allocate from socket_id (255). >=20 > change socket_id from unsigned 8 bit integer to integer. >=20 > Fixes: ed7dd94f7f66 ("compressdev: add basic device management") > Cc: fiona.trahe@intel.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Raja Zidane > Acked-by: Matan Azrad Applied to dpdk-next-crypto Thanks.