From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3EE8EA04F0; Mon, 13 Jan 2020 15:29:54 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9A0691D418; Mon, 13 Jan 2020 15:29:53 +0100 (CET) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10058.outbound.protection.outlook.com [40.107.1.58]) by dpdk.org (Postfix) with ESMTP id F17A41C2DB; Mon, 13 Jan 2020 15:29:52 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b5MFJOVX5+HLBChLWCwQqHzSHLqlHccaP+7A4A75aSxNXtt6UObcEWlPMMrMkNx1esuPWdg4qa5T2USdhBQAloMGX4DYWDejzrWBxpArY0ViTfLZBkQm5RXJjTBjD4cVwGn9E7YycixgEIhQO62vdWVOF010xxTOsxviTY+hO+sOQBMUkfyHjxmCEhnQJOAws1tR0foTxyj4Lzf7KitC8Hx3gNcDJ0U6BTitIlNAaOD1/vvVQB/lzjKleNPhKl9Q01uC/KGHkGj6xRSfdJo5CR3GTmBjm4X/DQJ8F2sWIgzrSkkTU5A3XzKK+LxlLwZCM7yThRLwTXsT35mBF1FIFg== 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-SenderADCheck; bh=LlkyYp4NPfMs+3UxlcumMX5Rxnrh2PWtIlqZk5ut+A8=; b=n4P4NgxPk96BYJJHLe+7TlOLEaJyKFHCVxcajPv1cM8O7HrL5AbkQBFydy75j9WBe12gQnauTEq9wTyryXxWYVoEi77+uWwwK1K6CdLd6MjAnO5tEla2zLfIm41aTrWp9OzY0rAQf9Qujrr35V/bQSsysfcreyop+d0uAQKvnOVnTt1ZDHtUTjL4gjrUSEILr0GZ4KWF/REOyZAWHtAHmqrocV9oXetexOmvIO/3ZU7noO5ycxLjV81NvpoMtA0cnh+1TunrHeLowdOK/fI7lKjrlJGHZ8/Lk26Rzb0udmzsU7yAifwKLNEbXJ2y/mwzrpJ3wa7B51WzpGOfi1bRVA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LlkyYp4NPfMs+3UxlcumMX5Rxnrh2PWtIlqZk5ut+A8=; b=fOIAnyy6DPT/TI7boA4XEsZZf/P1libHhgfkpG1Qz3W3I+RF6tM5k2DKGw6mCkdpjnsuJYSdRu+wQddIdXiM3nTlra2T76JBwBfBdRjLZo8o7MkjcPyv436v72ibTf9OFVLhC4dKNbvJ9ZNF8T4QnLXAOW2TXZtRzraxpqAhytQ= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB4050.eurprd05.prod.outlook.com (52.133.37.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.12; Mon, 13 Jan 2020 14:29:51 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8%7]) with mapi id 15.20.2623.015; Mon, 13 Jan 2020 14:29:51 +0000 From: Matan Azrad To: Slava Ovsiienko , "dev@dpdk.org" CC: Raslan Darawsheh , Ori Kam , Shahaf Shuler , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix doorbell register offset type Thread-Index: AQHVyhzxoKlVJEu1SEixVLF3dBW/zafop28w Date: Mon, 13 Jan 2020 14:29:51 +0000 Message-ID: References: <20190612053215.5682-1-shahafs@mellanox.com> <1578925357-7088-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1578925357-7088-1-git-send-email-viacheslavo@mellanox.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: cf47a97f-9910-40fb-88f4-08d798350cd8 x-ms-traffictypediagnostic: AM0PR0502MB4050:|AM0PR0502MB4050: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:883; x-forefront-prvs: 028166BF91 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(346002)(376002)(366004)(39860400002)(189003)(199004)(186003)(71200400001)(7696005)(54906003)(110136005)(316002)(2906002)(6506007)(26005)(81166006)(81156014)(8676002)(4744005)(64756008)(66446008)(66476007)(66556008)(76116006)(66946007)(86362001)(33656002)(8936002)(4326008)(450100002)(478600001)(9686003)(52536014)(5660300002)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB4050; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Swv8yJoOYnJmGKxfhTgfNNZ/G3Wpk8b4RKYh5u74jtZuVZE+EKiam1jdsQce59DBC89fo1xW/+7DRjHfZvM+LGRFxS2vYgecIrzoccHOLASqTdxBwF6r0TeZMxmkByXn0pe2jNZjutRtPUiqIHOvaO64vL17CDgI+qAcG6E556VHmVJaNukcRhozQxy5lhIAYhW6VvUysIzhzjhWqBC6pG/Ahv6iEKrHoo7PbDekS21tzrOSrEgNQvfWtyQAEHmKc9eCcP/QZur6WrCrCcyJNvrITmZx857pM8hDRbWJ7VUmrj9do2jlwsGgF5ocW5mVRPKxcO4rCeYOKlu6UOj+r0uoD/yKwLI2u3pyOzxpoabgD/LFDIf2Ahvi9MR6t/aMok6lurEcV+5wLvaziOHe8yaVHe8lku6TfAmOGP/D8MHVYu0dEdJAKa/qP4djshoI Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf47a97f-9910-40fb-88f4-08d798350cd8 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jan 2020 14:29:51.1251 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jHK9P1aHvK5u4nOVDjkDqMofehI9ulV1ADbFQFTgzQFrcVd/S0mhzQMs8WbbK83l8jcp5q+B+ILKK1Sbp56bQQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB4050 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix doorbell register offset type X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Viacheslav Ovsiienko > The doorbell register is mapped using mmap() and offset must have off_t > instead of unsigned int. Bug is not critical due to only least significan= t bits of > offset are currently tested to determine mapping mode. >=20 > Fixes: 8409a28573d3 ("net/mlx5: control transmit doorbell register mappin= g") > Cc: stable@dpdk.org >=20 > Signed-off-by: Viacheslav Ovsiienko Acked-by: Matan Azrad