Message ID | 20181008180150.39273-1-yskoh@mellanox.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5FEFB1B3E8; Mon, 8 Oct 2018 20:02:11 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0082.outbound.protection.outlook.com [104.47.2.82]) by dpdk.org (Postfix) with ESMTP id 459BB1B399 for <dev@dpdk.org>; Mon, 8 Oct 2018 20:02:10 +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=rI7QduTYRMJHcnsr90G8dNyPahU6Prr2H3h93ZBNBT8=; b=LEYD3uSMxpQXSd/oOT5vhBSVglvPnH0I3PAaZ+Pmv+P4xRmontxkk2fk2D4Y3UG05PNhD4LbZBYyg5HcYQRua9dGdAtnLltUpp5MmnJF969i/SjTfk2TULgsCkTRQtozQggJ3hl2c2iYam+jy1oJrxlnH816ujqyzFYwLInhs+0= Received: from DB3PR0502MB3980.eurprd05.prod.outlook.com (52.134.72.27) by DB3PR0502MB4028.eurprd05.prod.outlook.com (52.134.68.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.21; Mon, 8 Oct 2018 18:02:08 +0000 Received: from DB3PR0502MB3980.eurprd05.prod.outlook.com ([fe80::1cb0:661b:ecab:6045]) by DB3PR0502MB3980.eurprd05.prod.outlook.com ([fe80::1cb0:661b:ecab:6045%2]) with mapi id 15.20.1207.024; Mon, 8 Oct 2018 18:02:08 +0000 From: Yongseok Koh <yskoh@mellanox.com> To: Shahaf Shuler <shahafs@mellanox.com> CC: "dev@dpdk.org" <dev@dpdk.org>, Yongseok Koh <yskoh@mellanox.com> Thread-Topic: [PATCH 0/7] net/mlx5: fixes for the new flow engine Thread-Index: AQHUXzEHSil3sYDeTUOrtZLOM1uTyg== Date: Mon, 8 Oct 2018 18:02:08 +0000 Message-ID: <20181008180150.39273-1-yskoh@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR02CA0016.namprd02.prod.outlook.com (2603:10b6:a02:ee::29) To DB3PR0502MB3980.eurprd05.prod.outlook.com (2603:10a6:8:10::27) authentication-results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [209.116.155.178] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB3PR0502MB4028; 6:FBLVSwvZvbkCmfKsEgwIUOC02fBH4d9Bh4COtsvz+1pYuFnTVUmxPMYv9b9D+s+GGUYja3O2HVQ2CGvC8WRKobLepOnaT4cYFgfihIETBThbIlsBkGGlQs26ovinOs5/s535co0IWaKQxD7hNi5hcMMrFtVBxG4f1YOl2aE8srsys50J3jLd1U5u7YgEm9OCBNP7Tb1pVUED0yC0lmErcLXoIHVLOwlLICOT1LQ2l3S7Hh/DNjCAn21P8Yi8Fg9IOfRIav/vpA86XwUg/Cwm2Z9Jf/V2PHBYUfGMhk1MJrnM4GWE5HVO9fPqmogSSnm5ZcqjSkjuWfPuMyyJtOhAOxID13I2p4jbvACoeye6/fqN5dpTQECfn7hCed2C28Wa7Cjnkv5qqWY8P8lm5guH8/7J7CyHfUXUbDjkBDkNPl6A74Bzz25mkGrAmQwr+gevXaurWpNcqF/9qgZTgr4wLw==; 5:syYjrpT/3ZdxFk/os6GkwdynoKf43Uchq/bl5WW8xo0Av4dlQPQ1y/DAIOA8uNAsxERnTj0JkveRNvCZNQl5JFn8FwSM8eEnNBCsyhwol0NQlI7JLXv/0OELrWnGPjDnMaat75oVP+vikICXkCRBN59TMa622L3aZPaaefnwQII=; 7:eT/RmjheZ2s8wV01ybt3a5Q/ihoGVmPsKVmRjU5xPmjcmGz1WS8r1oBHw/hREh01llrfnEs08t5Ba5ZsM6UKNhsDLMhHHXBhDyzsdzf35a1iV41n5/hgU8nWOy5Sz6Gvh3H1uoTwYIfk9hzEZLoXM1rW2itCfJ0cq0dJb/s63qKVp62xje6o2P7vN6L7BORl9BZx1ixyucMZK37nFuH462q10y+E3XlrZ+wAFuHaM/5ZeHPOKo7L631Mj4654ts0 x-ms-office365-filtering-correlation-id: f6e9d741-d624-4cff-7071-08d62d4829c2 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB3PR0502MB4028; x-ms-traffictypediagnostic: DB3PR0502MB4028: x-microsoft-antispam-prvs: <DB3PR0502MB402833D03862F2AE566AB39AC3E60@DB3PR0502MB4028.eurprd05.prod.outlook.com> 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)(8121501046)(5005006)(3002001)(3231355)(944501410)(4982022)(52105095)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:DB3PR0502MB4028; BCL:0; PCL:0; RULEID:; SRVR:DB3PR0502MB4028; x-forefront-prvs: 081904387B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(376002)(136003)(366004)(39860400002)(199004)(189003)(26005)(81156014)(99286004)(54906003)(8936002)(81166006)(6506007)(102836004)(386003)(107886003)(6862004)(5250100002)(6512007)(966005)(2900100001)(52116002)(71200400001)(71190400001)(106356001)(8676002)(105586002)(53936002)(25786009)(186003)(6306002)(1720100001)(316002)(256004)(1076002)(66066001)(97736004)(5660300001)(14454004)(6636002)(36756003)(2906002)(6116002)(486006)(2616005)(478600001)(476003)(68736007)(37006003)(86362001)(305945005)(7736002)(6436002)(6486002)(4326008)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB4028; H:DB3PR0502MB3980.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: CUF4xiDJbsZwKLa6JoDf+CIvR5ZOw5rFWm4G1+/mRSODqKHXi/P/wj/xvjDHgIOLkzU6MG5D52zvbq8LkmlSBYF9lGHKZz8uO2BFCUAeprY3TrzzM1d+LL5h0smpMHzgkCBYuxXmeTfVdEKTgUsRV5oKt0KxYz26QJIV8l1B2upwWiquBjhyblQoumVNgaRyAEa5DgmNJemUaILPU2Um0ITpnkMH+Zss2L65fayyWqVmCAPc2HyRSSzJgJ1GVK5PqmhcyHzldxgCzr9Be1yDDwqZxeP0dPVdD53rhlRoqsI+o7rJUQlAUtla0cAXZ941maYpVpmS/vF2leWf7a42B86FsHs8WSuABvVNy56N9Sc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: f6e9d741-d624-4cff-7071-08d62d4829c2 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2018 18:02:08.6721 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB4028 Subject: [dpdk-dev] [PATCH 0/7] net/mlx5: fixes for the new flow engine X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
net/mlx5: fixes for the new flow engine
|
|
Message
Yongseok Koh
Oct. 8, 2018, 6:02 p.m. UTC
Minor fixes accumulated since the following two patchsets. net/mlx5: add Direct Verbs flow driver support [1] net/mlx5: migrate Linux TC flower driver to new flow engine [1] http://patches.dpdk.org/cover/45248 [2] http://patches.dpdk.org/cover/44897 Yongseok Koh (7): net/mlx5: fix wrong flow action macro usage net/mlx5: use standard IP protocol numbers net/mlx5: rename flow macros net/mlx5: fix validation of VLAN ID in flow spec net/mlx5: fix flow validation for no fate action net/mlx5: add missing VLAN action constraints net/mlx5: fix errno values for flow engine drivers/net/mlx5/mlx5_flow.c | 117 +++++++++++++++++++------------------ drivers/net/mlx5/mlx5_flow.h | 54 ++++++++--------- drivers/net/mlx5/mlx5_flow_dv.c | 30 +++++----- drivers/net/mlx5/mlx5_flow_tcf.c | 78 +++++++++++++++++++------ drivers/net/mlx5/mlx5_flow_verbs.c | 59 ++++++++++--------- 5 files changed, 193 insertions(+), 145 deletions(-)
Comments
Monday, October 8, 2018 9:02 PM, Yongseok Koh: > Subject: [PATCH 0/7] net/mlx5: fixes for the new flow engine > > Minor fixes accumulated since the following two patchsets. > > net/mlx5: add Direct Verbs flow driver support [1] > net/mlx5: migrate Linux TC flower driver to new flow engine > > [1] http://patches.dpdk.org/cover/45248 > [2] http://patches.dpdk.org/cover/44897 > > Yongseok Koh (7): > net/mlx5: fix wrong flow action macro usage > net/mlx5: use standard IP protocol numbers > net/mlx5: rename flow macros > net/mlx5: fix validation of VLAN ID in flow spec > net/mlx5: fix flow validation for no fate action > net/mlx5: add missing VLAN action constraints > net/mlx5: fix errno values for flow engine > > drivers/net/mlx5/mlx5_flow.c | 117 +++++++++++++++++++--------------- > --- > drivers/net/mlx5/mlx5_flow.h | 54 ++++++++--------- > drivers/net/mlx5/mlx5_flow_dv.c | 30 +++++----- > drivers/net/mlx5/mlx5_flow_tcf.c | 78 +++++++++++++++++++------ > drivers/net/mlx5/mlx5_flow_verbs.c | 59 ++++++++++--------- > 5 files changed, 193 insertions(+), 145 deletions(-) Series applied to next-net-mlx, thanks. Need to add the missing VLAN limitation of the "pop always to non-uplink" on a separate commit, don't want to stall the entire series. > > -- > 2.11.0
On 10/9/2018 9:58 AM, Shahaf Shuler wrote: > Monday, October 8, 2018 9:02 PM, Yongseok Koh: >> Subject: [PATCH 0/7] net/mlx5: fixes for the new flow engine >> >> Minor fixes accumulated since the following two patchsets. >> >> net/mlx5: add Direct Verbs flow driver support [1] >> net/mlx5: migrate Linux TC flower driver to new flow engine >> >> [1] http://patches.dpdk.org/cover/45248 >> [2] http://patches.dpdk.org/cover/44897 >> >> Yongseok Koh (7): >> net/mlx5: fix wrong flow action macro usage >> net/mlx5: use standard IP protocol numbers >> net/mlx5: rename flow macros >> net/mlx5: fix validation of VLAN ID in flow spec >> net/mlx5: fix flow validation for no fate action >> net/mlx5: add missing VLAN action constraints >> net/mlx5: fix errno values for flow engine >> >> drivers/net/mlx5/mlx5_flow.c | 117 +++++++++++++++++++--------------- >> --- >> drivers/net/mlx5/mlx5_flow.h | 54 ++++++++--------- >> drivers/net/mlx5/mlx5_flow_dv.c | 30 +++++----- >> drivers/net/mlx5/mlx5_flow_tcf.c | 78 +++++++++++++++++++------ >> drivers/net/mlx5/mlx5_flow_verbs.c | 59 ++++++++++--------- >> 5 files changed, 193 insertions(+), 145 deletions(-) > > Series applied to next-net-mlx, thanks. > Need to add the missing VLAN limitation of the "pop always to non-uplink" on a separate commit, don't want to stall the entire series. Hi Shahaf, These are fixing mlx5 patches which are merged very recently, that is why I tried to squash these to original commit. This is both for more clean git history and to have correct Fixes information in commit logs. I can able to squash: 1/7, 2/7 & 4/7 But 4 are still remaining, main reason is they fixes more than one commit so not easy to squash into one. I won't merge remaining ones for now, can you please rebase them on top of next-net, and try to arrange in a way to squash into next-net, if not able to make we can get them as it is.
Tuesday, October 9, 2018 6:49 PM, Ferruh Yigit: > Subject: Re: [dpdk-dev] [PATCH 0/7] net/mlx5: fixes for the new flow engine > > On 10/9/2018 9:58 AM, Shahaf Shuler wrote: > > Monday, October 8, 2018 9:02 PM, Yongseok Koh: > >> Subject: [PATCH 0/7] net/mlx5: fixes for the new flow engine [...] > >> djWRGvBzaqpfUVsn8%3D&reserved=0 > >> > >> Yongseok Koh (7): > >> net/mlx5: fix wrong flow action macro usage > >> net/mlx5: use standard IP protocol numbers > >> net/mlx5: rename flow macros > >> net/mlx5: fix validation of VLAN ID in flow spec > >> net/mlx5: fix flow validation for no fate action > >> net/mlx5: add missing VLAN action constraints > >> net/mlx5: fix errno values for flow engine > >> > >> drivers/net/mlx5/mlx5_flow.c | 117 +++++++++++++++++++----------- > ---- > >> --- > >> drivers/net/mlx5/mlx5_flow.h | 54 ++++++++--------- > >> drivers/net/mlx5/mlx5_flow_dv.c | 30 +++++----- > >> drivers/net/mlx5/mlx5_flow_tcf.c | 78 +++++++++++++++++++------ > >> drivers/net/mlx5/mlx5_flow_verbs.c | 59 ++++++++++--------- > >> 5 files changed, 193 insertions(+), 145 deletions(-) > > > > Series applied to next-net-mlx, thanks. > > Need to add the missing VLAN limitation of the "pop always to non-uplink" > on a separate commit, don't want to stall the entire series. > > Hi Shahaf, > > These are fixing mlx5 patches which are merged very recently, that is why I > tried to squash these to original commit. This is both for more clean git > history and to have correct Fixes information in commit logs. I am not sure I agree here. There was a feature which was accepted and later on it had some bug fixes. I think it is better to separate between the two, because: 1. I don't think it spams that much the git history 2. if the small fix raised a different bug it will be easier to bisect and track it rather than trying to check what is wrong on the big feature patch > > I can able to squash: 1/7, 2/7 & 4/7 > > But 4 are still remaining, main reason is they fixes more than one commit so > not easy to squash into one. > > I won't merge remaining ones for now, can you please rebase them on top of > next-net, and try to arrange in a way to squash into next-net, if not able to > make we can get them as it is. If it is not critical for you, I suggest we take them as is. It will require some work to re-arrange them + test again. Let me know.
On 10/10/2018 6:57 AM, Shahaf Shuler wrote: > Tuesday, October 9, 2018 6:49 PM, Ferruh Yigit: >> Subject: Re: [dpdk-dev] [PATCH 0/7] net/mlx5: fixes for the new flow engine >> >> On 10/9/2018 9:58 AM, Shahaf Shuler wrote: >>> Monday, October 8, 2018 9:02 PM, Yongseok Koh: >>>> Subject: [PATCH 0/7] net/mlx5: fixes for the new flow engine > > [...] > >>>> djWRGvBzaqpfUVsn8%3D&reserved=0 >>>> >>>> Yongseok Koh (7): >>>> net/mlx5: fix wrong flow action macro usage >>>> net/mlx5: use standard IP protocol numbers >>>> net/mlx5: rename flow macros >>>> net/mlx5: fix validation of VLAN ID in flow spec >>>> net/mlx5: fix flow validation for no fate action >>>> net/mlx5: add missing VLAN action constraints >>>> net/mlx5: fix errno values for flow engine >>>> >>>> drivers/net/mlx5/mlx5_flow.c | 117 +++++++++++++++++++----------- >> ---- >>>> --- >>>> drivers/net/mlx5/mlx5_flow.h | 54 ++++++++--------- >>>> drivers/net/mlx5/mlx5_flow_dv.c | 30 +++++----- >>>> drivers/net/mlx5/mlx5_flow_tcf.c | 78 +++++++++++++++++++------ >>>> drivers/net/mlx5/mlx5_flow_verbs.c | 59 ++++++++++--------- >>>> 5 files changed, 193 insertions(+), 145 deletions(-) >>> >>> Series applied to next-net-mlx, thanks. >>> Need to add the missing VLAN limitation of the "pop always to non-uplink" >> on a separate commit, don't want to stall the entire series. >> >> Hi Shahaf, >> >> These are fixing mlx5 patches which are merged very recently, that is why I >> tried to squash these to original commit. This is both for more clean git >> history and to have correct Fixes information in commit logs. > > I am not sure I agree here. There was a feature which was accepted and later on it had some bug fixes. > I think it is better to separate between the two, because: > 1. I don't think it spams that much the git history > 2. if the small fix raised a different bug it will be easier to bisect and track it rather than trying to check what is wrong on the big feature patch I would agree but for this case original feature is too fresh. I think it is opportunity to merge it into original feature. Eventually final code will be same, if there is a bug it will be in both ways, just to improve the history. And I didn't understand why it is better to "fix the fix" instead of merge the fix to the original feature and "fix the feature" if the fix is wrong. Also this "fix the fix" chains may make reading/understanding original code harder in the future. > >> >> I can able to squash: 1/7, 2/7 & 4/7 >> >> But 4 are still remaining, main reason is they fixes more than one commit so >> not easy to squash into one. >> >> I won't merge remaining ones for now, can you please rebase them on top of >> next-net, and try to arrange in a way to squash into next-net, if not able to >> make we can get them as it is. > > If it is not critical for you, I suggest we take them as is. It will require some work to re-arrange them + test again. > Let me know. No it is not critical, but again patchset doesn't look like too big, so if it is not too much effort I prefer squashing them. And as a final result code should be exact same, so testing effort shouldn't change but re-arrange takes effort, I already did a few of them for you...
On 10/10/2018 11:57 AM, Ferruh Yigit wrote: > On 10/10/2018 6:57 AM, Shahaf Shuler wrote: >> Tuesday, October 9, 2018 6:49 PM, Ferruh Yigit: >>> Subject: Re: [dpdk-dev] [PATCH 0/7] net/mlx5: fixes for the new flow engine >>> >>> On 10/9/2018 9:58 AM, Shahaf Shuler wrote: >>>> Monday, October 8, 2018 9:02 PM, Yongseok Koh: >>>>> Subject: [PATCH 0/7] net/mlx5: fixes for the new flow engine >> >> [...] >> >>>>> djWRGvBzaqpfUVsn8%3D&reserved=0 >>>>> >>>>> Yongseok Koh (7): >>>>> net/mlx5: fix wrong flow action macro usage >>>>> net/mlx5: use standard IP protocol numbers >>>>> net/mlx5: rename flow macros >>>>> net/mlx5: fix validation of VLAN ID in flow spec >>>>> net/mlx5: fix flow validation for no fate action >>>>> net/mlx5: add missing VLAN action constraints >>>>> net/mlx5: fix errno values for flow engine >>>>> >>>>> drivers/net/mlx5/mlx5_flow.c | 117 +++++++++++++++++++----------- >>> ---- >>>>> --- >>>>> drivers/net/mlx5/mlx5_flow.h | 54 ++++++++--------- >>>>> drivers/net/mlx5/mlx5_flow_dv.c | 30 +++++----- >>>>> drivers/net/mlx5/mlx5_flow_tcf.c | 78 +++++++++++++++++++------ >>>>> drivers/net/mlx5/mlx5_flow_verbs.c | 59 ++++++++++--------- >>>>> 5 files changed, 193 insertions(+), 145 deletions(-) >>>> >>>> Series applied to next-net-mlx, thanks. >>>> Need to add the missing VLAN limitation of the "pop always to non-uplink" >>> on a separate commit, don't want to stall the entire series. >>> >>> Hi Shahaf, >>> >>> These are fixing mlx5 patches which are merged very recently, that is why I >>> tried to squash these to original commit. This is both for more clean git >>> history and to have correct Fixes information in commit logs. >> >> I am not sure I agree here. There was a feature which was accepted and later on it had some bug fixes. >> I think it is better to separate between the two, because: >> 1. I don't think it spams that much the git history >> 2. if the small fix raised a different bug it will be easier to bisect and track it rather than trying to check what is wrong on the big feature patch > > I would agree but for this case original feature is too fresh. I think it is > opportunity to merge it into original feature. Eventually final code will be > same, if there is a bug it will be in both ways, just to improve the history. > > And I didn't understand why it is better to "fix the fix" instead of merge the > fix to the original feature and "fix the feature" if the fix is wrong. > > Also this "fix the fix" chains may make reading/understanding original code > harder in the future. > >> >>> >>> I can able to squash: 1/7, 2/7 & 4/7 >>> >>> But 4 are still remaining, main reason is they fixes more than one commit so >>> not easy to squash into one. >>> >>> I won't merge remaining ones for now, can you please rebase them on top of >>> next-net, and try to arrange in a way to squash into next-net, if not able to >>> make we can get them as it is. >> >> If it is not critical for you, I suggest we take them as is. It will require some work to re-arrange them + test again. >> Let me know. > > No it is not critical, but again patchset doesn't look like too big, so if it is > not too much effort I prefer squashing them. And as a final result code should > be exact same, so testing effort shouldn't change but re-arrange takes effort, I > already did a few of them for you... All squashed except from 6/7 & "7/7 partially", I can confirm final code has not changed but please double check latest next-net head.