From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A4097A052B; Wed, 29 Jul 2020 10:29:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 279FD10A3; Wed, 29 Jul 2020 10:29:22 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30043.outbound.protection.outlook.com [40.107.3.43]) by dpdk.org (Postfix) with ESMTP id 4402DE07 for ; Wed, 29 Jul 2020 10:29:21 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FpR8MhW0w3+wpOuxC7ZosTLx9Rnir2uwCP7xVDx1MLM39v2nPvyQA90qJEfnk+lDsFSLiBy/E5KAWK8InKw3YJYJjQiQbzOd6DxqD+XPslyTM6WjXkBOQaeJc6FaFfAysUrMZ7cGJkEbSniHGqHYysw7FwC4nyh5wr19qLI7ArNdq6L/sADA9WPJ2v7JyX59RSrrt7YML1fZmO/5AHo96ac/LYYgHdqP1+ttxT2K1vV/aOw+pdmPHxmV3je39fJj5OamV/bZYbydLj/c1KYQyvOHDiHClCiiRuX8Kl9Gi4hfAhSIlFArTo1A3Ot6Om1JN+PchzVEwNlbElx+5oa6zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Rbb9xkYNgNrBAIK7wtT8F/2gT9arwEhm/Jz0ckZxqt4=; b=dIkr5Ww3TCyoc00iCHG5C3RRPM4Z04J9WuRC4IhVRaVvPodXVX5SrvbWyTEL0543vp05yT6c6C7pKMQg4e9lU1jF3io/tOm0NfsFpAKu36X6Ac5jsBAtQYUwooyewRG8ElllHH2lJdONLpAsXSuFArbY/3jNDZUuQtROspVrZiAQlg6JnZJZyELCEuIr+wMKX90BliNyw/W9U9us0yWREfyEXg9rZoDZtoUScuZG/O126bKdZ3Yg4RnozsK9P8Ndy9jL1PtjtnqUb2Ecw1MU4wkin1bQZSM0qlaTkWJVrVqJSs5kqpY001/4XFmcygn0R/uJFqrKx/02xqwZl3DdSQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none 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=Rbb9xkYNgNrBAIK7wtT8F/2gT9arwEhm/Jz0ckZxqt4=; b=qKaFmAm+iyt0ktSJmd3qAWOC2dklvErhTy57Puypvr/QGP82aS/swu2LWeKSMp37H0WyxivJuMYkufOJe4CyFPGEI5xl7xyT4LH7fekIC6Tj62PwzokmcBneYjAlizQA0VXYciBMmiFgFSLNet6yTatPMNwlMi/sO95+fx/NX0o= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=mellanox.com; Received: from AM0PR05MB4209.eurprd05.prod.outlook.com (2603:10a6:208:61::22) by AM4PR05MB3204.eurprd05.prod.outlook.com (2603:10a6:205:3::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.16; Wed, 29 Jul 2020 08:29:20 +0000 Received: from AM0PR05MB4209.eurprd05.prod.outlook.com ([fe80::3949:70c3:126:3972]) by AM0PR05MB4209.eurprd05.prod.outlook.com ([fe80::3949:70c3:126:3972%7]) with mapi id 15.20.3216.034; Wed, 29 Jul 2020 08:29:20 +0000 From: Ophir Munk To: dev@dpdk.org, Wenzhuo Lu , Beilei Xing , Bernard Iremonger , Thomas Monjalon Cc: Ophir Munk Date: Wed, 29 Jul 2020 08:29:02 +0000 Message-Id: <20200729082905.19499-1-ophirmu@mellanox.com> X-Mailer: git-send-email 2.8.4 Content-Type: text/plain X-ClientProxiedBy: AM0PR05CA0079.eurprd05.prod.outlook.com (2603:10a6:208:136::19) To AM0PR05MB4209.eurprd05.prod.outlook.com (2603:10a6:208:61::22) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from mellanox.com (37.142.13.130) by AM0PR05CA0079.eurprd05.prod.outlook.com (2603:10a6:208:136::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.16 via Frontend Transport; Wed, 29 Jul 2020 08:29:19 +0000 X-Mailer: git-send-email 2.8.4 X-Originating-IP: [37.142.13.130] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 4389dcb4-dcf6-40d7-46a4-08d833997d78 X-MS-TrafficTypeDiagnostic: AM4PR05MB3204: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2201; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TMIcyUGCPAyFShUdZnp8Z6kNmsZcbONeN2rR70RfLsFKl2Mo7cTF8lsk+r4eIzFnh+jPbcfYfG0fL505cFr+PS9l3BHlUS3fPUCIo81Y6m51uxVOIoXeJZ+lPUiUuM+tbmlKFH8w6+pz0FJYY5uxvjdfmtNLo4EKdBCMTNohTETIzAYEFHbnbpYuzHZLexWflAcUlM80fkFR6VVVqSXS8JXja1pUxa631Uk6OChALFWe9CJXvDsLaKcNM2Mzn+u9Lm4n+mfPwj5ukNmpV+apiHx9d94rNOKOiJEor57hhlWP8gCjWzf6BYU+Rfbv+ikyWtgapjo2w1PZ4F4s54Tl9Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB4209.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(346002)(136003)(376002)(39860400002)(396003)(66946007)(66556008)(66476007)(16526019)(478600001)(186003)(2906002)(1076003)(26005)(8676002)(8936002)(5660300002)(2616005)(956004)(4744005)(83380400001)(316002)(110136005)(4326008)(36756003)(6666004)(8886007)(55016002)(107886003)(52116002)(7696005)(86362001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: PKYbf0Ss99FH6YpYf075FIjdo1fQrmDw+MDBxgCtlbCDFDziFST5mt1DGPdDriihmrXKNRHEgVIE8OAAbyVCn4B7bo3TSObyjHklsFG8FMw4EmhvOW0EmXseKrn1mhgQIQsz35LGlpa4urBlT/5ci7wQ6MvkLM1PiVifYGJ2GonJmY11ehxQt/tNXgscB0ZzpEfyJRnnIUGDWQ+59KoXSCun3+fmY2+eLJjle+MFp5loedzLOxKfWQWOm27oechuP+uocgJjU4LQXRk0IQx7d8ho8HZYvKvfwOeFMKifkX0FnAO+1ckZymQPetRcSVwR/xcWLD66FCwmIQe8I5AKbpAb7ZBCTzNiXSPd29y2O7x5ZiD6iozvWNscOKN53scLgBeetPf07vZK8x3EW/CpW3w9ZAB/fEkn9QCZyVZtmZ2Yuq4R5girCdam72OUf3qYoPMmGrMUxYJ8CdmBaxOolKQccdVGKtWYuhs581vCdxN9vsuKE8vcwIxiA1CBCEz6zOAh/ey57O7mPrfXW5GsXwf7RgmfekJbMwnhM6KE+GNO268K8CmT6mjZpIXsuxR6OoYlY7cy7PQlvYf15Am/YPhzUaaywjCq2GbFVaIYDH/FCwCNDxbUO0p/+uw227etC8VX/4ujLmSBywNHdYQl2w== X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4389dcb4-dcf6-40d7-46a4-08d833997d78 X-MS-Exchange-CrossTenant-AuthSource: AM0PR05MB4209.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2020 08:29:20.4270 (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-CrossTenant-UserPrincipalName: sTXzLteg8aEpml3Sam0KhngzmAprnICCC192RAJy5yBG7B7CAGDnK9CBDl5/mPhsEl5gdG5KC6xvYFO7j4llGA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3204 Subject: [dpdk-dev] [PATCH v1 0/3] Add GENEVE protocol parsing to testpmd 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" This patchset adds GENEVE parsing of inner protocols (IPv4-0x0800, IPv6-0x86dd, Ethernet-0x6558) based on IETF draft-ietf-nvo3-geneve-09. v1: Initial version Ophir Munk (3): app/testpmd: add GENEVE parsing app/testpmd: enable configuring GENEVE port app/testpmd: reduce tunnel parsing code duplication app/test-pmd/csumonly.c | 120 ++++++++++++++++++++++++++++---------------- app/test-pmd/parameters.c | 13 ++++- app/test-pmd/testpmd.h | 1 + lib/librte_net/Makefile | 2 +- lib/librte_net/meson.build | 3 +- lib/librte_net/rte_geneve.h | 72 ++++++++++++++++++++++++++ lib/librte_net/rte_vxlan.h | 1 + 7 files changed, 167 insertions(+), 45 deletions(-) create mode 100644 lib/librte_net/rte_geneve.h -- 2.8.4