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 35406A04B4; Sun, 17 Nov 2019 15:26:56 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DCFD52BBE; Sun, 17 Nov 2019 15:26:54 +0100 (CET) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10046.outbound.protection.outlook.com [40.107.1.46]) by dpdk.org (Postfix) with ESMTP id A1B00CF3 for ; Sun, 17 Nov 2019 15:26:53 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eOoMrlbrsMGRDUNloylxWSYdfPze//mSrPbOA4Bh4UeG7whY7/Jgo59v46jJhmM/Q5DqFkZu8LAIaQ7EIcuJF5f6xFDFwUUus0QwStrEWgjf2C4Vit/js+ioU4LjEDVLU33VgLRCYrNt+vJdi5flaCMnPCRhBy3iuy2ru2GfEY73pm+f9FV6Mv/IACp15GI8CczoikkojHS1aKaAqzcnDifvmQd+0JYPIQ0+/oflV8zAjYwwSWbzIf7Ejw46EIOh8i97TRumn1WO5hcJgT1764YIw1mGufiidx49ZuCTh6diyi/Guu1jETREyCbGQ5QzeZ5Od1Ac9JdMp88v8bIihg== 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=JmPMuUYHhzK/zlHUwOXRMT1UVLVbULKOzeB35qVIzn4=; b=SDIezPFQt3V7WZoITlg7jBslDtY5/4A5JGTce3RAUE/HieXPDueUn9xDCM86P1dZfpRUu5mHBxwTQshHknoCfxhKkOKovwBt0zJiChePWej1fOzYKtTEiOAEx3LUVHRK7+JUihrFbUJeamU1QK+QngW8aoJzzZ1t9qe3/iRGcvOHFl6Vc0Sv5J53wsc5y1FSIsebmKqVlodfmUxGRW1DTBvcQLSTeG0L2s341A85PwdnOg22bgO6f7dN8c1QCPC5bH7iQfyxkBnX84q0XzQWBHbT6RJVRJcqXkLberCJSseI+F+364yI2xF6+c8j9y6us0DR3AGE6JT9CTdm++omiw== 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=JmPMuUYHhzK/zlHUwOXRMT1UVLVbULKOzeB35qVIzn4=; b=lcIaJnAJp0phjDchA8QRMv1o+1NAhJmisg3+kQBXvHAvMYd9u77xNW82WLP5yKKmHtNXbRhmVmaB6/7OT/sXnDzrlo9oJ0RteVsOEQunQdrusE5ftVS2jWsVkOVHymYKX3crKOGoRS+DpD02wGqCUL9l+1lQZdctzLbqo7oBInA= Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com (52.134.65.161) by DB3PR0502MB4009.eurprd05.prod.outlook.com (52.134.72.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.23; Sun, 17 Nov 2019 14:26:51 +0000 Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::a850:bac9:c90f:f2f5]) by DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::a850:bac9:c90f:f2f5%6]) with mapi id 15.20.2451.029; Sun, 17 Nov 2019 14:26:51 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad , Ori Kam Thread-Topic: [PATCH] net/mlx5: fix vport index in port action Thread-Index: AQHVnSP31y4oHYItdEKCTeRMoiLvqaePa71g Date: Sun, 17 Nov 2019 14:26:51 +0000 Message-ID: References: <1573980506-866-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1573980506-866-1-git-send-email-viacheslavo@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; x-originating-ip: [82.213.2.186] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f16caa4c-0761-46bb-f9b0-08d76b6a304f x-ms-traffictypediagnostic: DB3PR0502MB4009:|DB3PR0502MB4009: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3383; x-forefront-prvs: 02243C58C6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(366004)(346002)(376002)(136003)(199004)(189003)(13464003)(53546011)(74316002)(6116002)(9686003)(3846002)(6436002)(4744005)(55016002)(66066001)(229853002)(2906002)(66446008)(54906003)(316002)(110136005)(33656002)(64756008)(66556008)(5660300002)(86362001)(99286004)(6246003)(52536014)(2501003)(14454004)(14444005)(256004)(76116006)(66476007)(66946007)(476003)(7696005)(486006)(11346002)(81156014)(81166006)(186003)(8936002)(7736002)(26005)(305945005)(107886003)(25786009)(4326008)(102836004)(71190400001)(71200400001)(8676002)(6506007)(76176011)(446003)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB4009; H:DB3PR0502MB3964.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: uc1/+5rFzUpeENdiQna0CtgzQMH0dXneorrv71fMzXJJ8tQGk2yk02Btqt+7yGdK0szUQ1gTgXRHDOD7BBkTDHsgD+i0ylrfsWYdqC7D+do0nzlxIdqotiF3JNAsdlYJ65vegePfypH0Jd612Qtxk3ltF7mEgdmfMTcP5u+W1cpd87VLKKprWbWpeaMAin6CEwq+kQSes9NznCRrCLtbPMmz/JExfGcu1ySe8vHKLUfomOlvdY8y31+Z5CJRU8zQKEv22O9Qb93ycDQqeRDpOBso1Jxh4FRgpCEvrnZhZUVvf4xbYKBHMWtzvz9EN72I0mPXw7PdhFMf+Wp+V+HOeUTKT1dp0tJ2DO1iTLjjPifRaYZPLy5m3xulvq1nJSfmh7Oy124zS3MpHjxcYdkaWotnc34VKf/bxHdOsPXrOdJDQDckXPVPMoBgCjmPU1AB 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: f16caa4c-0761-46bb-f9b0-08d76b6a304f X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Nov 2019 14:26:51.5998 (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: 025iZH16X/rJBEv0QcMA0HWri3SxPq+qjUeXrIPHzPJjYo39QHlxMVv0x30LjOh5FqyQIjP5IGSyJlmV5Cc+IQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB4009 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix vport index in port action 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" Hi, > -----Original Message----- > From: Viacheslav Ovsiienko > Sent: Sunday, November 17, 2019 10:48 AM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Ori Kam > Subject: [PATCH] net/mlx5: fix vport index in port action >=20 > The rdma_core routine mlx5dv_dr_create_flow_action_dest_vport() > requires the vport id parameter to create port action. > The register c[0] value was used to deduce the port id value > and it fails in bonding configuration. The correct way is > to apply vport_num value queried from the rdma_core library. >=20 > Fixes: f07341e7aed3 ("net/mlx5: update source and destination vport > translations") >=20 > Signed-off-by: Viacheslav Ovsiienko > --- > drivers/net/mlx5/mlx5.c | 3 ++- > drivers/net/mlx5/mlx5_flow_dv.c | 6 +----- > 2 files changed, 3 insertions(+), 6 deletions(-) >=20 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh