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 D3E30A2F6B for ; Tue, 8 Oct 2019 11:34:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A25F51BFD9; Tue, 8 Oct 2019 11:34:15 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60053.outbound.protection.outlook.com [40.107.6.53]) by dpdk.org (Postfix) with ESMTP id 7885A37AF for ; Tue, 8 Oct 2019 11:34:14 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KRApryGfA2AAZf9o4iM6CYC+cD1Yj4n5jVl1S7/3KzZAgbY/9Sbb4vHqbqT3cGFTznjQenKJQ2NCB0Ya0frudFpWQG4aCAA/nD4me1aVcxDHn+cO4nGsTDv0+5reF02g0lhY8hZ2lMi6DTtOs9k7WOrDAWTC72rTY20fc7dmmTQuuOigjZ1CqWm6H7blSGu+ODlzlqfUCHpzZlbeztGbBqiG+EsG6Id8IHQlNv+TJFzP6CEM8Ws5LKoOPDgK4Du8LZU8T1wVggXr5h1tljCU38q9/xWpLIQEwVnNPnZSBit2y64KtP975+CMhlqNc1ohDJ2DY4SeI/1H3rcT3sC1ew== 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=FDWhuAOis/OSAFwdlTFcyXji+xqp0cuz5fwYA8r74LY=; b=nOWBFCk2npYvfK2fkdKEoI0gvsWu4g9zwnpH3aMMWc0t7DU/xm/cxJN3NiZ+SfBqhoYwJKw4R3za9B2zL1zg+GOYb68Sn7OneR2pl8XuKNYsYgadPsMIVtiJXAiKm75WaBETaE3GBPB5cpMe7J16t4Jh8b9PEVry8YbdwocCQ7aLOOFcvR091PFctmCfT6v3pHMyS4BMTYNNP+tRjGJDCKzE+axxsudz9VZm036ruAggzSSTULzhPKN+xpQKprRXsHbnn/UcPc61goYXHoIfkqQiuqioYwk20gC/VMlQ0060/1E3BAYEA9HJR4rbqo4axWrZJxlJBoYhRrq/uRMO7w== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FDWhuAOis/OSAFwdlTFcyXji+xqp0cuz5fwYA8r74LY=; b=hhUuafNMJ0i95YCfY7y3B+SFeboK5WFUTCaQuCYvcwu6tZUEOgJyMaQ1ftNHOi+IF5Aa1ncq029hepbXXBZlkxY67ELF61wrc3O6Dqg37o1V02kKcumSB/fth2Sz+DDy/n1IZmzJxwJu/psydYz8yBxUkrxZd2fW1bzYpFP5iLQ= Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com (52.134.65.161) by DB3PR0502MB4044.eurprd05.prod.outlook.com (52.134.72.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2327.24; Tue, 8 Oct 2019 09:34:13 +0000 Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::1528:69ed:ffec:764b]) by DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::1528:69ed:ffec:764b%5]) with mapi id 15.20.2327.026; Tue, 8 Oct 2019 09:34:13 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad Thread-Topic: [PATCH] net/mlx5: fix port id action domain check Thread-Index: AQHVfRcEOzbcoxFMZUaHYp0R59KCP6dQfNBg Date: Tue, 8 Oct 2019 09:34:13 +0000 Message-ID: References: <1570456563-4951-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1570456563-4951-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: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7f123e59-48c9-4c42-3f8d-08d74bd2ae69 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: DB3PR0502MB4044:|DB3PR0502MB4044: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 01842C458A x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(39860400002)(396003)(136003)(376002)(366004)(189003)(199004)(13464003)(7736002)(76176011)(102836004)(6506007)(11346002)(446003)(3846002)(53546011)(66446008)(86362001)(476003)(66946007)(305945005)(66476007)(2906002)(186003)(74316002)(26005)(5660300002)(52536014)(4744005)(316002)(4326008)(99286004)(76116006)(64756008)(66556008)(7696005)(110136005)(71200400001)(71190400001)(6116002)(25786009)(6246003)(14454004)(486006)(66066001)(107886003)(478600001)(2501003)(256004)(14444005)(81166006)(8936002)(81156014)(8676002)(229853002)(33656002)(55016002)(6436002)(9686003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB4044; H:DB3PR0502MB3964.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: rFQ4hDyOKmjcVesliwQj+OGhsKuVL4ij1vxvxhlScZWCCWKpDCUTN3UrtR9ScsoBM4ChW3b/87Ox/U4ZQU5OCQyaAzRmXNMFCBa9ePMct4974hJb0fNo+hEvNOM9Nb8q7tc37fofElmcdJso4XzFsq12J83EHBk14Cs8QIemAb21eIa4q40Yw+edvBjgrqjNBnszyyNKmhcRaZ/XD3uoHmLmRC2hUj7RaaFFKjPJjvQoHOWQMLM2tt2e/zHGDrACBQi0Yy+W16yj7SxMxSdBjykpwwtJ052y4F65YO51/0fHKof4GQ2NhSVJPSYGj2BH7nyuOcS4qD2YY2NAG/3uaEUPj8d6SrpzJh4aBJL8voXJAhiNUykbHICOLpyh59sI4bpP12zNEkYZUkf7z/LG9SxU9H9X738CcGAKDZ6B2Dc= 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: 7f123e59-48c9-4c42-3f8d-08d74bd2ae69 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2019 09:34:13.5734 (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: NRSJ3XQ18lIO4c39vRsV9yN7272wadqgp+y+u1BoSMQbC5pReTjAcb7DWXmEH4N08n7G5xTJx4MYoyJCnaoy8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB4044 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix port id action domain check 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: Monday, October 7, 2019 4:56 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > > Subject: [PATCH] net/mlx5: fix port id action domain check >=20 > The validating routines flow_dv_validate_action_port_id() and > flow_dv_validate_item_port_id() could return the positive or ever zero > value in case of domains mismatch and the validation routine missed the > rules for ports belonging to different switching domains. >=20 > Fixes: 812909392b52 ("net/mlx5: elaborate E-Switch port parameters query"= ) >=20 > Signed-off-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh