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 A2DD3A3168 for ; Thu, 17 Oct 2019 10:13:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BB84B1E886; Thu, 17 Oct 2019 10:13:54 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00067.outbound.protection.outlook.com [40.107.0.67]) by dpdk.org (Postfix) with ESMTP id BB6EA1E881; Thu, 17 Oct 2019 10:13:53 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NoVLW1lSLegQ/e3DLvz8lJMQH3mjtHk0yqT5xfmJyMM2AcZmHktXME6BSnSId4Vdo8a6WbMsBzRTvnGieSfebluZVi2GI1kMQOqptuJVjod38IOFMtge7p9OAzAEWK70Q7KCqsfaHAfVtuKxQUclfC6x5U7e2+R3cLmlXMwPwqLyw5e2yQnC8XuVd+LbCNDZ6rRnoyHxNsxiEVMvKONQ3qKs72xJ/CeFoQHpMyiUVx/Je3w7zEOb0v3oKXVyitw9xbHZpzJ53kCK6DtGR6LcBGhTX8Y4JgKqh7EdpPQkKVyoWh7EXmDUFrxG0ytUqGLDZAEgKhcdOi93G1/bt/xMiw== 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=Nswgiq0VJboWvBoTBUfx0C6Unhl4JwNsTCG0Fie2c14=; b=mqgDx59erhxFU/Fx/AyFcO2gbyGCTp1WkjIai8cdPcEwCGKSUG7GH5jKEO/3hfMDoU4eklKuMvLzS/Roqg3Ok7v12ng/tIfPMPeLFsKY9KWcylZIaKO8lIszl322FgdYZ5iHTjkflNOnXV6ykM2kVdMrQGxNbWZcvCr4/VMuaGyqq6Pg4W7pGSvVT+nQS2gfnQPT7EaPGMwHIYx72N6OM8PMQpZi84n30X6wHRCtfB66NOGmqc7vY5zdzixYUL9mZM7rN3l+HX+cZUPhB3bZlo+nbLO5ubKH7UHh5MDiSJrgr/3tDHfUgzO6sMun4QFfBnxOSjWL4WZkLdR7/fwgzg== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Nswgiq0VJboWvBoTBUfx0C6Unhl4JwNsTCG0Fie2c14=; b=MlExmz3L/8SReVDxpN93MI0bHBGZitTgf2/ba7vPir4OZ5nr1/Y32jFqfrjgFqFJLQ95auMAsmCC8g3Cg9oQSVeK8UwNmN+Yjs8P6F03tS5TcsWT3YVniad/hJfff//qTARzKK8w1tN/Grf3p85OwQGyQZ27IMBc45Hy9j8kJ70= Received: from AM0PR05MB6610.eurprd05.prod.outlook.com (20.178.202.18) by AM0PR05MB6386.eurprd05.prod.outlook.com (20.179.33.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.17; Thu, 17 Oct 2019 08:13:52 +0000 Received: from AM0PR05MB6610.eurprd05.prod.outlook.com ([fe80::5061:91a6:5847:f913]) by AM0PR05MB6610.eurprd05.prod.outlook.com ([fe80::5061:91a6:5847:f913%4]) with mapi id 15.20.2347.023; Thu, 17 Oct 2019 08:13:52 +0000 From: Wisam Monther To: "wenzhuo.lu@intel.com" , "dev@dpdk.org" CC: Wisam Monther , "roman.zhukov@oktetlabs.ru" , "stable@dpdk.org" Thread-Topic: [PATCH] app/testpmd: fix missing geneve flow item in raw encap Thread-Index: AQHVhMLQ0dpkaQOngk2txFssecx0pg== Date: Thu, 17 Oct 2019 08:13:52 +0000 Message-ID: <1571300024-23720-1-git-send-email-wisamm@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: LO2P123CA0013.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:a6::25) To AM0PR05MB6610.eurprd05.prod.outlook.com (2603:10a6:208:12f::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=wisamm@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [37.142.13.130] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6acf1118-abaa-493e-d900-08d752d9f277 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: AM0PR05MB6386:|AM0PR05MB6386: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1002; x-forefront-prvs: 01930B2BA8 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(346002)(376002)(366004)(396003)(136003)(189003)(199004)(66476007)(66946007)(8936002)(64756008)(8676002)(81166006)(66556008)(52116002)(2616005)(478600001)(14454004)(66446008)(50226002)(99286004)(486006)(316002)(6506007)(26005)(476003)(110136005)(54906003)(386003)(102836004)(5660300002)(81156014)(186003)(6512007)(4744005)(66066001)(25786009)(256004)(36756003)(71190400001)(71200400001)(86362001)(6486002)(305945005)(6436002)(2906002)(3846002)(4326008)(6116002)(7736002)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB6386; H:AM0PR05MB6610.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-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3KjMGi44yXQCmee4lyYmLNaElG0qC6Ro9UAkOTqJD0B591nWvEMMdb+IzImUaTux9i6OuVK4ksKqW4NmT9CCJR1FIjLSdWizEjr1dJhlFRqR9lGsE4W8GxQeChuiOWFeLeGxzvDhqTZMNhhYPXxW47jJL/Iw2+1g8b8Hb/s40xHSiLvw3VNHpufV/3VNSCuYqvjkwYyunE6AVoo7akHVlVVtkhz5xIy0PYToieU309nLwIiBT24YqjvxnTY8fb+x9SYAXmklh6koWnMpKdW3xGhkgirtbtr/RzgwsItEGJBJedOmpgYs+SsfmBd7Tddf/KDCvM1zC1XhDuvGDgTrZ8e0utkYP5bEyb3ShsHjdE3GJOioLG1YjB6PeUUDZfaIC8BoCrm4mkka5BQsCuRApEWzyLDs++wNYHcvfQZeXvc= 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: 6acf1118-abaa-493e-d900-08d752d9f277 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2019 08:13:52.8124 (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: 1vSicJ2EZ5ndERnh/3ja64tcL7reWAHDHV7qsBjVTU7S3Fd1MK4H6RR7LmQaHTk+4u8e6xvXR8u0CBzGAMN6fQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6386 Subject: [dpdk-dev] [PATCH] app/testpmd: fix missing geneve flow item in raw encap 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" Fixes: 0f4203fe9d18 ("app/testpmd: support GENEVE pattern item in flow rule= s") Cc: roman.zhukov@oktetlabs.ru Cc: stable@dpdk.org Signed-off-by: Wisam Jaddo --- app/test-pmd/cmdline_flow.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index b26b8bf..84d4ae2 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -5944,6 +5944,9 @@ cmd_set_raw_parsed(const struct buffer *in) size =3D sizeof(struct rte_flow_item_nvgre); proto =3D 0x2F; break; + case RTE_FLOW_ITEM_TYPE_GENEVE: + size =3D sizeof(struct rte_flow_item_geneve); + break; default: printf("Error - Not supported item\n"); *total_size =3D 0; --=20 2.7.4