From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60050.outbound.protection.outlook.com [40.107.6.50]) by dpdk.org (Postfix) with ESMTP id 7297A160 for ; Wed, 3 Oct 2018 09:31:39 +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=RDJGmNEVNx1JhpQKoSWNrMQ0EJYedzUdZzbhCNv/MZc=; b=V1B2K82O9t8PRMFbp68DRxDB8iPT4K5S+Bz7mAss17mq1czlyDXdTmWC2GGng4ZThddyl668rwstAYCeIPdiWFUIhn0+GI81q2GoWAKscsWyyXrMmZ2s7DSSXhFqmvtS4CgeJSv9rn5zrp+J27fjW0ZpCtj6w54lFbSSjNSPYVQ= Received: from DB3PR0502MB3980.eurprd05.prod.outlook.com (52.134.72.27) by DB3PR0502MB4091.eurprd05.prod.outlook.com (52.134.68.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.18; Wed, 3 Oct 2018 07:31:38 +0000 Received: from DB3PR0502MB3980.eurprd05.prod.outlook.com ([fe80::1cb0:661b:ecab:6045]) by DB3PR0502MB3980.eurprd05.prod.outlook.com ([fe80::1cb0:661b:ecab:6045%2]) with mapi id 15.20.1185.024; Wed, 3 Oct 2018 07:31:38 +0000 From: Yongseok Koh To: Andrew Rybchenko CC: Adrien Mazarguil , Shahaf Shuler , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 1/2] ethdev: add jump action to description table Thread-Index: AQHUWrxa1kMkTLJIXEODk6vyJuUKsaUNG3EAgAAFUoA= Date: Wed, 3 Oct 2018 07:31:38 +0000 Message-ID: <3DB7D416-1412-4297-925B-0499E541E944@mellanox.com> References: <20181003015640.36306-1-yskoh@mellanox.com> <20181003015640.36306-2-yskoh@mellanox.com> <28621c87-9d94-12c5-7632-a96c8909fd46@solarflare.com> In-Reply-To: <28621c87-9d94-12c5-7632-a96c8909fd46@solarflare.com> 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=yskoh@mellanox.com; x-originating-ip: [69.181.245.183] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB3PR0502MB4091; 6:pGj6ESbj0A8cvRKXC3dnd2s74ztMK7E6JLA0oEfNulrPBwG5CxbHbEUIrE9TG9xIXpOa42xW3hABAYfOnW9+6TKIlpY3Oqu0LiYufHQS3UUfk4/6b818XoPhrwpHImNP/A7cJjXzC1wtAc3tDdpj29PaSwSURS+O0kPzN4EGd1gy9KbV51fxi4zH1SHCosJW6ZUW3H8QjYeVKR2x/pXbrHCe1ebRUA36gvSKrYpDiUI8kOFz3hc74Ds0/EBSSioVpyKmO43zCEzPRz0ZPT2ogqvJq20gPKPa70eBdDvBZYjNhDnpG8ko2KFfVATCPiWsIJyVXlW7qHLmM2myMNgoy4r3pBmeMgnrbRVBRlSaeGQsXq+I562zpNcv7dz18iZkoQ3O9Hu73x69UA4TedUdg8K5exd3NXdJfaVKAfzALpJ+U7KS/AOEDVQJGxpqq2JbhCjL4x+tzDZbWEj++WNBcg==; 5:368IwLqyyuOWRcgRimKI2pygzlqjeB6pDpMGuwQ3Rgg76z1XSJIe2alyT6n3HuHbyL9ImP/5gs9n6jTsKWTbRNZMB2MNWWtIPnZeQmuFsioIVJNQcTxMs97Vos6lGQbsqGI497kB0ltsHJF2OKD06HsK2KC/ARKnEcq4xtVMYsg=; 7:vDF75uFSOu733FEzEfAHa0fNFwkfHRuXztwuSFygpNLuBMKo/moUl8VjfZ7b7LasIlxeXn847cJap5EkofQsZ6WzjWVMCgunmsWaSZg0743IrkwE6kz1xSG6zSGP+OhVB196wMa8ICYj2PAav0dZx4jUmRe6w0jRZJCcOsMQy9g2P9+103J6hZqLzA0b6t8hayGc77fA1eX4er0x5JzkCumWy+E70GwnVfyhqqbOyLDMFLvj/whTFh0Cip2tK0pf x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 6247de6d-3e92-49b4-5639-08d629024152 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:DB3PR0502MB4091; x-ms-traffictypediagnostic: DB3PR0502MB4091: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr 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)(10201501046)(93006095)(93001095)(3002001)(3231355)(944501410)(52105095)(6055026)(149066)(150057)(6041310)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(201708071742011)(7699051); SRVR:DB3PR0502MB4091; BCL:0; PCL:0; RULEID:; SRVR:DB3PR0502MB4091; x-forefront-prvs: 0814A2C7A3 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(346002)(376002)(136003)(396003)(39860400002)(189003)(199004)(305945005)(446003)(86362001)(102836004)(82746002)(5660300001)(186003)(486006)(478600001)(25786009)(33656002)(83716004)(2616005)(476003)(26005)(71200400001)(11346002)(14454004)(7736002)(6436002)(71190400001)(6486002)(2906002)(106356001)(53936002)(8936002)(66066001)(229853002)(81156014)(81166006)(14444005)(99286004)(6246003)(105586002)(6512007)(54906003)(256004)(8676002)(36756003)(6916009)(316002)(76176011)(5250100002)(6506007)(3846002)(97736004)(6116002)(53546011)(4326008)(2900100001)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB4091; H:DB3PR0502MB3980.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: wHMlQy9Y1jkdl5XuggFsU33EQ5TCWXrdTEt15koOJs/pYFba1D6qqAvyRnMqe7jB0nd1vezXpImtkr8QiAN2VMGj0001LqUS57BfkBFjHX3px0tGe1i7HxPC8Z243J3mdNXrTCqxPOFiDGG3r03Uw1UwXvx6eVpejIn3ZtR/zQITqUfd6OJB+1FqjOTqLbAZqxIyap8YW+q6Edf2cCer38r/tjj/Pp5ijXRe3/msHqSOqEFRr8qVgzDrjadU9NgTO9B9sDzSXwLKyLbkKwemokzX+eyU2B/jKkhxnolb87cZVrGOlraUfOj1esslCvvGyxKU739j8IDs+3ZlRMDXYFXGYnDhTd9FXU7xNi85lCY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <8E48827378728241968F72BDE7BB5F8E@eurprd05.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6247de6d-3e92-49b4-5639-08d629024152 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Oct 2018 07:31:38.1501 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB4091 Subject: Re: [dpdk-dev] [PATCH 1/2] ethdev: add jump action to description table 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, 03 Oct 2018 07:31:39 -0000 > On Oct 3, 2018, at 12:12 AM, Andrew Rybchenko = wrote: >=20 > On 10/3/18 4:56 AM, Yongseok Koh wrote: >> Signed-off-by: Yongseok Koh >>=20 >> --- >> app/test-pmd/config.c | 2 +- >> lib/librte_ethdev/rte_flow.c | 1 + >> 2 files changed, 2 insertions(+), 1 deletion(-) >>=20 >> diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c >> index 794aa5268..641ac5e17 100644 >> --- a/app/test-pmd/config.c >> +++ b/app/test-pmd/config.c >> @@ -1141,7 +1141,7 @@ static const struct { >> MK_FLOW_ACTION(END, 0), >> MK_FLOW_ACTION(VOID, 0), >> MK_FLOW_ACTION(PASSTHRU, 0), >> - MK_FLOW_ACTION(JUMP, 0), >> + MK_FLOW_ACTION(JUMP, sizeof(struct rte_flow_action_jump)), >> MK_FLOW_ACTION(MARK, sizeof(struct rte_flow_action_mark)), >> MK_FLOW_ACTION(FLAG, 0), >> MK_FLOW_ACTION(QUEUE, sizeof(struct rte_flow_action_queue)), >> diff --git a/lib/librte_ethdev/rte_flow.c b/lib/librte_ethdev/rte_flow.c >> index cff4b5209..00ed67b5a 100644 >> --- a/lib/librte_ethdev/rte_flow.c >> +++ b/lib/librte_ethdev/rte_flow.c >> @@ -80,6 +80,7 @@ static const struct rte_flow_desc_data rte_flow_desc_a= ction[] =3D { >> MK_FLOW_ACTION(END, 0), >> MK_FLOW_ACTION(VOID, 0), >> MK_FLOW_ACTION(PASSTHRU, 0), >> + MK_FLOW_ACTION(JUMP, sizeof(struct rte_flow_action_jump)), >> MK_FLOW_ACTION(MARK, sizeof(struct rte_flow_action_mark)), >> MK_FLOW_ACTION(FLAG, 0), >> MK_FLOW_ACTION(QUEUE, sizeof(struct rte_flow_action_queue)), >>=20 >=20 > I think it should have Fixes tag and Cc to stable. Agree. Thanks, Yongseok=