From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60089.outbound.protection.outlook.com [40.107.6.89]) by dpdk.org (Postfix) with ESMTP id AD8281B3D7 for ; Thu, 4 Apr 2019 20:57:37 +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=ztdFi4M9wLXuL8pK5xuJLqbD4aRv7O6e8Vo2AY3qy40=; b=dkgj/iubM84fXi5KG1Pqj7+XcTwfWCnxmxf0AW0uNgpNbtHekbB9mfQgQVJrvyX0AVLGWfRB3zK7jKhlKO8MFEXfth8lXEDF9CLJr/Y3gNtIN29Eh1RCd3Mupx2pABgAyndiOPsSNCBkI5KsRpKxWGwWC8T6wV9co7XcArAUBCM= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB4004.eurprd05.prod.outlook.com (52.133.39.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.17; Thu, 4 Apr 2019 18:57:36 +0000 Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323]) by AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323%4]) with mapi id 15.20.1771.011; Thu, 4 Apr 2019 18:57:36 +0000 From: Shahaf Shuler To: Slava Ovsiienko , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 0/2] support Direct Rules flows over shared IB context Thread-Index: AQHU6uchLS9hFtNx2UOQNtfSfK4lxqYsWpXw Date: Thu, 4 Apr 2019 18:57:36 +0000 Message-ID: References: <1554186157-29455-1-git-send-email-viacheslavo@mellanox.com> <1554383065-11151-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1554383065-11151-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=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 006d5f37-4570-432d-63e8-08d6b92f6759 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM0PR0502MB4004; x-ms-traffictypediagnostic: AM0PR0502MB4004: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-forefront-prvs: 0997523C40 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(346002)(136003)(376002)(366004)(199004)(189003)(486006)(86362001)(7696005)(3846002)(105586002)(71200400001)(106356001)(2501003)(110136005)(71190400001)(5660300002)(6116002)(99286004)(476003)(316002)(74316002)(25786009)(446003)(256004)(11346002)(229853002)(81156014)(53936002)(68736007)(33656002)(14454004)(478600001)(966005)(97736004)(305945005)(76176011)(26005)(7736002)(66066001)(6436002)(6246003)(2906002)(52536014)(45080400002)(9686003)(102836004)(6306002)(6506007)(8936002)(186003)(55016002)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB4004; H:AM0PR0502MB3795.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: lPLha77Z5za9zFcrukFqpGQQeJCzAoY9RJeyjKZmcLwN2EGbcvs37SwPL+QNXkoWog+/Rz7ivF9TqIBy0euVdiKzBeoGXyOUfED7KdMgaxlJBbgOuPg9A7ia8yRZwcdVJgmkFw1juowA2mP6pYEGfpjLZvk9D8qfimYxDzYCd+hDiEflw5LK+pZbGIso31PYSJlXAb6g/TtEzelCBBuQY7R/oKu+De/MPP6b2gggdPYHk9juap4HqGFuuB8oQeK+++XrHxNFrR5hVzuzDf6SNYY18WeytKVQyB3xXw4fs9xL5Gs/pR968gWk42M/7XYQh1MIBePGpZuth6c4eYTF07MHLinspMeGZzNIIH4YTydA1HmdOQAMa40WzwenSvaNF0QCTGCK5Sw0O4mA0rbvKBbenINwqN8dDQGGTFpNJXY= 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: 006d5f37-4570-432d-63e8-08d6b92f6759 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Apr 2019 18:57:36.6926 (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: AM0PR0502MB4004 Subject: Re: [dpdk-dev] [PATCH v2 0/2] support Direct Rules flows over shared IB context 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, 04 Apr 2019 18:57:37 -0000 Thursday, April 4, 2019 4:04 PM, Viacheslav Ovsiienko: > Subject: [dpdk-dev] [PATCH v2 0/2] support Direct Rules flows over shared= IB > context >=20 > The Direct Rules/Direct Verbs flows support is going to be added [1]. The > master/representor over multiport IB device is added [2]. This patchset a= dds > support for DR/DV flows with shared IB context over multiport IB device. >=20 > The DV/DR flows applied to the master/representors on the same IB device > share the following entinies: > - rx/tx namespaces > - rx/tx flow tables > - matchers > - encap/decap action resources > - flow tags (MARK actions) > - modify action resources > - jump tables Series applied to next-net-mlx, thanks! >=20 > [1] "net/mlx5: Add Direct Rule support" >=20 > https://eur03.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fpatch > es.dpdk.org%2Fcover%2F51856%2F&data=3D02%7C01%7Cshahafs%40mel > lanox.com%7Cabc5776f51794b8f53dd08d6b8fe43c7%7Ca652971c7d2e4d9ba6 > a4d149256f461b%7C0%7C0%7C636899799527209089&sdata=3DEugeCEbt76 > LO%2F84BPRWYqvlx2e9imLeuW0OgFk82ICQ%3D&reserved=3D0 >=20 > [2] "net/mlx5: add support for multiport IB devices" >=20 > https://eur03.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fpatch > es.dpdk.org%2Fcover%2F51800%2F&data=3D02%7C01%7Cshahafs%40mel > lanox.com%7Cabc5776f51794b8f53dd08d6b8fe43c7%7Ca652971c7d2e4d9ba6 > a4d149256f461b%7C0%7C0%7C636899799527209089&sdata=3DQds0%2BG > 5fUGneYAPimMLkgpy41w10aTPuXmH47NENSjc%3D&reserved=3D0 >=20 > v2: > - mutex reverted to non-counting type (because there is > no DV flow functions intercalls and reentrances) > - some commits are squashed to make patchset more consistent > - conditional directives cleanup >=20 > v1: >=20 > https://eur03.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fpatch > es.dpdk.org%2Fcover%2F52053%2F&data=3D02%7C01%7Cshahafs%40mel > lanox.com%7Cabc5776f51794b8f53dd08d6b8fe43c7%7Ca652971c7d2e4d9ba6 > a4d149256f461b%7C0%7C0%7C636899799527209089&sdata=3DOvGIaSfZoT > Ch9wjpeUkzCra76Ft7zZzF6QL2edTxEHM%3D&reserved=3D0 >=20 > Viacheslav Ovsiienko (2): > net/mlx5: add Direct Rules flow data alloc/free routines > net/mlx5: share Direct Rules/Verbs flow related structures >=20 > drivers/net/mlx5/mlx5.c | 119 ++++++++++++++++++++++++++---- > drivers/net/mlx5/mlx5.h | 45 +++++++----- > drivers/net/mlx5/mlx5_flow_dv.c | 159 > ++++++++++++++++++++++++++++++++-------- > 3 files changed, 259 insertions(+), 64 deletions(-) >=20 > -- > 1.8.3.1 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 C79CFA0679 for ; Thu, 4 Apr 2019 20:57:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 920841B447; Thu, 4 Apr 2019 20:57:38 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60089.outbound.protection.outlook.com [40.107.6.89]) by dpdk.org (Postfix) with ESMTP id AD8281B3D7 for ; Thu, 4 Apr 2019 20:57:37 +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=ztdFi4M9wLXuL8pK5xuJLqbD4aRv7O6e8Vo2AY3qy40=; b=dkgj/iubM84fXi5KG1Pqj7+XcTwfWCnxmxf0AW0uNgpNbtHekbB9mfQgQVJrvyX0AVLGWfRB3zK7jKhlKO8MFEXfth8lXEDF9CLJr/Y3gNtIN29Eh1RCd3Mupx2pABgAyndiOPsSNCBkI5KsRpKxWGwWC8T6wV9co7XcArAUBCM= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB4004.eurprd05.prod.outlook.com (52.133.39.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.17; Thu, 4 Apr 2019 18:57:36 +0000 Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323]) by AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323%4]) with mapi id 15.20.1771.011; Thu, 4 Apr 2019 18:57:36 +0000 From: Shahaf Shuler To: Slava Ovsiienko , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 0/2] support Direct Rules flows over shared IB context Thread-Index: AQHU6uchLS9hFtNx2UOQNtfSfK4lxqYsWpXw Date: Thu, 4 Apr 2019 18:57:36 +0000 Message-ID: References: <1554186157-29455-1-git-send-email-viacheslavo@mellanox.com> <1554383065-11151-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1554383065-11151-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=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 006d5f37-4570-432d-63e8-08d6b92f6759 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM0PR0502MB4004; x-ms-traffictypediagnostic: AM0PR0502MB4004: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-forefront-prvs: 0997523C40 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(346002)(136003)(376002)(366004)(199004)(189003)(486006)(86362001)(7696005)(3846002)(105586002)(71200400001)(106356001)(2501003)(110136005)(71190400001)(5660300002)(6116002)(99286004)(476003)(316002)(74316002)(25786009)(446003)(256004)(11346002)(229853002)(81156014)(53936002)(68736007)(33656002)(14454004)(478600001)(966005)(97736004)(305945005)(76176011)(26005)(7736002)(66066001)(6436002)(6246003)(2906002)(52536014)(45080400002)(9686003)(102836004)(6306002)(6506007)(8936002)(186003)(55016002)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB4004; H:AM0PR0502MB3795.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: lPLha77Z5za9zFcrukFqpGQQeJCzAoY9RJeyjKZmcLwN2EGbcvs37SwPL+QNXkoWog+/Rz7ivF9TqIBy0euVdiKzBeoGXyOUfED7KdMgaxlJBbgOuPg9A7ia8yRZwcdVJgmkFw1juowA2mP6pYEGfpjLZvk9D8qfimYxDzYCd+hDiEflw5LK+pZbGIso31PYSJlXAb6g/TtEzelCBBuQY7R/oKu+De/MPP6b2gggdPYHk9juap4HqGFuuB8oQeK+++XrHxNFrR5hVzuzDf6SNYY18WeytKVQyB3xXw4fs9xL5Gs/pR968gWk42M/7XYQh1MIBePGpZuth6c4eYTF07MHLinspMeGZzNIIH4YTydA1HmdOQAMa40WzwenSvaNF0QCTGCK5Sw0O4mA0rbvKBbenINwqN8dDQGGTFpNJXY= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 006d5f37-4570-432d-63e8-08d6b92f6759 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Apr 2019 18:57:36.6926 (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: AM0PR0502MB4004 Subject: Re: [dpdk-dev] [PATCH v2 0/2] support Direct Rules flows over shared IB context 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: <20190404185736.Su6FUqcprBqlTHLUrYaTNrRZhwpoJH0D09-F33bL0zU@z> Thursday, April 4, 2019 4:04 PM, Viacheslav Ovsiienko: > Subject: [dpdk-dev] [PATCH v2 0/2] support Direct Rules flows over shared= IB > context >=20 > The Direct Rules/Direct Verbs flows support is going to be added [1]. The > master/representor over multiport IB device is added [2]. This patchset a= dds > support for DR/DV flows with shared IB context over multiport IB device. >=20 > The DV/DR flows applied to the master/representors on the same IB device > share the following entinies: > - rx/tx namespaces > - rx/tx flow tables > - matchers > - encap/decap action resources > - flow tags (MARK actions) > - modify action resources > - jump tables Series applied to next-net-mlx, thanks! >=20 > [1] "net/mlx5: Add Direct Rule support" >=20 > https://eur03.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fpatch > es.dpdk.org%2Fcover%2F51856%2F&data=3D02%7C01%7Cshahafs%40mel > lanox.com%7Cabc5776f51794b8f53dd08d6b8fe43c7%7Ca652971c7d2e4d9ba6 > a4d149256f461b%7C0%7C0%7C636899799527209089&sdata=3DEugeCEbt76 > LO%2F84BPRWYqvlx2e9imLeuW0OgFk82ICQ%3D&reserved=3D0 >=20 > [2] "net/mlx5: add support for multiport IB devices" >=20 > https://eur03.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fpatch > es.dpdk.org%2Fcover%2F51800%2F&data=3D02%7C01%7Cshahafs%40mel > lanox.com%7Cabc5776f51794b8f53dd08d6b8fe43c7%7Ca652971c7d2e4d9ba6 > a4d149256f461b%7C0%7C0%7C636899799527209089&sdata=3DQds0%2BG > 5fUGneYAPimMLkgpy41w10aTPuXmH47NENSjc%3D&reserved=3D0 >=20 > v2: > - mutex reverted to non-counting type (because there is > no DV flow functions intercalls and reentrances) > - some commits are squashed to make patchset more consistent > - conditional directives cleanup >=20 > v1: >=20 > https://eur03.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fpatch > es.dpdk.org%2Fcover%2F52053%2F&data=3D02%7C01%7Cshahafs%40mel > lanox.com%7Cabc5776f51794b8f53dd08d6b8fe43c7%7Ca652971c7d2e4d9ba6 > a4d149256f461b%7C0%7C0%7C636899799527209089&sdata=3DOvGIaSfZoT > Ch9wjpeUkzCra76Ft7zZzF6QL2edTxEHM%3D&reserved=3D0 >=20 > Viacheslav Ovsiienko (2): > net/mlx5: add Direct Rules flow data alloc/free routines > net/mlx5: share Direct Rules/Verbs flow related structures >=20 > drivers/net/mlx5/mlx5.c | 119 ++++++++++++++++++++++++++---- > drivers/net/mlx5/mlx5.h | 45 +++++++----- > drivers/net/mlx5/mlx5_flow_dv.c | 159 > ++++++++++++++++++++++++++++++++-------- > 3 files changed, 259 insertions(+), 64 deletions(-) >=20 > -- > 1.8.3.1