From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id 2615E2C2B for ; Wed, 3 Oct 2018 09:13:21 +0200 (CEST) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us3.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id 1F4A06C006B; Wed, 3 Oct 2018 07:13:20 +0000 (UTC) Received: from [192.168.38.17] (91.220.146.112) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 3 Oct 2018 00:13:16 -0700 To: Yongseok Koh , Adrien Mazarguil , Shahaf Shuler CC: "dev@dpdk.org" References: <20181003015640.36306-1-yskoh@mellanox.com> <20181003015640.36306-2-yskoh@mellanox.com> From: Andrew Rybchenko Message-ID: <28621c87-9d94-12c5-7632-a96c8909fd46@solarflare.com> Date: Wed, 3 Oct 2018 10:12:34 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20181003015640.36306-2-yskoh@mellanox.com> Content-Language: en-GB X-Originating-IP: [91.220.146.112] X-ClientProxiedBy: ocex03.SolarFlarecom.com (10.20.40.36) To ocex03.SolarFlarecom.com (10.20.40.36) X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24132.005 X-TM-AS-Result: No-16.240300-4.000000-10 X-TMASE-MatchedRID: VPleTT1nwdTsYbGmK/WYxia1MaKuob8PC/ExpXrHizyYkF7ZtFfCU0UW SNUeoUM2IV4u8YKdeKsBtjkcfRMmqfm9WstcRwZxaDgPZBX/bMvqvccKLF+4pwwv1ZvdCH+FVM2 p/cRDyjFic/5yraYWDlebGpjHs5mWxldSKOGXaXwZCVRU/aI9zC2VljVYB9GN2Yajy1P9W1XdKU SBW7I322+5ieh24ZYRkZOl7WKIImrvXOvQVlExsFZ0V5tYhzdWbGVEmIfjf3vQ43LcMBnJcEN+V v9FtkY8a3faxWKH24JdEFFlzbuykYVKw8GOGl6kYqDki68wZq5gD/e50q7ZckDNtEoH3jFrwjz7 Qx7Y9+4= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--16.240300-4.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24132.005 X-MDID: 1538550800-ELlz5XfRSgaB Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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:13:21 -0000 On 10/3/18 4:56 AM, Yongseok Koh wrote: > Signed-off-by: Yongseok Koh > --- > app/test-pmd/config.c | 2 +- > lib/librte_ethdev/rte_flow.c | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) > > 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_action[] = { > 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)), I think it should have Fixes tag and Cc to stable.