From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0059.outbound.protection.outlook.com [104.47.0.59]) by dpdk.org (Postfix) with ESMTP id 21F8C1B597 for ; Wed, 10 Oct 2018 15:05:48 +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=fi+q7eDHTYgfXdEeCIhAQhhceI4RgB9j6htOiHEetWw=; b=CmiJfOHzdoX45IRJroVlPCdrm9INl+WtjKYBMh613npRZdFkbk5zQNTk56f62iz2uAIbbgwgs8UZpC+agzuy4ebvayzPJhlICw4dLmSSyn2FOxJ02yyiIEr4XbBRILuL7U19sWRGbBRvEva9xEUCYcVg9CL4rqpOTjdSaGB7xeE= Received: from DB6PR0501MB2023.eurprd05.prod.outlook.com (10.168.9.17) by DB6PR0501MB2327.eurprd05.prod.outlook.com (10.168.56.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.23; Wed, 10 Oct 2018 13:05:46 +0000 Received: from DB6PR0501MB2023.eurprd05.prod.outlook.com ([fe80::b1fb:bad3:b5b1:f913]) by DB6PR0501MB2023.eurprd05.prod.outlook.com ([fe80::b1fb:bad3:b5b1:f913%3]) with mapi id 15.20.1228.020; Wed, 10 Oct 2018 13:05:46 +0000 From: Jack Min CC: "dev@dpdk.org" Thread-Topic: [PATCH v3 0/3] ethdev: add generic TTL rewrite actions Thread-Index: AQHUYJn1PHscZzs2l0mYTuIM6h87lg== Date: Wed, 10 Oct 2018 13:05:46 +0000 Message-ID: <20181010130524.23590-1-jackmin@mellanox.com> References: <20180925143719.23339-1-jackmin@mellanox.com> In-Reply-To: <20180925143719.23339-1-jackmin@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SG2PR01CA0102.apcprd01.prod.exchangelabs.com (2603:1096:3:15::28) To DB6PR0501MB2023.eurprd05.prod.outlook.com (2603:10a6:4:6::17) authentication-results: spf=none (sender IP is ) smtp.mailfrom=jackmin@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [118.201.220.138] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB6PR0501MB2327; 6:FDZKecswqk1o5tk2Mxz0thaPF/HISzxeL2xixiDlt2BhA2I8ll+icvdSRMi6td0d3dkLORh1aYTc+4I9ofi8zn4pd0ocN5sdnM7bbcLtMjoHPqp0TbTEUZCbMSz6rBhFH21lrbHqIVjycztI0fbuAJEh6ZRmbI5+eLpG6X/M3alP+5OD/7uTy5TsR0+LWWgoFVrIzQoKRI84yL4Z0Qatlr5FWvHLRh6fimSYpV7tI+FUsVPYtGN5eev0hV4fKf02rFl0HL64bbNB1eg8AY/QeM43YJzMDA0WyNaanZi7R+yvs7Qith3XFg7mSaiId67qriOc9IiV7wsztM5E/9D2RrUl3CMggON0DHkQ7Ovyv/BOA2RvM4X03omoJqKgsYN0AkZoLzjmC8w9Dup9bFCDuxHWIYiXY03LuFrC0k0oinvWc/9r0HymRcqv4RP47iJl/PfxqaHDRau2CfEv3cQofA==; 5:NYIdXg2St14GGl1BKEMFMB5aK44fx0/Zulfp2i/j9WGpARII+MYKf+goxyAuiGVOMla35YvzTmQewTxYKsn9LgwyrTz+92mKBA9b3Hl5XzcTxUWCEfuTJXhwOqQBy03JzZVEBFrbyARUXmPssVQZtesYb2XKi26T94NWuZcxHT8=; 7:nWFefG3F1QaXnE5BYbB9fxflHNmtFwJ7gZ6szSoXzDNT1cLOqmfF6ozd4TA4UOmvWt1LyGVheCHE/wUcvHHhj7hxr79P+8UUhWFwNELrmfTePEHQ0b8cHqDR+1LFQ5vA6k3tCrHGtIUwus5vzYE4Szgz1goSIIX9GhMZmpDPvatyFl1plNOgQv8NAT8wskxxysRJ8IerxeYhXl98y6SmPfKlAYcJIfkBf1cAxFHTGRPrwTIKKX5GXWl6ILnTqyuD x-ms-office365-filtering-correlation-id: 0aa37635-c19c-4997-62f0-08d62eb117c8 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:DB6PR0501MB2327; x-ms-traffictypediagnostic: DB6PR0501MB2327: 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)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(93006095)(93001095)(10201501046)(6055026)(149066)(150057)(6041310)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(201708071742011)(7699051); SRVR:DB6PR0501MB2327; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0501MB2327; x-forefront-prvs: 08213D42D3 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(366004)(376002)(346002)(136003)(189003)(199004)(97736004)(6486002)(186003)(6306002)(7736002)(26005)(305945005)(5250100002)(66066001)(71200400001)(68736007)(71190400001)(1671002)(966005)(53936002)(8936002)(59246006)(102836004)(25786009)(2900100001)(256004)(6436002)(6512007)(36756003)(76176011)(81166006)(446003)(86362001)(316002)(105586002)(1076002)(2906002)(8676002)(109986005)(3846002)(11346002)(386003)(476003)(2616005)(99286004)(478600001)(106356001)(4326008)(5660300001)(6116002)(486006)(14454004)(81156014)(6506007)(52116002)(41533002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0501MB2327; H:DB6PR0501MB2023.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-microsoft-antispam-message-info: OhC6y+Jt55+TzFhr7a9auNw3u9IU5gn2HrMH7vu9E4+CKTt2xo5a68G3m1wuBsr+8ze1cluxr6iHvAGsRqtELAGUR8HbcpyqQPBDjZwcsprAk2NjtWp6yifVsGMwVVzkZxL4eYfmrW5eGkoGO/972fw1fbCPuDg7cEkWM8zi5b38H9LUGyMRfos1FnbB4NdErNiTIv4UTFxp4A4y6vhCAyLusG5JNdgCg64BUjcmd4ZL6BVsm1+ZXOulJSCO8HgZ03h711VC7dWOy7IW9CyqW0BUmyQAaal3SEvOm9YmndAm1koK45R+0i0Pe5plxplOU0RzxTap72oQojfjDMU6D0Jx1mSHGGz+cmqL7zNRMww= 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: 0aa37635-c19c-4997-62f0-08d62eb117c8 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2018 13:05:46.6195 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0501MB2327 Subject: [dpdk-dev] [PATCH v3 0/3] ethdev: add generic TTL rewrite actions 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: Wed, 10 Oct 2018 13:05:48 -0000 This patch series is for RFC[1] and depends on patch[2] Patch 1 adds generic TTL rewrite actions to flow API Patch 2 adds corresponding testpmd commands Patch 3 implements the offloading logic of E-Switch rules on Mellanox MLX5 [1]: https://patches.dpdk.org/patch/43617/ [2]: https://patches.dpdk.org/patch/46490/ v2: * fix misspelled issues reported by checkpatch v3: * rebased * changed commit title of patch 3 * added example testpmd command in commit log * changes in validation Xiaoyu Min (3): ethdev: add generic TTL rewrite actions app/testpmd: add commands of modify TTL net/mlx5: rewrite TTL by E-Switch app/test-pmd/cmdline_flow.c | 34 +++++++++ doc/guides/prog_guide/rte_flow.rst | 30 ++++++++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 5 ++ drivers/net/mlx5/mlx5_flow.h | 2 + drivers/net/mlx5/mlx5_flow_tcf.c | 84 ++++++++++++++++++++- lib/librte_ethdev/rte_flow.c | 2 + lib/librte_ethdev/rte_flow.h | 31 ++++++++ 7 files changed, 186 insertions(+), 2 deletions(-) --=20 2.17.1