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 5249DA0548; Sun, 20 Jun 2021 14:03:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CC25640141; Sun, 20 Jun 2021 14:03:00 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2084.outbound.protection.outlook.com [40.107.93.84]) by mails.dpdk.org (Postfix) with ESMTP id 7C8344003F; Sun, 20 Jun 2021 14:02:59 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EVB9nMiKkwepwJcHOT6tkc4fhXPbRMvLKMVr6AYPtYHRP5aM8tHqEtLPNoaIjRaBiTbezE03oVo9Qgu51ItjW3FdHR+EdvHo9SxFmGe64E9hEl6IIC3bpZZwl0mEQAw9I39znJ46k6OSr6itlSbWq8tqWG1yc2T/8Tj64cneH5uzH/2Kmx32g+KTEPFwakHqDXLtjTGPo7eyM7cX0+HBqubSgdFo9J5kNJzW3gdc9SV0D9ZCUq9hNzOcRrNir9IWIwa3SMq1MHfHth4uZUTwsjdDfrsFGhJa1VTI5rWwJfhZtjHrmNnfms14EK8Uekf9GG/B9Be32j+lOYS31oRP+A== 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=V0oMeznfL/YQ8vY8eiXmCHZWEhM9botAR679PHs3sQo=; b=FUaUbM1ohRtKaaUWn1W1FIBRs9M7Dk1uQ/1+T6o4W6xXlxs265PuKc/Zbi2Nvllpjo1kaWNRp8I7UcXcSvBcI+Et9mZ3EUxf6Cm0AqQZ7cFv3Xc/JsidKvpbTK8+qSLax8kEILVxer57U+9upeTxHV8ny05vO9dqL5jhWPyC06tM+Vo+b99hSUTCHGI+6Dz3K9LTbmXa3MPMfBosMb2R6Sln83mSP5giR3sWaRwBp4VaHudhRbxvbzgsqMCxigJH/LJTzZs9yO20oG6ukr+/+NPASQwwTIn4UjEJ0Tq/gH8niluq3vPxaXSJF29twoy4ltvR58v3eN6jEuGEQjNd2A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=V0oMeznfL/YQ8vY8eiXmCHZWEhM9botAR679PHs3sQo=; b=JnwlFrEOjK3fvD4Ga7be6QZYyiZGh85aQYnjPzc2Z+MqNPAvGGVMe3qYKUFy1oWUOZ7z2CjWSoKRLcIa76g5DoB5ZClmFf16LrM0uOa4j0Vq0HvtIJBb+YtuRtXfbQqYQAINoJ7i/o6vAy8kHX6aN8CEIRHKylaoW0t/IdiLBos2zkIk1jsrLhtm+/yug77jgeLqIbYh7BWmY7SgpsIvrRpXmrNpQDIHMoEd2em2dWM7EVrZ3Kg9+vepAnyDbZtQeXtH+IhcWF1xfClk9HsNoGTpaDGjVNV8GWx/oCLwr9fDGZnl3fBH+SD5AJzGqqQlarkMstDIlBE4h1nEheWewA== Received: from DM4PR12MB5054.namprd12.prod.outlook.com (2603:10b6:5:389::24) by DM4PR12MB5118.namprd12.prod.outlook.com (2603:10b6:5:391::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.18; Sun, 20 Jun 2021 12:02:58 +0000 Received: from DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::ec20:feb5:66f:ad50]) by DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::ec20:feb5:66f:ad50%9]) with mapi id 15.20.4242.023; Sun, 20 Jun 2021 12:02:57 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad , "stable@dpdk.org" Thread-Topic: [PATCH] common/mlx5: fix Netlink port name attribute padding Thread-Index: AQHXZRLy/J+SJOP9pEyVI72JboaxGqsczjAw Date: Sun, 20 Jun 2021 12:02:57 +0000 Message-ID: References: <20210619135628.1626-1-viacheslavo@nvidia.com> In-Reply-To: <20210619135628.1626-1-viacheslavo@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [188.161.230.67] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2a7522c3-cda9-4994-0cf1-08d933e35822 x-ms-traffictypediagnostic: DM4PR12MB5118: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: j84ZsAzWQY8e9bO+ghBw9K6NtYEpiaHs44NgD9cqB0vwrCHVwf2g3QdqfUjnjSCdTcNF2As3E+JiCtW4sJfc0WRbKs7LlR1Y9SKvtoqa8NTjbwRrEFGRgYapdxZC34i32GPFx6MhlwBmS1+flm7uXv4iWa0N9WSABFLr4vJz/OyDxprBZcgeRRAYslsJ8OmQMqozTIecUYveSZs3LG7U7FqToQlAheIY2cXK1h0IIKGJ+9djN7r7lntSCoxqJGrsuDAqpEuZATC2y1BPZEZpWeDQZos9gnS6phwmrHE0tnPLC8bYVNX14sGLNhN2dHEBcrdn75Z+5a64ynMdeBsbCYdhs3lWi8CMxhrBfhN2+rNmffRDL6LIZaGz1jgF346Gmkcot+AkR0wZiHqg6QjvIqSL1+K+cGd27M+BLIL4hKRvpdtI3kMFyXsEiUoBLKDJyuwpQVv+70Zi+rCkg76etIds78IJzZp7n33VtiLUkfH6AVa4FkCEyHgTdancYtSgl8dGIbkj1eCEXQoZkhCKFwGYi8UFnqlbsi+gJSEbCfsME05e1qXgOX0CPYHkeGYYeVJSsYvcgRn56muXyQq2dvI5BOqQJs0vP59QRho781E= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5054.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(346002)(376002)(39860400002)(366004)(7696005)(478600001)(26005)(2906002)(316002)(9686003)(110136005)(122000001)(71200400001)(54906003)(33656002)(5660300002)(76116006)(38100700002)(66946007)(8676002)(86362001)(450100002)(83380400001)(8936002)(6506007)(66556008)(66476007)(53546011)(4744005)(4326008)(55016002)(64756008)(186003)(66446008)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?o6LJTFhwjit+YPEMdlHyE2OET+Y/hjtXl6MvxK7GtDdk6+H5VyqGk0k95jbW?= =?us-ascii?Q?ElD/miFRFq3UOc+B2oo7wcT1/U8OmofSNXlKTAg5S/g6NNWziIMdu8JOwo7F?= =?us-ascii?Q?U2lClhMexL7lWVndpAL5AcyKHqQe1P9cxYb6azUKU5S9leqPj6VkNdyDg5rH?= =?us-ascii?Q?m3KLEBYwD3ACu1ce98kU1A+0QfxodOp79p4MlgSUwQT0rmfmNUIp0q3nFAYc?= =?us-ascii?Q?wCWDEp7RREgm6lMb1Ne2D2mPa/NrMMsV8cY5aAj/kWGhXkBbQzEjMK9nOL7Z?= =?us-ascii?Q?XNHO67ytQRsLnqTJiYBsQZpsqVOPYUpty2rYikXlfOwpnOll41t+OrYIdVse?= =?us-ascii?Q?nlvUeuNkt2iZjoSCM1qx9G3Eat8QdNtd/8yQPgBSVFx5uxYkfI3E/K6LV27q?= =?us-ascii?Q?KCY/cn16ORtvpBKrdsk2Z44AFUFmz9x1jBnH6iXb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/PQETdTlYLutHhMR?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5054.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2a7522c3-cda9-4994-0cf1-08d933e35822 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jun 2021 12:02:57.8048 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ygbN2CcRCAossMjbO7HkogLAOmPqxB4N2EpCP5sQ8xrd6S5oS8LEKelxHCF6zpWA8/+4pwjr4wZjxWbFb61WUA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5118 Subject: Re: [dpdk-dev] [PATCH] common/mlx5: fix Netlink port name attribute padding 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 Sender: "dev" Hi, > -----Original Message----- > From: Slava Ovsiienko > Sent: Saturday, June 19, 2021 4:56 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Matan Azrad > ; stable@dpdk.org > Subject: [PATCH] common/mlx5: fix Netlink port name attribute padding >=20 > On some kernels the string attributes within Netlink reply messages might= be > not padded with zeroes (in cases when string length is aligned with 4-byt= e > boundary). > This caused wrong physical port names recognition and > mlx5 PMD load failures. >=20 > Fixes: 30a86157f6d5 ("net/mlx5: support PF representor") > Cc: stable@dpdk.org >=20 > Signed-off-by: Viacheslav Ovsiienko > --- Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh