From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20042.outbound.protection.outlook.com [40.107.2.42]) by dpdk.org (Postfix) with ESMTP id 12EE31B4DD for ; Thu, 21 Mar 2019 15:08:48 +0100 (CET) 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=Ohjnvh2+TucJlmSZ4T8IBbjcWao0JFhKxBdvujmyqIw=; b=picOqnMqass4xSCEJpdJu4GMrKrPdbcIK/6LBa025yqieEE0ZeELb+3gZMSDmFERSKzZSVPXdhAL0axCUWnzV6kQGMDYcnuGdQBFDH0F9uk5jx7KxnbQ6DdCQ8YNOVSPR8xt8OrIbQPX1yjSbecBbWcJ7xrDd2NSTR/FKQBwya0= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (10.171.188.154) by AM4PR05MB3122.eurprd05.prod.outlook.com (10.171.186.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.15; Thu, 21 Mar 2019 14:08:47 +0000 Received: from AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::11b0:de86:8d93:8b02]) by AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::11b0:de86:8d93:8b02%3]) with mapi id 15.20.1709.015; Thu, 21 Mar 2019 14:08:47 +0000 From: Slava Ovsiienko To: Shahaf Shuler , "dev@dpdk.org" Thread-Topic: [PATCH 13/14] net/mlx5: update event handler for multiport IB devices Thread-Index: AQHU39+9dk6NX9/9+0W9UKqVSHuVQ6YWHZKA Date: Thu, 21 Mar 2019 14:08:46 +0000 Message-ID: References: <1551376985-11096-1-git-send-email-viacheslavo@mellanox.com> <1553155888-27498-1-git-send-email-viacheslavo@mellanox.com> <1553155888-27498-14-git-send-email-viacheslavo@mellanox.com> In-Reply-To: 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=viacheslavo@mellanox.com; x-originating-ip: [95.67.35.250] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: be6762cf-ed35-4762-8e76-08d6ae06bc43 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM4PR05MB3122; x-ms-traffictypediagnostic: AM4PR05MB3122: x-microsoft-antispam-prvs: x-forefront-prvs: 0983EAD6B2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(366004)(136003)(396003)(39860400002)(199004)(189003)(13464003)(305945005)(6116002)(74316002)(71200400001)(110136005)(71190400001)(256004)(53546011)(6506007)(33656002)(76176011)(3846002)(81156014)(68736007)(81166006)(14444005)(8676002)(478600001)(26005)(229853002)(102836004)(15650500001)(476003)(186003)(5660300002)(7736002)(6246003)(486006)(14454004)(2906002)(25786009)(66066001)(6436002)(2501003)(52536014)(106356001)(11346002)(55016002)(99286004)(446003)(93886005)(8936002)(7696005)(105586002)(316002)(86362001)(9686003)(53936002)(97736004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3122; H:AM4PR05MB3265.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-message-info: XS67w1RGM/ILq8dVFs2QEWrFU1dFnXnaEMbuS8jBMtSeBze1/hBl9XqJuPLh27OO/1+SZ2AVFpJAVsBbPwZCx7NDmOFDQXwh2nj98jD81TSRCI/R/zSiYaB1ez3yBZoTbwluxQ5nrbsmVsGhtkzhqbgNGcJdAZeUXKv3UbVXicAlzxzjlhu/JFOCwOGr3rXmd+0i6GUaTNNKT21qwNq1EGY7nz9SxuXGu7kwKxxjFzEb1+/4Im2pDhKU1yvhQqBwr8H3KZPHArdgJCwhHt4TGXmViujmsuNZWE5VAkR+rpJMMM7TRg2LQ65+/ieTjYcc7BgaUE8CgRvcmr+JFSeTj2rdjR16+XseQFigrf64NLDpphvb2kKm+1/uXlJ95923rL5NnYFQ950Xm4MsH9DWI5yqejITnJbYpDJ7Y3kxrxU= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: be6762cf-ed35-4762-8e76-08d6ae06bc43 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2019 14:08:46.9463 (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-Transport-CrossTenantHeadersStamped: AM4PR05MB3122 Subject: Re: [dpdk-dev] [PATCH 13/14] net/mlx5: update event handler for multiport IB devices 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: Thu, 21 Mar 2019 14:08:48 -0000 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBTaGFoYWYgU2h1bGVyDQo+IFNl bnQ6IFRodXJzZGF5LCBNYXJjaCAyMSwgMjAxOSAxNDoxNQ0KPiBUbzogU2xhdmEgT3ZzaWllbmtv IDx2aWFjaGVzbGF2b0BtZWxsYW5veC5jb20+OyBkZXZAZHBkay5vcmcNCj4gU3ViamVjdDogUkU6 IFtQQVRDSCAxMy8xNF0gbmV0L21seDU6IHVwZGF0ZSBldmVudCBoYW5kbGVyIGZvciBtdWx0aXBv cnQ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iA+DQo+ID4g IC8qKg0KPiA+IC0tDQo+ID4gMS44LjMuMQ0KDQo= From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id DD589A00E6 for ; Thu, 21 Mar 2019 15:08:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4F5071B4E8; Thu, 21 Mar 2019 15:08:49 +0100 (CET) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20042.outbound.protection.outlook.com [40.107.2.42]) by dpdk.org (Postfix) with ESMTP id 12EE31B4DD for ; Thu, 21 Mar 2019 15:08:48 +0100 (CET) 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=Ohjnvh2+TucJlmSZ4T8IBbjcWao0JFhKxBdvujmyqIw=; b=picOqnMqass4xSCEJpdJu4GMrKrPdbcIK/6LBa025yqieEE0ZeELb+3gZMSDmFERSKzZSVPXdhAL0axCUWnzV6kQGMDYcnuGdQBFDH0F9uk5jx7KxnbQ6DdCQ8YNOVSPR8xt8OrIbQPX1yjSbecBbWcJ7xrDd2NSTR/FKQBwya0= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (10.171.188.154) by AM4PR05MB3122.eurprd05.prod.outlook.com (10.171.186.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.15; Thu, 21 Mar 2019 14:08:47 +0000 Received: from AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::11b0:de86:8d93:8b02]) by AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::11b0:de86:8d93:8b02%3]) with mapi id 15.20.1709.015; Thu, 21 Mar 2019 14:08:47 +0000 From: Slava Ovsiienko To: Shahaf Shuler , "dev@dpdk.org" Thread-Topic: [PATCH 13/14] net/mlx5: update event handler for multiport IB devices Thread-Index: AQHU39+9dk6NX9/9+0W9UKqVSHuVQ6YWHZKA Date: Thu, 21 Mar 2019 14:08:46 +0000 Message-ID: References: <1551376985-11096-1-git-send-email-viacheslavo@mellanox.com> <1553155888-27498-1-git-send-email-viacheslavo@mellanox.com> <1553155888-27498-14-git-send-email-viacheslavo@mellanox.com> In-Reply-To: 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=viacheslavo@mellanox.com; x-originating-ip: [95.67.35.250] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: be6762cf-ed35-4762-8e76-08d6ae06bc43 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM4PR05MB3122; x-ms-traffictypediagnostic: AM4PR05MB3122: x-microsoft-antispam-prvs: x-forefront-prvs: 0983EAD6B2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(366004)(136003)(396003)(39860400002)(199004)(189003)(13464003)(305945005)(6116002)(74316002)(71200400001)(110136005)(71190400001)(256004)(53546011)(6506007)(33656002)(76176011)(3846002)(81156014)(68736007)(81166006)(14444005)(8676002)(478600001)(26005)(229853002)(102836004)(15650500001)(476003)(186003)(5660300002)(7736002)(6246003)(486006)(14454004)(2906002)(25786009)(66066001)(6436002)(2501003)(52536014)(106356001)(11346002)(55016002)(99286004)(446003)(93886005)(8936002)(7696005)(105586002)(316002)(86362001)(9686003)(53936002)(97736004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3122; H:AM4PR05MB3265.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-message-info: XS67w1RGM/ILq8dVFs2QEWrFU1dFnXnaEMbuS8jBMtSeBze1/hBl9XqJuPLh27OO/1+SZ2AVFpJAVsBbPwZCx7NDmOFDQXwh2nj98jD81TSRCI/R/zSiYaB1ez3yBZoTbwluxQ5nrbsmVsGhtkzhqbgNGcJdAZeUXKv3UbVXicAlzxzjlhu/JFOCwOGr3rXmd+0i6GUaTNNKT21qwNq1EGY7nz9SxuXGu7kwKxxjFzEb1+/4Im2pDhKU1yvhQqBwr8H3KZPHArdgJCwhHt4TGXmViujmsuNZWE5VAkR+rpJMMM7TRg2LQ65+/ieTjYcc7BgaUE8CgRvcmr+JFSeTj2rdjR16+XseQFigrf64NLDpphvb2kKm+1/uXlJ95923rL5NnYFQ950Xm4MsH9DWI5yqejITnJbYpDJ7Y3kxrxU= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: be6762cf-ed35-4762-8e76-08d6ae06bc43 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2019 14:08:46.9463 (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-Transport-CrossTenantHeadersStamped: AM4PR05MB3122 Subject: Re: [dpdk-dev] [PATCH 13/14] net/mlx5: update event handler for multiport IB devices 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" Message-ID: <20190321140846.JPLAVdJO-DBaF7N1wY7BKSNyFk3ltZ_t3DZ5AnRvGu4@z> PiAtLS0tLU9yaWdpbmFsIE1l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