From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00047.outbound.protection.outlook.com [40.107.0.47]) by dpdk.org (Postfix) with ESMTP id 4429F1B5D4; Sun, 5 Aug 2018 12:42:28 +0200 (CEST) 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=7HOJNAa1ARMciRhqTkLHM0XqjAk0tkltMPaHJmK76Ak=; b=dwTWpb0Z2G7YHGRoBVl0rq5yslGUvZufCsPTHHCvjxmZrFY4nHCxd5kqD0ZvAS55eA7f7/QV5XoxPhWGUMT9cQ4/rDsiaoc0oKUh3s9n79vQsedFYQJZOFApNt0tIu3D0GONejq5EtfG5O7BxNPFqOUC1w+/uezFQHJbMPbjkPI= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4443.eurprd05.prod.outlook.com (52.134.109.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.15; Sun, 5 Aug 2018 10:42:27 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::52a:650b:ae10:fc3]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::52a:650b:ae10:fc3%4]) with mapi id 15.20.1017.018; Sun, 5 Aug 2018 10:42:27 +0000 From: Shahaf Shuler To: Yongseok Koh CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v2 1/2] net/mlx5: preserve promisc flag for flow isolation mode Thread-Index: AQHUKqS7E3+5k4TAPEKYFH0KUvmvnqSw/Jzw Date: Sun, 5 Aug 2018 10:42:26 +0000 Message-ID: References: <20180802010557.16648-1-yskoh@mellanox.com> <20180802210632.11006-1-yskoh@mellanox.com> In-Reply-To: <20180802210632.11006-1-yskoh@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=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4443; 6:UTD1nvLpJz1gKPAGvBFGW6vxO673zEbHUt+4XSlLWATt52OYWR/gZpBN2F/VvO4fx4/s7mi3h6DbW63T0RkGZLH14Ug/ECHj4AThN806hmNe6jO9xuOxgnWyyoSLml9f+AClfQRf3pTZXAA+27vB7q1Afr3uLaS6c63qOQDlwtNqtBGIYkF734X92S65i7+pJHuB93L66H3nT9SzAuZcT+UL9F6tP+IwrISScm+XrcArl1UvmA8d6sBsKliXnuywMSz/7WCq7ozVwIlPjdAl93mgZD4JVXlEHQ/hO48wKRGbZJRUsLfi25Fm1ut/5+bXS82fQy7Tp2QY3uOw3OKFnB7WTvhQnss1l+IMfvRi6r5WMhE2+BxiNoDXBqEDC6tZHkzbyCd62HnXTWVJ1cw+OikH8tdJ7HyXK+TJG4RLJlnUNbdnojPYkmU5CsOLsZ4XZ0cywQk3B0Ths82g2pc5Og==; 5:VxWsQwDmMDaIWddJ8k7KK5r2DH7FMttwn26uJSEwy5gisuLBD3NlNNn7zNJ67sgGXMPpzq5CbJoRV6dXcqvTkur/plHE59w3hfJntTqk5OQYZGj+3kgHxG/7gtweNYJiDAtyjl4J93hiPiCyGcPkVgU0NJkWUZBpzt7DoHeB8Yw=; 7:SRwS/fw4ZUELK4fylkP7IKOcgQpLPUCbJxojfjhzMANBBEeKgCsvmbmfAEKzb74bQgFW33J0uISw8TCIs3wovmKPy3J9m+Hd2yi6qo2FFwSicN+o0KzJf2nfFHGDEj4uZl+ZiTpMCfLw05d54X/xy0RPRj0Dv1Xv7Lb3XMvEk404vAKOnCFiBvIVoK2kzbQZlNklrEIrg7icELgzltAaFk1PJe5zmmgJ21XRgSouzRcK10rWf2ROxEKP6Z1YS1hC x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: c239ee33-86c1-4522-63b0-08d5fac022ff x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4443; x-ms-traffictypediagnostic: DB7PR05MB4443: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231311)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:DB7PR05MB4443; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4443; x-forefront-prvs: 0755F54DD9 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(39860400002)(136003)(366004)(396003)(199004)(189003)(81156014)(81166006)(9686003)(54906003)(7696005)(2900100001)(2906002)(316002)(74316002)(7736002)(105586002)(106356001)(53936002)(86362001)(99286004)(305945005)(8676002)(33656002)(68736007)(66066001)(6636002)(6246003)(26005)(55016002)(5660300001)(8936002)(478600001)(6436002)(97736004)(450100002)(4326008)(6116002)(3846002)(256004)(25786009)(6862004)(102836004)(5250100002)(76176011)(6506007)(446003)(486006)(11346002)(476003)(14454004)(229853002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4443; H:DB7PR05MB4426.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-microsoft-antispam-message-info: kl8v45mRtBa+tLuT72BGOZnSvdkrlNRNeujoWZEvwY6+Xs1o0A44lztPny0BmUvfCA3e0CO8izlwy1deL21a/pdMYzO5rjb27UUmcRSYAWqz5JmT7MXIZImndX78TcIG3aKtgOxQh1nXBfB7wL31gKaOuXMD1Ydejf3acu9pIMvfoP/l2lS4JHFRYQIm0KYYqbjs3hC8AioiWxj3yBhcbKNUEBQbVuur5wFqeHht8UoUCHHahWbxnwqPcDly7LXBDFXNQQxJourCuDHbv3ZOVZDSVhOzjptDUILa7s6amPIz+6ePISLzS+axLdMq64xz6xCIZaQC6u/LjMlx10PJ8gUr5Iq24cdN/UVZGB/VLDU= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM 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: c239ee33-86c1-4522-63b0-08d5fac022ff X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Aug 2018 10:42:26.8799 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4443 Subject: Re: [dpdk-dev] [PATCH v2 1/2] net/mlx5: preserve promisc flag for flow isolation mode 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: , X-List-Received-Date: Sun, 05 Aug 2018 10:42:28 -0000 Friday, August 3, 2018 12:07 AM, Yongseok Koh: > Subject: [PATCH v2 1/2] net/mlx5: preserve promisc flag for flow isolatio= n > mode >=20 > mlx5_dev_ops_isolate doesn't have APIs for enabling/disabling promiscuous > mode as it can't be enabled in flow isolation mode. If the function point= ers > are null, librte APIs such as rte_eth_promiscuous_enable/disable() > fail to set the flag (dev->data->promiscuous). The flag is used when star= ting > traffic by mlx5_traffic_enable(). When switching out of flow isolation mo= de, > promiscuous mode will not be set even though it has been enabled. >=20 > Fixes: 0887aa7f27f3 ("net/mlx5: add new operations for isolated mode") > Cc: stable@dpdk.org >=20 > Signed-off-by: Yongseok Koh Series applied to next-net-mlx, thanks.=20