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 5E5F6A034E; Thu, 4 Jun 2020 08:05:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A2C041D5DA; Thu, 4 Jun 2020 08:05:32 +0200 (CEST) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10086.outbound.protection.outlook.com [40.107.1.86]) by dpdk.org (Postfix) with ESMTP id 4266A1D5D8 for ; Thu, 4 Jun 2020 08:05:31 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S4Zc12cPoe+r/bYOVABvP3ZvMusqdzEFL3sgEFjFD6oY72l4hRREyho3wqQ46z/vc9EgXuSbX716lAfbv2PdSlJgpWC6VDLM5GASuBeP3wNGIJv0oDM2eTU/i0XWesf1xgibN4AfWVWpQ84WZ/JfXBoq+Pa2//oiec1NeMf9W0bUqM3FHrKXIq3kCLuoO5nAalTyVfwlZnN5RwikZFwaRk19dn+9xRQZC9+3PA99NhaFDJfPXCFA22ldYp5RzHTtqFA5PtSfuys3kSzN/oy3uGcwCQP0ptVUjPnqgkVXsNMhHJ7fTHliGLQHzLRA+N7/P8UUv7kobWRsxudC9T0zKQ== 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=kT637ECocoZCNvCF9Z3mJisjZ98vk3uh9jtNx/yZg+Q=; b=S4f2ve5RYwdj7g21pKFcQrc1LhTzymahfbjHDw290UJ6cypdRn7soczhk+EvoCC7R70n7dxdIKp15SNhzf1Nnedvtl78BY0L99Bq+BTDJMM4JmxrHvGUi81fTAjJQI+4+cFG1f683fJojdmKpKPNZUthpHpSFNsZJOaux3f3SUNqzoeM3D6fC5dD/DLHVRfS5ikpCKCpg5U/GdB731y/79DCKYFWtNu1EuQGZK+CLWjs87J4QYzI4vpaicmOp8hX3UaWOxH894FdWZ3jAswlmaivVOxLmSQV9oo2pcGAn3/b73/XGBoVHQArLR5DvS9IfQjp7xQfaB1fQeXFlPMExg== 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=kT637ECocoZCNvCF9Z3mJisjZ98vk3uh9jtNx/yZg+Q=; b=eS2iQNoEM9XiksG073uPyTmKAkNcgtVkkFvf7e5thGo9nL2GzFBiZg1SxUdumAuWKiCYWk53NaYQAX+1M9vppSJsyDpMxTzGhwSgf17btpGfkVa5qj0AOcZ0YQu5ogfsYMq1CYWJqw1xGEMLxJ1E2WDhFy9VyCHfbRrbiU6ItpI= Received: from AM6PR05MB5176.eurprd05.prod.outlook.com (2603:10a6:20b:63::30) by AM6PR05MB4101.eurprd05.prod.outlook.com (2603:10a6:209:41::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.19; Thu, 4 Jun 2020 06:05:30 +0000 Received: from AM6PR05MB5176.eurprd05.prod.outlook.com ([fe80::9024:accb:4d6b:805f]) by AM6PR05MB5176.eurprd05.prod.outlook.com ([fe80::9024:accb:4d6b:805f%3]) with mapi id 15.20.3066.018; Thu, 4 Jun 2020 06:05:30 +0000 From: Ori Kam To: Bernard Iremonger , "dev@dpdk.org" , "beilei.xing@intel.com" , "qi.z.zhang@intel.com" , "declan.doherty@intel.com" Thread-Topic: [PATCH 0/8] add flow action map Thread-Index: AQHWObIfSiSI3Fh4YUS/s26HVx9UjKjH9ytw Date: Thu, 4 Jun 2020 06:05:30 +0000 Message-ID: References: <1591194009-4086-1-git-send-email-bernard.iremonger@intel.com> In-Reply-To: <1591194009-4086-1-git-send-email-bernard.iremonger@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [147.236.152.129] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 15b69261-1b17-4387-5abf-08d8084d48fb x-ms-traffictypediagnostic: AM6PR05MB4101: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 04244E0DC5 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: H95GB2P4wPXXRg4oS9mSDJ+cU2/j7YJmoimNjt6X795HMc3BkNlJq5moQgc/zgiomrJ0cE1qzjSWVUnxUptU6HZW7jjTFpu4VbgvgqBREXrjsfBG82pCntywtmlQQiuK0NgacUqZQMGD5sQ96tzHX+qzx6+CXJZCj/rxl+I78OAf5qioxcDegi6e2DfuDfC2QSqxxluvWY3gSvDCjyFypQHTlOax3EvxEz3TBNKoL0gZy6RNKSNJEiqJL8EyskKqbMS+lCcGKZbfvgJJ1JEBVT6Ry3ZTqZGNn/4KImseEGvr6tJ6fT9cky8lMtR+OZuCZ34yPsoYkVOOmY+fLE4FYw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR05MB5176.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(376002)(366004)(39860400002)(136003)(396003)(9686003)(33656002)(71200400001)(8936002)(55016002)(2906002)(83380400001)(5660300002)(64756008)(53546011)(66556008)(26005)(110136005)(66446008)(66946007)(478600001)(66476007)(52536014)(76116006)(7696005)(186003)(6506007)(86362001)(316002)(8676002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: OD5Sur4g5B0AfZ+cwbjBO/QXS6WwzYJcE/A4waqs+v0w7QOuTRg4C0XqDqtRZS57zfo9XWFCP89SmFwaD+iCLxvoJ/wJOEIxgyd6PqYE5KAGA/zMoqhw7kNwBQUwwXMHOWIDJK4EgVsDo3EdZ/4abxG/xIWht6rc3y5HUnE7pqfaYpAjwDBYxc5esxxpvKawd72kFOc+74mHHhbajqnD8Sm1p2OLWzh6/rRivJw18jqHQ4xX1PSVO/tjuJ2eGNkx5yg+e2CiUhOMGMHXfCIrEE+Ucvxx9APSiaVzCaMFeqd6rKYyMG9sjCLqMdYQhLFXm0Tr+dTT2253urLqpJRtXd7248hhLvayMfaPhqtxJ/K1F+s73ceh0z433xpEMEzb+0u+FsYluG2KGoPxKRNymnjm0tbjFs7tY1PzNBuMbL+RI3tJPZpFMDDxSqjvp5U7zBKIhu5lSIadmBphkRwWF1tGmvE+y/Y4BPv+BvRPGaZd4yoXoYd3VsESlAyxqg7A x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 15b69261-1b17-4387-5abf-08d8084d48fb X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jun 2020 06:05:30.1792 (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: H7bYNXlsubx2RE38tEfUHi1pmvSDc+mfNNCjS706N1mCEbSVuurkpKkzABfGVGbLstpHFTKgqF4wM5g2av37Ng== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB4101 Subject: Re: [dpdk-dev] [PATCH 0/8] add flow action map 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" Hi Bernard, Can you please explain more what is the pctype, the flow type, What is the general idea beyond this patch set? How will the application uses it?=20 is it only for i40? Thanks, Ori > -----Original Message----- > From: Bernard Iremonger > Sent: Wednesday, June 3, 2020 5:20 PM > To: dev@dpdk.org; beilei.xing@intel.com; qi.z.zhang@intel.com; > declan.doherty@intel.com; Ori Kam > Cc: Bernard Iremonger > Subject: [PATCH 0/8] add flow action map >=20 > Add map action to rte_flow API to map a Packet Classification type (pctyp= e) > to a flowtype for the i40e PMD. >=20 > This feature requires changes to be made to the rte_flow code in librte_e= thdev, > testpmd and the i40e PMD. >=20 >=20 > Bernard Iremonger (8): > librte_ethdev: add new flow types and action > librte_ethdev: add map filter type > librte_ethdev: add map action > app/testpmd: parse map actions > net/i40e: add map filter > net/i40e: add map functions > net/i40e: parse map pattern and action > doc: release note >=20 > app/test-pmd/cmdline_flow.c | 85 ++++++++++++ > doc/guides/prog_guide/rte_flow.rst | 55 ++++++++ > doc/guides/rel_notes/release_20_08.rst | 18 +++ > doc/guides/testpmd_app_ug/testpmd_funcs.rst | 27 ++++ > drivers/net/i40e/i40e_ethdev.c | 56 ++++++++ > drivers/net/i40e/i40e_ethdev.h | 24 ++++ > drivers/net/i40e/i40e_flow.c | 196 ++++++++++++++++++++++= ++++++ > lib/librte_ethdev/rte_eth_ctrl.h | 1 + > lib/librte_ethdev/rte_flow.c | 14 ++ > lib/librte_ethdev/rte_flow.h | 78 +++++++++++ > 10 files changed, 554 insertions(+) >=20 > -- > 2.7.4