From patchwork Tue Jun 27 13:22:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 106432 Delivered-To: patch@linaro.org Received: by 10.140.101.48 with SMTP id t45csp1208402qge; Tue, 27 Jun 2017 06:32:35 -0700 (PDT) X-Received: by 10.200.58.71 with SMTP id w65mr6313585qte.136.1498570354980; Tue, 27 Jun 2017 06:32:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498570354; cv=none; d=google.com; s=arc-20160816; b=pRSWaMZwx2xYzMnqLWjVOnWJs9jWmLa61saZcy/kjxbv7fta0JENoD/SoVLo6PKJq3 rWmh2ZHugkufdqx3T1SVzxLPKK7agLastz+Y1S4IHKQGis+gIwJxgtMc3dJ9z/q/jBug UG6OzzlyvCXFGwayJoRELq7n7TevugJqOMFXPT2RZspf+i//VOJy7aCnoXakviDb0XKt YaIahEw0C/+i+ijoBgJ4qylZmrHZYv11/B9FtfOtK0ysGxqNQiOet+vSXc1Fb3Lg9CQe /hCSq7T4wipO0IEwqT5smB6/Y7qWIXg7hQOfIAXachttORvMdx1O/0csaTUuB7tTXB2A ZHmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:to:from:delivered-to:arc-authentication-results; bh=6TpV46jdxgZT6WtW8ei/eLzPmQUv1sqgEQaiBRm1jU4=; b=EqUCwOS7Ivk0yTNvY+ksOGWB9I8NOibyKG5XpsrrRcmEGUTdZH5RsdVzkRqeKOBqh8 vaK+WhWbxfhO13FdSBMV4cnYCLG8grybIMQ+cVXbVW9DckF6F5AbfxcZ5J2YqRYfXTUn tCW9syvjK6lbZcJ8tSVq2u6SXAWW1cP+UkMqzKLRmA90WkqnVW/OTHo42BdT+U8Rqw6k D6J1KiKe1DfPVOZUolXjYTlMRAUXAetMnVCdHI8R13DjwIZXpL2RIpBa7CUjhLGRzsv7 4enoc9LEYVPRAgGZgU3wM9quhWP3X1uwnFAFlvAroEm1FfsGX03ehsWe7113GSGPWRZh FqGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 139si2764963qkk.236.2017.06.27.06.32.34; Tue, 27 Jun 2017 06:32:34 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 894D560D48; Tue, 27 Jun 2017 13:32:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 74E1360C1A; Tue, 27 Jun 2017 13:24:37 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id B15E860D48; Tue, 27 Jun 2017 13:24:30 +0000 (UTC) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40138.outbound.protection.outlook.com [40.107.4.138]) by lists.linaro.org (Postfix) with ESMTPS id 13D4760BF8 for ; Tue, 27 Jun 2017 13:23:06 +0000 (UTC) Received: from HE1PR0701CA0032.eurprd07.prod.outlook.com (2603:10a6:3:5::42) by AM4PR0701MB2195.eurprd07.prod.outlook.com (2603:10a6:200:45::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.5; Tue, 27 Jun 2017 13:23:04 +0000 Received: from AM5EUR03FT021.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::202) by HE1PR0701CA0032.outlook.office365.com (2603:10a6:3:5::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.5 via Frontend Transport; Tue, 27 Jun 2017 13:23:04 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.240 as permitted sender) Received: from mailrelay.int.nokia.com (131.228.2.240) by AM5EUR03FT021.mail.protection.outlook.com (10.152.16.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1199.9 via Frontend Transport; Tue, 27 Jun 2017 13:23:03 +0000 Received: from fihe3nok0734.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v5RDMhpb014764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 27 Jun 2017 16:22:43 +0300 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v5RDMheq014758 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Tue, 27 Jun 2017 16:22:43 +0300 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Tue, 27 Jun 2017 16:22:39 +0300 Message-ID: <20170627132243.17298-2-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170627132243.17298-1-petri.savolainen@linaro.org> References: <20170627132243.17298-1-petri.savolainen@linaro.org> X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.240; IPV:CAL; SCL:-1; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39860400002)(39840400002)(39850400002)(39400400002)(39410400002)(39450400003)(2980300002)(189002)(199003)(9170700003)(22756006)(5660300001)(2906002)(305945005)(47776003)(48376002)(189998001)(5003940100001)(2950100002)(498600001)(6666003)(6916009)(77096006)(1076002)(38730400002)(110136004)(36756003)(50466002)(50226002)(8936002)(33646002)(76176999)(53936002)(8676002)(575784001)(50986999)(86362001)(106466001)(2351001)(356003)(105596002)(81166006)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR0701MB2195; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM5EUR03FT021; 1:YFTnaYtbVA1lPHfIc5V1oxf6dGe1uKd610k3fhKvOaqj6wH+F/crTC2bBGeOglxA+sAQGeRW2Y/LO8LF7ClvZMuCSqW53bH//qgqogT6P9qK1cPiKbyHOFF/Rno2SZkXAqVKyi0da1H3iehxYTJHKPaXBtMR+LVrd3wfoARTKSTmZEg2Jv72ZOAA0xYDiLGtmwn86mmUqqp6M3fpwGQG6arKxIcNPlZZ302VSS2IXyYIdVA0jpUmMuXU05NCSRq5m3C+6ZEiq15HBM8RcA4g9la9cbzhHIxlGibYPICbxDbCc0PVLwJL8Vl69fmAH7z478z8zn8CQFONKvqQlqA+L1LvDE3eZ0OGIfOIwl/iLYOpJoPI1DySMmn9sjp0yItQyXrezUSdn3nQCw6q/+E98UUHDYW+5LzFddsPl/sRw3/q9RK0NA6D97YPpB3ilbdYw/rvn3mBHRXaqFyVtPNNdRQ7h/1Nu4x4yZcY5WfdeiRScXBamZ4iGMx5aPwpNeOPxmXx3wxV5svi9opWQSQz0ZFpniV7cE8/LCMIF9WK25a0jmYils1DagFAlTdsFCCNO5xUG0QSrfC5bIHkPD4mfVSm6WVD7AJr6cTqPNKNLS0ECBVQk5Pn92z9EapUydI7ZjbYucSCOD/2oQtrsmPALxAokykVv0vnCpdAyDlVi2Ki/8JlpAItLMpQ+3jM4n1RnlUOUam1B73kgjib1XKCdvHL5+EF3ONOF1+g1vNiwvqqyWsisiWQxl1uOeH3KykX9ZDSmoAmapNQBhE5X0ZG3l1+JOWVSslFvSB1t3yOhxO1AGXtDhPaUWUDzkYubW89d05Z5dYwrSwXsBw5l1eWSa1TJEFi7gg7i1iOvKwkJai5YG6Ww3I/MR/hYAQGkL8k MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6724ce6c-c653-4c8a-08eb-08d4bd5fa410 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095); SRVR:AM4PR0701MB2195; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0701MB2195; 3:cw5pWIv+t+8mnkPunLdDsoaiW71RHWnDyh6CBvL1m5T87dwEsmMddM8f1X8DeOCy6vHNMbp4tcsTI1xRKYxGhHkMZhQ8FtPVRM1oJRW/OrXf6iCqlXCp9z15uQb8rZRWV1oo8cjEHb56admhZbg8K66IFg1rTnXeT7lZ4Mnldo4aA8Ks/HhUf72qyRKSL/pDnYQd9dQ0zdAoMzvPP0H0l7CeTt0bEqiWX5+uw4lvw0JIMf8bf60A3M52POhbwiEymNLUIKXCoObCTfy+R39VGVxJj20FCeqNzHS6u6sw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kNTmDaLT8/yhLJAvDBZM0BdoNKFufTxaMORUnI/rpyqSZXqb0Oro28y4hra2pEKARXs55cv9iqmCS9YWepTNkW2R8wQEir7Gn6yv8BBQXes3UmWl3DsGVezP1vFtRO943RI4gc1W02L91Y4Pld3e/DkA== X-Microsoft-Exchange-Diagnostics: 1; AM4PR0701MB2195; 20:rMRQ1ZSKAy8YnvOBX1GrFw4MIVKv7ZZYgm5AWbe1sZvtS1/ZcuU7/ZB85CUvfABqmuq1yp7Q/5F0z3r1jsR/Fw7p09eGpM+5G0Ao1pALmYRsZ+gnL5iDtxu44tFv+wrhyLPK2E80ojfOd/OT+VSc9TtOSUZdvis8xjhxiQ6VCat8DHVyzKOEZ2VM7hyliptCnjZ0UWAshLBf9e9ZttigCvK4zCdEfR7GRJiemr0ehNXG8lwTlUqXa0Bi7ELa/VjOR/z8+7Cp7ngnyZKqU4trNjJ7XaVsuSD3skVPibbXFx66YvQcsm3sCa8vdGBXx/Ld9h4lckgqId9etke03JZ4fjuWpkZsfkl90j/cc86NAZsFKJxyeQZ5dUL7rOkT5NrYaokQ0qXXWRjCSLu5LfxbTMhv2gXQP7snVkbGjAUhJNTcDQJxPC8dDrnI7c9TuBk5Qz1aBJFBxXJYiEpGzwdypa8YavFt2HS45waXxptrdh3Rwg6ef9EYeqtlJiQQltHh+ccV5Os0W2YwYFILkoGgQC4oNeQsA5ipCyV8l/vdLd1+N9ms197l6SLR68YmQuMNnIvoi/SZT2hs6HtzjiiYoC+fQEKF2MpzKmkbY/sdSPw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(13021025)(13013025)(3002001)(93006095)(93003095)(10201501046)(100000703101)(100105400095)(6055026)(6041248)(20161123562025)(20161123555025)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061750153)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM4PR0701MB2195; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM4PR0701MB2195; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM4PR0701MB2195; 4:G0AVpUpNkeE5JTl48OFawK8fVtmyG0C55S1CSvYb?= m4kOLGQ5VNOI+MbkkGLGtUytceSjKl7q77YJbE8VK4eOjGQJ6AF82spHnstepRuiD42blJukFYWo52Ygp1idS/SCh2wKNsKeXHS3RYLYxnzr5d1ZXF6atoTUiF3fJ2bxYqLTbyE5VpTwotl+wiv5AoM39ts1gByRUaHLCxlU98YHPykJ1ff1CaqOkrE5b6cS5eDXXEKDiHV00de1Foc63hEPCwTj50IeLa/q3t/tMlbBRUP2DDje+AksYRzSnVzdBtfNpqMeVAxhR9K7DAatIcAu1xmsv0RzXg3+/QYi1GLfljNFl9zLtEr2FEzWarq4Liag33FLRvHpNfhW+FwbaaoVSqB9J5qlmzfZqSF7qEwJTPm1A4hD1ia1sJl1Xw7TofOoZY6P+9exp3UM++J46CytRQw/+Im7mz7XPLagt84dbuqaA5y2BsGN30rVdBLQ3QTSSFPmLc4nHJPD8FSWYznJ86d2HnJ/eIyqygfxmB+wcOWA0qTvHwCVDOaTSHwXeRrdpkN+dy+NZzSF03elGDufS2r8L+nTWKrk7mZMWaLzaF0kppk/crIVBtWLRQE+shTbTsVFolghPR80bGIw76ChIYaqLW0JE/L3kXaOtp5ON3meOlfVs1VSHpRO8dBAcFk9VfbK+OAjze0omoTr4rCe9DJq4GAQeSBT0IWmG9Vu5mVACEt+Cyd1JV6jj8ifUEyQCVFiQowoJ2qoi4gXQnIYpaDjrdWp3/28zcqP5cshO7r5WGIVjiL8+PEK5C+y3ErxqQm75WOt5VhImAliw0RQuR2ifoeKYj0ZVASxEyWajlD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GmvVa0o+JcePEQo/IyH6jK+f7tL6xgG8/0u92414jLGyHDKK/AwtIw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM4PR0701MB2195; 7:zdeCHUPDbepODt0fGcMq6hyl5NGd9ALNCYBr9Eh2XWHp9dj4EA5ttpwV+Rm5cdFYDvxMNrl64M0giJq+QoAWuPMt1XdcFFi8iQSHufjoPK4w8kmjP2O5rEm0tFnjS/p3GB+gOIbv70ejHlUP+01XAiwqjFvDiwfPkdQTDrYCa0hsvQ8lLrTvqjgTQBT58AH7dCIiGUDDfaUy2SlLGmy/7gr0t4aEKjC5Ie0dwtRlgXA8S+FfbUcjSgZQ3Qlk+7DY1w/oPTM9B+DCYz/eYJDjheviMRy3lX8ADgLVQWImXXlhWVzCRX/R8id4FDDKzqBvy0wqf1KeE1hiaeaGdVvrtm/pXXussoLbHlPbL8IGCpPDLn6XfLWJ8OiqYHQOHbKxDeRux2TltjM/mj97TsVNJ+KjxwZQXNzHLekBh+dvZtY2WQ8qRGDrIznppiWiOVIixsqKNalsH+2Yks9Is6VapFhZHcr+/0t3Hf0tLwHf6WKr5OLOF4XrhgyFdlFa+f5N3jpNt4H+kosbSVH694sZiUeohE9Kye7tlerHPM5jb4IoUfSQ5cw08Wev90d3I8TMic3xxrJzRnhvtYhlt8uDTLFHD40xo+VzNKgn5bXBDovQG/ORXIsqYN3zChG9gX+nwr0Otnde8SLwZ1ZetmwrzA3OAF299nMuMJEYIMYqbfv0jq3vrsAczswH2FFMqArYpl74CiE1qaqebaZA9Rz7MiC+v2HSDeHo2B6CCd3phNjTFNA+iz2gqnniuVWwIPw/CBvheXA+eawdnTarVEX7y26m5iVq9od4d05JLvMZgcQ= X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 13:23:03.6420 (UTC) X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0; Ip=[131.228.2.240]; Helo=[mailrelay.int.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0701MB2195 Subject: [lng-odp] [API-NEXT PATCH 1/5] linux-gen: cls: avoid queue conversions X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Use internal queue type instead of API handle. This way per packet queue conversions are avoided. Signed-off-by: Petri Savolainen --- platform/linux-generic/include/odp_packet_internal.h | 3 ++- platform/linux-generic/include/odp_queue_if.h | 2 ++ platform/linux-generic/odp_classification.c | 10 +++++----- platform/linux-generic/odp_packet_io.c | 4 +--- 4 files changed, 10 insertions(+), 9 deletions(-) -- 2.13.0 diff --git a/platform/linux-generic/include/odp_packet_internal.h b/platform/linux-generic/include/odp_packet_internal.h index cdd139bb..d513f05e 100644 --- a/platform/linux-generic/include/odp_packet_internal.h +++ b/platform/linux-generic/include/odp_packet_internal.h @@ -27,6 +27,7 @@ extern "C" { #include #include #include +#include /** Minimum segment length expected by packet_parse_common() */ #define PACKET_PARSE_SEG_LEN 96 @@ -126,7 +127,7 @@ typedef struct { odp_time_t timestamp; /* Classifier destination queue */ - odp_queue_t dst_queue; + queue_t dst_queue; /* Result for crypto */ odp_crypto_generic_op_result_t op_result; diff --git a/platform/linux-generic/include/odp_queue_if.h b/platform/linux-generic/include/odp_queue_if.h index 168d0e9e..b5cbd515 100644 --- a/platform/linux-generic/include/odp_queue_if.h +++ b/platform/linux-generic/include/odp_queue_if.h @@ -48,6 +48,8 @@ typedef struct { typedef struct { char dummy; } _queue_t; typedef _queue_t *queue_t; +#define QUEUE_NULL ((queue_t)NULL) + typedef int (*queue_init_global_fn_t)(void); typedef int (*queue_term_global_fn_t)(void); typedef int (*queue_init_local_fn_t)(void); diff --git a/platform/linux-generic/odp_classification.c b/platform/linux-generic/odp_classification.c index 5f153e73..cc08b9f4 100644 --- a/platform/linux-generic/odp_classification.c +++ b/platform/linux-generic/odp_classification.c @@ -162,7 +162,7 @@ odp_cos_t odp_cls_cos_create(const char *name, odp_cls_cos_param_t *param) /* Packets are dropped if Queue or Pool is invalid*/ if (param->queue == ODP_QUEUE_INVALID) - queue = NULL; + queue = QUEUE_NULL; else queue = queue_fn->from_ext(param->queue); @@ -264,7 +264,7 @@ int odp_cos_queue_set(odp_cos_t cos_id, odp_queue_t queue_id) /* Locking is not required as intermittent stale data during CoS modification is acceptable*/ if (queue_id == ODP_QUEUE_INVALID) - cos->s.queue = NULL; + cos->s.queue = QUEUE_NULL; else cos->s.queue = queue_fn->from_ext(queue_id); return 0; @@ -279,7 +279,7 @@ odp_queue_t odp_cos_queue(odp_cos_t cos_id) return ODP_QUEUE_INVALID; } - if (!cos->s.queue) + if (cos->s.queue == QUEUE_NULL) return ODP_QUEUE_INVALID; return queue_fn->to_ext(cos->s.queue); @@ -841,12 +841,12 @@ int cls_classify_packet(pktio_entry_t *entry, const uint8_t *base, if (cos == NULL) return -EINVAL; - if (cos->s.queue == NULL || cos->s.pool == ODP_POOL_INVALID) + if (cos->s.queue == QUEUE_NULL || cos->s.pool == ODP_POOL_INVALID) return -EFAULT; *pool = cos->s.pool; pkt_hdr->p.input_flags.dst_queue = 1; - pkt_hdr->dst_queue = queue_fn->to_ext(cos->s.queue); + pkt_hdr->dst_queue = cos->s.queue; return 0; } diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c index 4dd28549..6ff35046 100644 --- a/platform/linux-generic/odp_packet_io.c +++ b/platform/linux-generic/odp_packet_io.c @@ -566,11 +566,9 @@ static inline int pktin_recv_buf(odp_pktin_queue_t queue, buf_hdr = packet_to_buf_hdr(pkt); if (pkt_hdr->p.input_flags.dst_queue) { - queue_t dst_queue; int ret; - dst_queue = queue_fn->from_ext(pkt_hdr->dst_queue); - ret = queue_fn->enq(dst_queue, buf_hdr); + ret = queue_fn->enq(pkt_hdr->dst_queue, buf_hdr); if (ret < 0) odp_packet_free(pkt); continue;