From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40041.outbound.protection.outlook.com [40.107.4.41]) by dpdk.org (Postfix) with ESMTP id CE9901B3B2 for ; Thu, 29 Nov 2018 12:23:49 +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=HzEoMBr4LF08EepijHLwF+dF56KH2noH/Lcaa+7vRxA=; b=APtbNROXDRCyaK/Wj3bwB5Op0XNUyClWyAxGponWRU5pKmmoPS3nNFwXYSnDRXeJlPbkKEJ0+qdp+W5TfVwkw22a4XVfL8KiP64YyQxQvQUEIxNEWqEaQHnvuQ1lnwme7k2IdFMzqc1F+jkPKtPGOuAuCZ9y77qo9tZo2x2X5oc= Received: from VI1PR05MB4224.eurprd05.prod.outlook.com (52.133.12.13) by VI1PR05MB4272.eurprd05.prod.outlook.com (52.133.12.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1361.19; Thu, 29 Nov 2018 11:23:48 +0000 Received: from VI1PR05MB4224.eurprd05.prod.outlook.com ([fe80::f13d:c2e7:1972:4e51]) by VI1PR05MB4224.eurprd05.prod.outlook.com ([fe80::f13d:c2e7:1972:4e51%5]) with mapi id 15.20.1382.017; Thu, 29 Nov 2018 11:23:47 +0000 From: Dekel Peled To: Yongseok Koh , Shahaf Shuler , Ori Kam CC: "dev@dpdk.org" , Jack Min , "Xueming(Steven) Li" Thread-Topic: [RFC] net/mlx5: add modify-header support using Direct Verbs Thread-Index: AdSHu5Y2mfCNVrYSRsO3r2g7OXQ9RgAGTJqg Date: Thu, 29 Nov 2018 11:23:47 +0000 Message-ID: References: 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=dekelp@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB4272; 6:aJY6+3+uoe13GwlnPkVgCRLZdhEQz6nxoDi4kpbJ3aVWXRtvKP/+PgPVX+1AXH2vdq6+pM8Az5ZLW57yubdRMYRNNiiRsQX6Huio8xobriITXFk3+vojM2cWHny32bUi/T60qAQe2hVZeyZUo+y0UiKU+IaeablZ6+nsDjBKB2wnjYmwGMEsJUCcPr6/gu4dUkCVwZAypsz7LjK+UZobVZDgadHusH5oZbnJqPLf38tKNQZPH6+gLillcll+4oj6jPAIQ9UTuItWfiXG5VdVnIRgPybcKl+nVee+gY9lLn9WxtSnLe8joKlUqd03lmlvoN/24x/8SFjgnzwceT/HclmJKYtqScXVudHVIa5VJdlLs9GjgblmVfJ5nbizc2d8NM02YOwBMqbHV4yVNwdBQhoOcPhQTzOZw4Xl3PRMPUVSd9UJ2C/r74FSyUgge5ohARhaO/QDB4z7Tja98uyaEg==; 5:6kWl8GNseN0Fxo5f8wnPQiEAkAfY8GNSoDqAEr3gamgetQgMpe/tE72oz/xeqbbzKCnK5M6xP0Naaj/hqH2sQQWJA5XXrHQ28ZrtWN8xUlAFS4TPab1goxSfI0KcilVbj6QqV4jmKnReGRfaF0Z7hTCqMee6j1t0PG+v24SraVk=; 7:goadV9v6mamyNfEokRfl0QP0ofPC87E4NX5yrKhEKDgZ0rJD1juSzMv5KkDeTFTVFZfQ6fRiVP0t+9okZYtBAiCo1kAf5jbZMPNTwl7uxKL3+cKFb+w63XzkRIN6Hk5hnkhwJvYTR6wu4xbxYoz0Nw== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 6de250b0-2fab-4c9d-534d-08d655ed21aa x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR05MB4272; x-ms-traffictypediagnostic: VI1PR05MB4272: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231453)(999002)(944501410)(4982022)(52105112)(3002001)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(201708071742011)(7699051)(76991095); SRVR:VI1PR05MB4272; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB4272; x-forefront-prvs: 0871917CDA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(396003)(376002)(136003)(346002)(39860400002)(199004)(189003)(966005)(53936002)(476003)(76176011)(11346002)(14454004)(99286004)(236005)(6506007)(55016002)(3846002)(68736007)(446003)(21615005)(7696005)(33656002)(5660300001)(107886003)(6436002)(102836004)(790700001)(6116002)(256004)(14444005)(97736004)(93156006)(66066001)(7736002)(54906003)(110136005)(606006)(6636002)(74316002)(2940100002)(8936002)(81156014)(81166006)(4326008)(105586002)(8676002)(186003)(26005)(478600001)(71200400001)(86362001)(106356001)(25786009)(9686003)(6306002)(54896002)(2906002)(486006)(316002)(71190400001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB4272; H:VI1PR05MB4224.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: AJKa+N4WHgDDRGi6PKlzhQvQfhpd1uUBZ3M+WunQ+a70XEJ2k7kRY7Iy0M8fi9q28W0RoAaFknWUAv/Wdn+lMFgE1Ctfv/XRVPTwyhc1EcrSmVJiY9fper+JEebdnkNnACotetnyl9GQ95gc9I6V41iHJAU4EJKu/JLYrjadrqw7fVF3Dk9LZ9rHf4J1JseA1sqRLb197oid/VlCwKJOaQJaPajAKPCQgMwgltJlLDe8LTOLRwaYWaj7HtHsSh3g7jbCwvlnfD27gtAzDAI3QiAmnLeCMjPw9IW3J4NrkgLCVnfS2N0sUjxs/Hk4o6fh1qxkDqpOUHw9o2ij7AiVQofG241k/a42H9H2PlfUBXY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6de250b0-2fab-4c9d-534d-08d655ed21aa X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2018 11:23:47.8663 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB4272 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] [RFC] net/mlx5: add modify-header support using Direct Verbs 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, 29 Nov 2018 11:23:50 -0000 Modify-header actions support is implemented in librte_ethdev, and in test-= pmd application, based on [1]. These actions include setting of source/destination IP, MAC & TP, as well a= s TTL. Currently MLX5 PMD supports modify-header actions using TCF (netlink) API o= nly. This RFC adds to MLX5 PMD the support of modify-header actions, using Direc= t Verbs API. It includes: * Glue APIs to relevant DV functions and types. * Validate modify-header actions. * Convert modify-header actions to DV format. Comments are welcome. [1] http://mails.dpdk.org/archives/dev/2018-August/109672.html Signed-off-by: Dekel Peled = >