From patchwork Tue Jul 4 09:53:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 106923 Delivered-To: patch@linaro.org Received: by 10.182.135.102 with SMTP id pr6csp825155obb; Tue, 4 Jul 2017 02:55:54 -0700 (PDT) X-Received: by 10.200.50.2 with SMTP id x2mr50828257qta.23.1499162154377; Tue, 04 Jul 2017 02:55:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499162154; cv=none; d=google.com; s=arc-20160816; b=Vc5fjSUZhW5x3CrdyQzKww/OBMYPsMGzKk0o23dodzHFAhluOOKNWYCl5zaWU9mL/Q DRvGEV+7W+LOo4my7p1RpQZJfTfEnQ5RVmTODoHAeSn9wVY8eA6/8dclbgJNzi+icxYY l91rNSe4NyWkdEO4cts+DKdtq7nSltzOZNaUqWtthjWL9LIavX0HhVZj6I8TUzjKN6fE fZM+bdCmgfeGCIZy82uYTTNJ24rEw0vgVlFFtiexqC8w3ETetS/maqc1mqz1WOy/OLVH i1oKvfiEu6+nCxLc5Y+Ryq6TYOhhDtag/dJRupyKEJrHZdcEBzm0Xdz3WPNz0lT2klU9 KWEQ== 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=G3PvvRAblAQYdqB1x7JET5WntrcFAuwYufQ6s2Ax9Vw=; b=0AJmFAZykkWzta88vo6iBm+OPIxQTtrDnELiOkH7OOzczKjyO9jGLNrf6UIlZ+7Mc+ RSxMyeS/Swm8Qb9lVJ6sNBNd1k534DiCPAIaTQlq3SJ20U/RWRinTwNv+hWvQclg0nkU k02ZqMP1NF5sh/WS7QsGqel+2wPsu/4sS8hJTU16I3s04abYbFj3b+pKqj9Bo6/wi80d VLs8tHqxxGRH23bk+5iY6413fsrctd0SmAgOgBygtRfM9cXrlqU+o55sz+A9qSiWOiVv 1pFUcRKMWp0GjAnv+y3Xen8YxSVbXkhp/cbtIbcZFRA7aShJQKYiK/66BFXlJL7ydFdB U1/w== 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 80si16962208qkg.70.2017.07.04.02.55.54; Tue, 04 Jul 2017 02:55:54 -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 0D3BA60C1A; Tue, 4 Jul 2017 09:55:54 +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=-1.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, URIBL_BLOCKED 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 30A7760967; Tue, 4 Jul 2017 09:55:38 +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 6D9A360A45; Tue, 4 Jul 2017 09:55:34 +0000 (UTC) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0136.outbound.protection.outlook.com [104.47.1.136]) by lists.linaro.org (Postfix) with ESMTPS id ECA906074A for ; Tue, 4 Jul 2017 09:54:35 +0000 (UTC) Received: from DB6PR07CA0096.eurprd07.prod.outlook.com (2603:10a6:6:2b::34) by HE1PR07MB1051.eurprd07.prod.outlook.com (2a01:111:e400:581d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.6; Tue, 4 Jul 2017 09:54:33 +0000 Received: from AM5EUR03FT010.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::200) by DB6PR07CA0096.outlook.office365.com (2603:10a6:6:2b::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.6 via Frontend Transport; Tue, 4 Jul 2017 09:54:32 +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 AM5EUR03FT010.mail.protection.outlook.com (10.152.16.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1220.9 via Frontend Transport; Tue, 4 Jul 2017 09:54:32 +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 v649rihZ022504 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 4 Jul 2017 12:53:44 +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 v649rhth022443 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Tue, 4 Jul 2017 12:53:44 +0300 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Tue, 4 Jul 2017 12:53:40 +0300 Message-ID: <20170704095343.4266-4-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170704095343.4266-1-petri.savolainen@linaro.org> References: <20170704095343.4266-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)(39410400002)(39400400002)(39850400002)(39840400002)(39450400003)(39860400002)(2980300002)(189002)(199003)(9170700003)(47776003)(498600001)(8936002)(5003940100001)(189998001)(86362001)(1076002)(626005)(356003)(36756003)(76176999)(2950100002)(6916009)(2351001)(8676002)(2906002)(6666003)(50986999)(105596002)(77096006)(5660300001)(106466001)(305945005)(53936002)(50226002)(81166006)(22756006)(50466002)(38730400002)(33646002)(110136004)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR07MB1051; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM5EUR03FT010; 1:436MOb3a+5pvamrAScACGf1CsdCB5Ew33RbTbm068+brKBN4s7y5k6gdqYMgr+5Av187ccv5zB/3sdD/X521pNp/6SLMWad7dfcYf4rhRNmWKPVkL3YxWF/foUpCHuLa5OroKkecTDIfbzpLe/0XZEN3Qgaafhgt44RMnMa1DrNILp77pXfxQn3Sn0s0u1IIVaF/s/BJ8Jnhe6OtYodehKyjChXInptsAPQVHeG+ntyyfSP2zgS5rNqpd0Z9SUOvEvN/2CmBrs4Ox7oW3/iOs+SLHKWTgU9USeNN2R72UeF5aLu2JmZIWn06+0d0dmas7hFtcHr6SZ+kzf/WUEyqPnAwk/NzajyApXhVGsUxp9nA7s+sRzEn4Ct6DdqBPFlIaqhEzaXVvRtfqtMGrkj8NLVid2CYhO8YLFdUelMaAyHTDhPMzzG7KzoAqqASwiSt0Dhif7i1jIzZHeJhMEA9uyhU9i1qMG0VSMb/VIIXgP4YvxlRNqoyINkKhLiQKEGRvOEHMb+knVP0Wc2X6DhRI/04nUt/VH5BEmQXskyXADA+RKQ48/lIG4l4y4PjUaSd89RBuOdAZk59I8EppbdQkhsQS/EXDa/D2W28YjKO+3wOJ38Gu94/b3WPAvgbP5i6pppznoQ7YaYxzOLFnwd4agmPVkyT67O951Py89DcFVxPDiutjYRzuDTUMWzibyEot2ISbZlqhUHXsjrQyLJ89vsZPJYoTznHP91nAfIxOXWfosAjdrYuBPpyxtOkOpip7Yv4eFzyX/GWDtIKECTUM1qzAv28BPQ/f/a0WP54xQZ9l7lRpdnCviM0CAfrWQ36+7oR03s94Igv+saTp5cN2yXdgaIQsjsrfWsAze7/HzZ8eDSO5ozLz3hLQyQH/2Im MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b7d200e2-ba5e-4c29-0d14-08d4c2c2abc4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:HE1PR07MB1051; X-Microsoft-Exchange-Diagnostics: 1; HE1PR07MB1051; 3:vctss6OLQKifsJLiogSmq0SdWpNletT2WghmsEoaaErMY9FXwd3jPdCPoIpTGiLwDjgVNdK24iZnHKu3IOjRXHwGTIMSHvsCrcoYNyIaLbtslelUQ/pebHZGV6VQU5bMu7XvT4y9H/om9cmgvyO63V7c54EHgmDCSZURuyac3MansMNOfPW0j24gD5J/X3095wqIzgdM1Ymnrl8T0NP+6KHI9+NjUm7CvfT/zM8O7lnW4FWZGkfUCQcsDxkWmFEAFXe1GJf1hQc63VBDBbo5pK6xg2mVFwkA8b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fs5+4X3vPeFT+Nj7Yq0EuRT4iVwHICPzcLQXs0q1jSCqb+LtKem4XP141/ER0ttKMJVYyaPfoKqkM5n02K+IPrFZoZefs8/vm0ql93ws2R/ZIDTd5KrEel2Zyq9ARo74uPfQHNyHHo9T7h/KIUj6jdlFx+K90LXTh81k3YWVdRZxLEm3nZvYAg+B6/qm5yiOuGP/ADJ9kQnMRCLr/ogFLkC+bbLdqjX7BbstFjhQ06HMWZaJ+sQ== X-Microsoft-Exchange-Diagnostics: 1; HE1PR07MB1051; 20:+9nhLLWvyxd3gmg4m/z1wchCrfcx+9zu9WjCFpLiQgvLhyOpRPphGNwyX3xBooAJ+PKAZc3JKhIHIcJUhm+Zg+RfSBgYFlIsj5TMuhLLV4EvxKDE7eixXoucRCNucYkN2bs+3u4BdDb9oEmPo86epQ0X7OEeB/ZgniaK8umFz8rxCuLodrYApY+6LNcqTVUdRY9pntSIzutHo96OTokkp6BdK66X57yI1tZTyMjlHuHgjHODkLw6kUrUnA8GquKpWAIJ2PznTE8Z1urOPTNA1oVPV4fnMuxlBEdJsimmL4W8P1Dz6c+Wk6qUzle6xTYSu5/m7hw6sCT1ajvgDwaQ/h6+poKQ9fO0FlbKgoUO0V4F0+C/Py+GSukVVNwaZ1PNisONWI6fPPR7YnJVbRKd7F9KAv5BIJrpirhW79h3hVIWqvkgddbSPXLgxKiG4GNRAvpLj3d9Eq1RxA/9YhePWFzR+L8/7XWpg7z7DY67l4qaf902kDgBOsW/y0vhVp57bM/MCkX7NOTsRMhd6Y8jyT91Sa8xy9Lkdc0RTK8Za5YNdGUpxSXGMU+dVvQudhSwuNb6zi7iqWWvk4+cyjf75zteBjCnhB4mRSYLGqqqAy0= 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)(13013025)(13021025)(8121501046)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93003095)(6055026)(6041248)(20161123555025)(20161123564025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061750153)(20161123560025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR07MB1051; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR07MB1051; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR07MB1051; 4:GEa9ou0MKCl1dbZEqSHjQ5fp3qlMcFiZPnr7pEVxqF?= mU1WOeX11g5Xc7ele5ed39G3+8m+LhK+uLUsJ4NFNPcs+iFaTbXAkrGcEoFKQIJgjAgtSVXDbWBZOlOeNiFUysYm8eqLfZV6O6ERJiEIan2D40SfcbsVS1HZgKq5gGRbkv3PB92OtFImuWnP6RLu0p1t6gTgY7IqwGOAG5eTGGKrB+qHuaF2s6Rp3GjWDy8+Sm2cz1BQ9kZ7KRr5+sFYvO1JJq9RBmfk7G7RUdHFhdMg4WJblBcQiaYDMYv590P4AvfHqOCbRZcqjTm6kQfa6J/MXzASfkvWDg94r3KPHO6PNWykO+96CQYHqXsYBrZwumaO3ltCl2n6lP2tDdE+h8wIxX9+GtcSS7yOP7LSs6yNL1unj38N0QnauY5uCJKvZm7L21aG5lNIX70ARO5aHQKdVKzjUYViaHBozbdRhg31du8buXmBU+qjUWD6kJATFnfIC9qm5oAQdfDfps2AgexafZtfKMZEexChrtaoZ8lVf9IILPKsSCMWMi90tUknE+Pm7JzfIlqxtSrPOBABpJmSONkWSsZ7+TvksrEa1lEOPVNuLDZGH6hfKzWpj3v/BzitMVKpEajzm76LVSsTkWE7SGLX9kKjSCKJUhYOW5eiuyIWgspLfwKoNBniSO0SVTenuSN5+COx0HbD9eLllXj8sZVsCqoEJER4kRvdn9rtToQf5GfaV4gz310XiauwabDuT9BW4hlLQxcD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I= X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 09:54:32.5716 (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: HE1PR07MB1051 Subject: [lng-odp] [API-NEXT PATCH v2 3/6] linux-gen: pktio: convert queue handle only once 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" Avoid queue handle conversion on fast path. Convert once after queue create and save value. Signed-off-by: Petri Savolainen --- platform/linux-generic/include/odp_packet_io_internal.h | 2 ++ platform/linux-generic/odp_packet_io.c | 13 ++++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) -- 2.13.0 diff --git a/platform/linux-generic/include/odp_packet_io_internal.h b/platform/linux-generic/include/odp_packet_io_internal.h index 89bb6f3a..93040681 100644 --- a/platform/linux-generic/include/odp_packet_io_internal.h +++ b/platform/linux-generic/include/odp_packet_io_internal.h @@ -24,6 +24,7 @@ extern "C" { #include #include #include +#include #include #include @@ -165,6 +166,7 @@ struct pktio_entry { struct { odp_queue_t queue; + queue_t queue_int; odp_pktin_queue_t pktin; } in_queue[PKTIO_MAX_QUEUES]; diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c index af1307c0..3ed51ac9 100644 --- a/platform/linux-generic/odp_packet_io.c +++ b/platform/linux-generic/odp_packet_io.c @@ -128,6 +128,7 @@ static void init_in_queues(pktio_entry_t *entry) for (i = 0; i < PKTIO_MAX_QUEUES; i++) { entry->s.in_queue[i].queue = ODP_QUEUE_INVALID; + entry->s.in_queue[i].queue_int = QUEUE_NULL; entry->s.in_queue[i].pktin = PKTIN_INVALID; } } @@ -305,6 +306,7 @@ static void destroy_in_queues(pktio_entry_t *entry, int num) if (entry->s.in_queue[i].queue != ODP_QUEUE_INVALID) { odp_queue_destroy(entry->s.in_queue[i].queue); entry->s.in_queue[i].queue = ODP_QUEUE_INVALID; + entry->s.in_queue[i].queue_int = QUEUE_NULL; } } } @@ -708,8 +710,7 @@ int sched_cb_pktin_poll(int pktio_index, int num_queue, int index[]) } for (idx = 0; idx < num_queue; idx++) { - queue_t qentry; - odp_queue_t queue; + queue_t q_int; odp_pktin_queue_t pktin = entry->s.in_queue[index[idx]].pktin; num = pktin_recv_buf(pktin, hdr_tbl, QUEUE_MULTI_MAX); @@ -722,9 +723,8 @@ int sched_cb_pktin_poll(int pktio_index, int num_queue, int index[]) return -1; } - queue = entry->s.in_queue[index[idx]].queue; - qentry = queue_fn->from_ext(queue); - queue_fn->enq_multi(qentry, hdr_tbl, num); + q_int = entry->s.in_queue[index[idx]].queue_int; + queue_fn->enq_multi(q_int, hdr_tbl, num); } return 0; @@ -1281,8 +1281,11 @@ int odp_pktin_queue_config(odp_pktio_t pktio, } entry->s.in_queue[i].queue = queue; + entry->s.in_queue[i].queue_int = q_int; + } else { entry->s.in_queue[i].queue = ODP_QUEUE_INVALID; + entry->s.in_queue[i].queue_int = QUEUE_NULL; } entry->s.in_queue[i].pktin.index = i;