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 A51E6A0548; Sun, 20 Jun 2021 08:07:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 33CB140141; Sun, 20 Jun 2021 08:07:18 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2086.outbound.protection.outlook.com [40.107.93.86]) by mails.dpdk.org (Postfix) with ESMTP id AC75D4003F; Sun, 20 Jun 2021 08:07:16 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mkAR3heV/tMOFIjLLapJ/WBeFsUlMEpRzrU/QeJOivus90nFeoTL9GgqUq/YJqUpqRcMz0VH1qNwE0MiDYvU1Xqnb9wGRAPtQ3IV5QcHi08L5z6RhMebBez80QinvEIMTic10MrneZ1P/ewcfR+2j/wEAkwakjTs1f66rWOEziK/KyC6JtrJBjy4mAsz7egZYm2X5BpSAS8Cnun9007x4LTQ8oFoAhMgMvPDUKYZVXsS8cJUUJzB6NEoo/YtrcjPAHwKp4hO2440jJ1WJFpJoJTqX21KT5yTjgYLdijqhyxwT1tDabXDF/gr+2lQlvnsN/Mv4sJocp+DOoRzpqE0Kg== 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=ddPgSY4bPjY38WMhky8ueJxGr50YryT4eNiSi9PpMY8=; b=L/xzWaLCcAWtWT2OIAn7Zkpb/XtM9a985cclHPB/aVQyRo3CZ8wZ+Hrh+7Xl9OlvvMYc/nGdaydXTOYuuz+xpI9Ziq9d97vn50szIKx+XhFa2PSKVWxFD8MzUy7o62CWTbqTYQQHBmf3WOcQ7E6FGGvSktAhoNo8sNs5aSSdflrH4B7idCyHg4dGY2h/kiH7haF0wYhomeRGrlN/NkmfQBbXPwL7vjP+RGUfsqhRrwNx10uIs2DoVdiYUMsR+lEgf0yY2/vghIaWfPPdyWbd8rMC0rItOwJzC7nfIEu8JMKclqx7EZlJEpZaXYz1MautlX47pCh0RD9O6G05eGIs4w== 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=ddPgSY4bPjY38WMhky8ueJxGr50YryT4eNiSi9PpMY8=; b=tylfxn+xwmy88CZYa+x20rmCDAXvuITDbPn36/hCQQAqwypFR1pT85cWkLykWwyk0FIjiT2vvTK2fgG8ZuHjyWaR8XUx2rihV95iXdGv4HoPjaRM22fvFD58xCaI393e445gKFPJyJff7mejvVqSENWbZi0nDdv7BEQ0e1orHzCJOjSruBIyhtbex6e9XvSjTpSsIMnRuj4TNO9DEqOyNUwDVJC+3DRTn3dPerlio3KM18K/gHg0f0phDSktQeLRMH+cfUANYwur0IgVtmmvoXTxRQ6MtO8Pk3tZutrg4ohmp2iMk26jl2ybfscM2wDHTFpvcGoJDmL5X1Hz7NMK9w== Received: from DM4PR12MB5389.namprd12.prod.outlook.com (2603:10b6:5:39a::7) by DM4PR12MB5389.namprd12.prod.outlook.com (2603:10b6:5:39a::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.23; Sun, 20 Jun 2021 06:07:15 +0000 Received: from DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::9984:54f3:177:68f4]) by DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::9984:54f3:177:68f4%4]) with mapi id 15.20.4242.023; Sun, 20 Jun 2021 06:07:15 +0000 From: Matan Azrad To: Slava Ovsiienko , "dev@dpdk.org" CC: Raslan Darawsheh , "stable@dpdk.org" Thread-Topic: [PATCH] common/mlx5: fix Netlink port name attribute padding Thread-Index: AQHXZRLyDAj2oo14uEqrEJUdifsTzascaqoQ Date: Sun, 20 Jun 2021 06:07:15 +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: [109.65.27.101] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6ee76620-beb5-4ff3-4cb8-08d933b1a6f2 x-ms-traffictypediagnostic: DM4PR12MB5389: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3513; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vaNdH7cHQh2e5LuhcN1bQlMzCgqdYinOIWub04E7568bZbFnWfNd1e9gU2F3xYbTHg+wH/o3J++z46UXravht3Sr2vEQTswsvRwutqTDxs60BhamNXB+qho0HyO2jBSj7ghU8hNamukrjnPMeGWo16k9rgol2deql4mCpZvTzTt50TnjrhTKsSouBGMWvW9j8AUIC3aA8mRjE/kc4D6YWX7FwT63w3n/52Kd3knKQKOdbEF7wecA+h8Lq/Q+78pMR8J7sX/XiC9gLAi1XUtMyov23h66PbxL4kjIbIGYNl8mCYMPDpRw6mzgwzFihMd50YJn6F71lsmTBEE5iszMdcea4s4DlYqH+obBnPMHg5QDZi8s80gfTBk4Ob9TDl/awybZGv/cAwZJZ8d/3DVc4KJ9QufV7yRtAKcPAIVQ+CIrEsaK2I6xDVG2xVM0Ck02wm5zD7kRMD7mrG6YVUcX/CO9jKLV7kxbfx+mXTvK36zCkn4eSxcA8egUeQvPKky4oWtC3uxbN7B9FAO4C0Rd6A90znNJ5jlcIo3xlDLdHHmsCzTmoIgWVRasvHY2lUyYm41WZK99Yej5zbOT6871LuXcZPU5NvD2Rbo5+Xj+N4A= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5389.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(136003)(366004)(396003)(376002)(39860400002)(7696005)(71200400001)(54906003)(110136005)(6506007)(66946007)(76116006)(52536014)(4744005)(86362001)(64756008)(66556008)(316002)(5660300002)(66476007)(66446008)(9686003)(33656002)(55016002)(2906002)(8936002)(8676002)(478600001)(26005)(450100002)(4326008)(38100700002)(186003)(122000001)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?srccnmQ+MJMd8s3S00KvDG/OpzIL0NiH0jQM5Ww9ePNDxnRVTT5CoTakkOG0?= =?us-ascii?Q?vS5iP6iNwSi6WwvH07oFjqZd6EtSeGErzLyaxiF588oqmdwAfgLxGJvlHc7n?= =?us-ascii?Q?OT1UCGrJLNazpvn7fxSH+Vxaq2FgSrTQSW+rtLwaoypAjPCDDw9Nss6Lldr2?= =?us-ascii?Q?h5cgAqnkhKeK1Pb7PgWgCYQkx3/ZVAYP0qKz5i2nDc7axKSNh5qQODhRsmRb?= =?us-ascii?Q?n2ykBjS9d/l4s/9BplFJWaeo4jJUOoFCCgevSzNoDBgMcClUl0S2Q0mCwQnl?= =?us-ascii?Q?PygLzgrR6F2dWPV00NEZim1xeGUwEqMTfqdR5sLHfgj7/Dzn08dmqBYVodBX?= =?us-ascii?Q?Vp/w8eoesE0D/meqDBhahGrkw8KoTbJLiTdCOoQEYvSi4JqTTImxnz2O0J0R?= =?us-ascii?Q?fP6EUE/5BJzxkYC4fVOJsQvMtbC8mPILUuieDlOPB/T1yKSOp26zKICnwHwr?= =?us-ascii?Q?7znkGMRqTP0jBeyMf55T6smpfckPRflEs76wTbZ+LbOUVlUq07QtrnrhqxHY?= =?us-ascii?Q?UG5qHmfkFv4UBt+vVUpBEUK3I0WPsjBD002MhoaY8FmR6+3hvZNc0WFZGxM/?= =?us-ascii?Q?6HQqxzZ1xG2es/SkI3/F9DfTX+oY7/3yZYq5p1LfyEEQtXJtcAkJoIeKwGkY?= =?us-ascii?Q?/NrdMJwLixhcYmoDtK+pKnEKa7UlcLm0PUrrY55NxFcLvlK49oBQO6i7arUg?= =?us-ascii?Q?gVSP5L5w1cj1J7uEMGQbfLXLq322CAvzPiwbc0aRISbZDCJVfL4FIY5RF9N3?= =?us-ascii?Q?6y70pss/lyuDdmLNNo4z/FPXvZ90bBiVB9HVtcLO4ejNF2aomfG0/fzfSx/U?= =?us-ascii?Q?DH3iyki2/+rr/ttbixatkbHlCRis7PVRbo2QAbD2LxWdTkLLa33mje9sHni1?= =?us-ascii?Q?FMuVxIfvTKrYk7v1ign4rYcAatZI8hDeKMGebtCzMGg2ztVWmNVUFBq5v+XU?= =?us-ascii?Q?3G9eaRHqWQj5ZBptocGFI67ytnZfSbVM3f9Wk3kKLx2Vf+yLOR50XDkYIWh3?= =?us-ascii?Q?HWIIMU3BVn0edQ9anndEsuL3Y1oY9J5xLWQ3YzISEjcy/gYRsEgcKxi1AhJh?= =?us-ascii?Q?sJFjlWi3r0pHywDHTysJ7ITGYCHVG7RNAWFMTdrjw8YVYe8NKdLxi5igJIWZ?= =?us-ascii?Q?nevnqwSYBRG7Sgl5wB+b2I+C6r/YOmRaZG/ZRf0GI36LWeznGBqaA2u0fb+1?= =?us-ascii?Q?6KBmmRdiVHNrD/WgclI+ZB/XLQavY3X6kimN7FuoQyNWqP/9Bzf/alb5VYrC?= =?us-ascii?Q?h7acl+7Qf0rZWsQcNMeq75dn5y+EDgacu+XcDOpzd0ozu5MaFqyVEIDXupk6?= =?us-ascii?Q?MiQ=3D?= 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: DM4PR12MB5389.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6ee76620-beb5-4ff3-4cb8-08d933b1a6f2 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jun 2021 06:07:15.1406 (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: BLOVnmgW/lOJyzMRYoSrmUVGrB8Ou9ccMdrODweX7hhRQqOBHjMMnlVCeHBdjyO+wnbpZp4sA6YgbNfLWSHtfg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5389 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" From: Slava Ovsiienko > 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 Acked-by: Matan Azrad