From patchwork Tue Aug 15 05:00:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110083 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5228758qge; Mon, 14 Aug 2017 22:06:19 -0700 (PDT) X-Received: by 10.237.34.204 with SMTP id q12mr34620920qtc.292.1502773579322; Mon, 14 Aug 2017 22:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502773579; cv=none; d=google.com; s=arc-20160816; b=f7LEedm3D5KbtVroW5xO8jnqT48qJvAeQ32YePZYrkfSH6O2QX9qJmlxYfSJbMGi0+ 8j34Iv0OeVz8idAWASi544m4ZuYI87jET5oqCORjlZDgX8WZFsBRcNd3Nd9tSn8dwEL5 pEkmretmo3dlPFibBBo80s5WcuHR9fWYwAp1rBwJrWdoXbdg5PYsfOZ7hBkh/DEcg6zA znDiYfYfqCDYVLw41tdftIiuoyQ2hrAa/46/D6iiPSgln+BZcVypsRQrrH3FfUkTGUIR 3m5Z7GiaKbX8QbG/D+Iy8AOoN1B+144e0Wwiw7M/q2t+4YBEh5slRymy/9PI8uCkggBp dCng== 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:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=9+YkDEB2FbUOaj4fna2MyXQubX1tLgIMAUJoQcGKJJ0=; b=e7h60QFwK+S8sMUhoEATpz5cAxK0u3BKRVtL8WFyA93s/0vYfZH5v99gCTulpXasmk ZvRsK26u2QoNd4DtKFcRvdNHlnMZXuTAb5LNosocqJIFBpBCXohbs4x4T7pbzG1ftSaF WqW/yuf4juF9ALXWVPOuSMs+3FUiYCdqGrxeYuVKmB5F8ayHbcYvU8FU2UrqCTiIiLRT LzUk2B2Cr5ZkX5PhBjhhis8kq39sbI3rXLu2FijG4IkpRAHnRJm4oCjPWId5AarXecWe ZUi+wYFTQgCBAUKCtcRPGhO5Xzr1fdzj8Voexq0CF2GmsFJ7Gu2StnTZUOLUt4WNY/2V EMWQ== 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id x10si8125727qta.192.2017.08.14.22.06.19; Mon, 14 Aug 2017 22:06:19 -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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 0A0AC62C49; Tue, 15 Aug 2017 05:06:19 +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=BAYES_00,FREEMAIL_FROM, 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 143D765BF8; Tue, 15 Aug 2017 05:01:44 +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 B549F644DD; Tue, 15 Aug 2017 05:01:37 +0000 (UTC) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) by lists.linaro.org (Postfix) with ESMTPS id 6F62E644DD for ; Tue, 15 Aug 2017 05:00:35 +0000 (UTC) Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 31F584082437 for ; Tue, 15 Aug 2017 08:00:34 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback2o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id u4Hu9cQwf0-0YSStlLk; Tue, 15 Aug 2017 08:00:34 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id uAoPgDfmtd-0X8SgmFo; Tue, 15 Aug 2017 08:00:33 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 08:00:13 +0300 Message-Id: <1502773216-31620-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502773216-31620-1-git-send-email-odpbot@yandex.ru> References: <1502773216-31620-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 108 Subject: [lng-odp] [PATCH API-NEXT v4 1/4] linux-gen: classification: mark several functions as static 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" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 108 (lumag:symbols-cleanup) ** https://github.com/Linaro/odp/pull/108 ** Patch: https://github.com/Linaro/odp/pull/108.patch ** Base sha: 3547226b19e6982bf74fc8c258b89db2c5f6a39c ** Merge commit sha: 96b4b72d57a270b2b7ac6609852c867ee2de5a1b **/ .../linux-generic/include/odp_classification_internal.h | 7 ------- platform/linux-generic/odp_classification.c | 15 ++++++++++----- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/platform/linux-generic/include/odp_classification_internal.h b/platform/linux-generic/include/odp_classification_internal.h index 208b0f5b..8882a717 100644 --- a/platform/linux-generic/include/odp_classification_internal.h +++ b/platform/linux-generic/include/odp_classification_internal.h @@ -49,13 +49,6 @@ This function should be called during pktio initialization. **/ int pktio_classifier_init(pktio_entry_t *pktio); -void _odp_cls_update_hash_proto(cos_t *cos, - odp_pktin_hash_proto_t hash_proto); - -uint32_t packet_rss_hash(odp_packet_hdr_t *pkt_hdr, - odp_cls_hash_proto_t hash_proto, - const uint8_t *base); - #ifdef __cplusplus } #endif diff --git a/platform/linux-generic/odp_classification.c b/platform/linux-generic/odp_classification.c index f9a82a2e..a785c604 100644 --- a/platform/linux-generic/odp_classification.c +++ b/platform/linux-generic/odp_classification.c @@ -33,7 +33,7 @@ static cos_tbl_t *cos_tbl; static pmr_tbl_t *pmr_tbl; static _cls_queue_grp_tbl_t *queue_grp_tbl; -const rss_key default_rss = { +static const rss_key default_rss = { .u8 = { 0x6d, 0x5a, 0x56, 0xda, 0x25, 0x5b, 0x0e, 0xc2, 0x41, 0x67, 0x25, 0x3d, 0x43, 0xa3, 0x8f, 0xb0, @@ -191,7 +191,8 @@ int odp_cls_capability(odp_cls_capability_t *capability) return 0; } -void _odp_cls_update_hash_proto(cos_t *cos, odp_pktin_hash_proto_t hash_proto) +static void _odp_cls_update_hash_proto(cos_t *cos, + odp_pktin_hash_proto_t hash_proto) { if (hash_proto.proto.ipv4 || hash_proto.proto.ipv4_tcp || hash_proto.proto.ipv4_udp) @@ -934,6 +935,10 @@ static inline cos_t *cls_select_cos(pktio_entry_t *entry, return cls->default_cos; } +static uint32_t packet_rss_hash(odp_packet_hdr_t *pkt_hdr, + odp_cls_hash_proto_t hash_proto, + const uint8_t *base); + /** * Classify packet * @@ -989,9 +994,9 @@ int cls_classify_packet(pktio_entry_t *entry, const uint8_t *base, return 0; } -uint32_t packet_rss_hash(odp_packet_hdr_t *pkt_hdr, - odp_cls_hash_proto_t hash_proto, - const uint8_t *base) +static uint32_t packet_rss_hash(odp_packet_hdr_t *pkt_hdr, + odp_cls_hash_proto_t hash_proto, + const uint8_t *base) { thash_tuple_t tuple; const _odp_ipv4hdr_t *ipv4; From patchwork Tue Aug 15 05:00:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110084 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5229262qge; Mon, 14 Aug 2017 22:06:56 -0700 (PDT) X-Received: by 10.55.126.195 with SMTP id z186mr1607158qkc.197.1502773615951; Mon, 14 Aug 2017 22:06:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502773615; cv=none; d=google.com; s=arc-20160816; b=SURZdCM6YojpkAoUJFdfkWneeCsCbzaKBRo5ymkKJBIimqKa8zZD8VAptiVzcyigJ5 yNN2HaLGxP0ioO2p9dNxsuId4ORM/zaeppIBQnsRrPBVLVAYo5WB1ZW5FdfLqny0K9/w 3q136FZnoBe9BEZLB/qQDIMtAd+laAGMF1Blmq5FE4QIF13v4Nnn5PCnovmkokyQ00lp 3mWdNyrnUTAwsE6G9YisU5aPQiWU8jw69Kyxsy3Vk6iT04PIccJ9kxzB17E5aBkUZhhJ eoUNQ0PoVohJRMWYL4tnTyvYUYSqeH3oAxmMK56tzE7CJj5KbLGdInQi1JSJ3gCt6OLL d18Q== 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:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=rXMQonVPJCeq+SOYzWvp5ww/b1GyUCLL0k1EAKjtMXQ=; b=cAQkyNW7i7+fCpdxbGdqiONBbrv9djuAAWeqkrVa0w+6Pc2I/r1MGGx3rev9ji57Ge 1UrWaLmYVbrH+Z74F3HfkaNUuM3rTPOHErUrMK/GBo8nTeTMQ3vWqWoZhXzLYGseGEkt dqRLdYxA/VJbmstdFMOK+W9ly9tV5a/7hY3zKm4uKXXkgshj2XOtktXGFsGyzGPJ/6up UJrNvyrleHcr5FoWDI/q9v4HDeSTOBOwe4qiknpe4QJ/4M8KMDtNmICFUVxpWRR+KtWC +TYH+LBxNDutcqw58K8NNhIrXsyo3MBS4BipgOPyeUlFdZ0vBGiTBL9mYxkXA4QS2way JzMg== 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id x65si7749088qkc.163.2017.08.14.22.06.55; Mon, 14 Aug 2017 22:06:55 -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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 7B88965BF8; Tue, 15 Aug 2017 05:06:55 +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=BAYES_00,FREEMAIL_FROM, 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 4AE4D65BF6; Tue, 15 Aug 2017 05:01:46 +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 94432644DD; Tue, 15 Aug 2017 05:01:40 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id 40DCB65BC1 for ; Tue, 15 Aug 2017 05:00:36 +0000 (UTC) Received: from mxback2j.mail.yandex.net (mxback2j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10b]) by forward105j.mail.yandex.net (Yandex) with ESMTP id AD6931834E5 for ; Tue, 15 Aug 2017 08:00:34 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback2j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 7w5fDFwFqD-0YeeIkGE; Tue, 15 Aug 2017 08:00:34 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id uAoPgDfmtd-0Y88HQST; Tue, 15 Aug 2017 08:00:34 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 08:00:14 +0300 Message-Id: <1502773216-31620-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502773216-31620-1-git-send-email-odpbot@yandex.ru> References: <1502773216-31620-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 108 Subject: [lng-odp] [PATCH API-NEXT v4 2/4] linux-gen: scalable sched: mark several function as static 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" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 108 (lumag:symbols-cleanup) ** https://github.com/Linaro/odp/pull/108 ** Patch: https://github.com/Linaro/odp/pull/108.patch ** Base sha: 3547226b19e6982bf74fc8c258b89db2c5f6a39c ** Merge commit sha: 96b4b72d57a270b2b7ac6609852c867ee2de5a1b **/ .../include/odp_schedule_scalable_ordered.h | 9 --------- .../linux-generic/odp_schedule_scalable_ordered.c | 19 ++++++++++--------- 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/platform/linux-generic/include/odp_schedule_scalable_ordered.h b/platform/linux-generic/include/odp_schedule_scalable_ordered.h index 941304b7..1c365a2b 100644 --- a/platform/linux-generic/include/odp_schedule_scalable_ordered.h +++ b/platform/linux-generic/include/odp_schedule_scalable_ordered.h @@ -115,17 +115,8 @@ reorder_window_t *rwin_alloc(_odp_ishm_pool_t *pool, unsigned lock_count); int rwin_free(_odp_ishm_pool_t *pool, reorder_window_t *rwin); bool rwin_reserve(reorder_window_t *rwin, uint32_t *sn); -void rwin_insert(reorder_window_t *rwin, - reorder_context_t *rctx, - uint32_t sn, - void (*callback)(reorder_context_t *)); void rctx_init(reorder_context_t *rctx, uint16_t idx, reorder_window_t *rwin, uint32_t sn); -void rctx_free(const reorder_context_t *rctx); -void olock_unlock(const reorder_context_t *rctx, reorder_window_t *rwin, - uint32_t lock_index); -void olock_release(const reorder_context_t *rctx); -void rctx_retire(reorder_context_t *first); void rctx_release(reorder_context_t *rctx); int rctx_save(queue_entry_t *queue, odp_buffer_hdr_t *buf_hdr[], int num); diff --git a/platform/linux-generic/odp_schedule_scalable_ordered.c b/platform/linux-generic/odp_schedule_scalable_ordered.c index 90ddb61c..e4468a90 100644 --- a/platform/linux-generic/odp_schedule_scalable_ordered.c +++ b/platform/linux-generic/odp_schedule_scalable_ordered.c @@ -71,10 +71,10 @@ bool rwin_reserve(reorder_window_t *rwin, uint32_t *sn) return true; } -void rwin_insert(reorder_window_t *rwin, - reorder_context_t *rctx, - uint32_t sn, - void (*callback)(reorder_context_t *)) +static void rwin_insert(reorder_window_t *rwin, + reorder_context_t *rctx, + uint32_t sn, + void (*callback)(reorder_context_t *)) { /* Initialise to silence scan-build */ hc_t old = {0, 0}; @@ -172,7 +172,7 @@ void rctx_init(reorder_context_t *rctx, uint16_t idx, rctx->numevts = 0; } -inline void rctx_free(const reorder_context_t *rctx) +static inline void rctx_free(const reorder_context_t *rctx) { const reorder_context_t *const base = &rctx[-(int)rctx->idx]; const uint32_t first = rctx->idx; @@ -206,8 +206,9 @@ inline void rctx_free(const reorder_context_t *rctx) } } -inline void olock_unlock(const reorder_context_t *rctx, reorder_window_t *rwin, - uint32_t lock_index) +static inline void olock_unlock(const reorder_context_t *rctx, + reorder_window_t *rwin, + uint32_t lock_index) { if ((rctx->olock_flags & (1U << lock_index)) == 0) { /* Use relaxed ordering, we are not releasing any updates */ @@ -215,7 +216,7 @@ inline void olock_unlock(const reorder_context_t *rctx, reorder_window_t *rwin, } } -void olock_release(const reorder_context_t *rctx) +static void olock_release(const reorder_context_t *rctx) { reorder_window_t *rwin; int i; @@ -246,7 +247,7 @@ static void blocking_enqueue(queue_entry_t *q, odp_buffer_hdr_t **evts, int num) } } -void rctx_retire(reorder_context_t *first) +static void rctx_retire(reorder_context_t *first) { reorder_context_t *rctx; queue_entry_t *q; From patchwork Tue Aug 15 05:00:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110086 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5230062qge; Mon, 14 Aug 2017 22:08:00 -0700 (PDT) X-Received: by 10.200.8.232 with SMTP id y37mr34328863qth.329.1502773680582; Mon, 14 Aug 2017 22:08:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502773680; cv=none; d=google.com; s=arc-20160816; b=a98EOZFlVrYOiH2NhGkz6QebYzefsXqhu8xjHPQh3jvCRfWdEON5nQwmHJUqgJT7FT zEZyPQkknGTP9AQoOtIm2kKNXTaQ659FlWBuAOPP/7yT2VZfCFJy1PvTZryPLW/2/8+2 2cHZ4T1dgN/+SwgsWL3fcoSY+BktgUQCCPPzbRY8fSgpqzslRWy6Igq2ZhcokfP85qbv 416QZIQd9Esbl0Oxq/nbuvan7WJjfpKP4zbb9iAHcrwmORNbQBqDJWW0TUt9UPsDb5rT suicTWH5OPab+QhAqxZ3Ax0KPC3gJn/SW1ZRAz6KSOPXvzlN0+I3BW3gIX1uJIlxecXa dJqA== 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:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=cFPeUtHPdfwfQQPBISusShFGedaO1gvmXwfchT6q4Ic=; b=ywoNtP27nTiSBG8SlAy1++hsANQFQgzt5Vyk8uetddojeDKuRF9IAaUXqzNczxMCnq OCzZGjtWgIV4bvDERp5PWbA3I3ksWyEgAXQcR+RwGyNjydc9eBSnsfqNqoqhW4aH+gir 2nb4ECWIQTrjU4tvqTbv6wYt0hE4L1cyS7hZS8xYiYAcH8M7us1Wcw1MwQuetZpXOGzU r5kmQYCgdiY8N1u01OqF8X2kcD4PVh3bR5lb6tEYzs5IXXpC7XNtKc8ncP0Qo6abLKAB 0Ddn1E6gmphRcjCBwJTbsOh3/hRQzr8/foqBZFuqUUrcmwROLLXP44LiZY/cDSfPo1oG DMsw== 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id o100si5014639qko.72.2017.08.14.22.08.00; Mon, 14 Aug 2017 22:08:00 -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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 4EC4760AF6; Tue, 15 Aug 2017 05:08:00 +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=BAYES_00,FREEMAIL_FROM, 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 E669A65C01; Tue, 15 Aug 2017 05:01:57 +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 D683665C00; Tue, 15 Aug 2017 05:01:46 +0000 (UTC) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [37.140.190.183]) by lists.linaro.org (Postfix) with ESMTPS id 975F365BC9 for ; Tue, 15 Aug 2017 05:00:36 +0000 (UTC) Received: from mxback20j.mail.yandex.net (mxback20j.mail.yandex.net [IPv6:2a02:6b8:0:1619::114]) by forward105o.mail.yandex.net (Yandex) with ESMTP id 2DEF344439C0 for ; Tue, 15 Aug 2017 08:00:35 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback20j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id O2W4jJfWwO-0ZaO5vgN; Tue, 15 Aug 2017 08:00:35 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id uAoPgDfmtd-0Y8iRc53; Tue, 15 Aug 2017 08:00:34 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 08:00:15 +0300 Message-Id: <1502773216-31620-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502773216-31620-1-git-send-email-odpbot@yandex.ru> References: <1502773216-31620-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 108 Subject: [lng-odp] [PATCH API-NEXT v4 3/4] linux-gen: scalable sched: mark sched_grp_lock as static 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" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 108 (lumag:symbols-cleanup) ** https://github.com/Linaro/odp/pull/108 ** Patch: https://github.com/Linaro/odp/pull/108.patch ** Base sha: 3547226b19e6982bf74fc8c258b89db2c5f6a39c ** Merge commit sha: 96b4b72d57a270b2b7ac6609852c867ee2de5a1b **/ platform/linux-generic/odp_schedule_scalable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/odp_schedule_scalable.c b/platform/linux-generic/odp_schedule_scalable.c index 78159b53..a289a7d7 100644 --- a/platform/linux-generic/odp_schedule_scalable.c +++ b/platform/linux-generic/odp_schedule_scalable.c @@ -87,7 +87,7 @@ ODP_STATIC_ASSERT(CHECK_IS_POWER2(ODP_CONFIG_QUEUES), static sched_group_mask_t sg_free; static sched_group_t *sg_vec[MAX_SCHED_GROUP]; /* Group lock for MT-safe APIs */ -odp_spinlock_t sched_grp_lock; +static odp_spinlock_t sched_grp_lock; #define SCHED_GROUP_JOIN 0 #define SCHED_GROUP_LEAVE 1 From patchwork Tue Aug 15 05:00:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110085 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5229747qge; Mon, 14 Aug 2017 22:07:33 -0700 (PDT) X-Received: by 10.233.237.2 with SMTP id c2mr4604076qkg.107.1502773653075; Mon, 14 Aug 2017 22:07:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502773653; cv=none; d=google.com; s=arc-20160816; b=K0ci1Aw0dTbhj29ET3VhSiGGI3LD9dX3vK6Z/BcvMPSmAq7kHmoeK1QHluBr+F1Fgv G53LCJYVruGsUKMSRppMHsLzjj7sm4x/zULAGrV5OHCJRLhEpcIZV5nWYzF43GOgE25b v377nMcED3uOOA7RBrB3KusSb+DmGbHLUN+s6p5v3v3qXmPG0BI3hLMVpePtp0OfoLuH 83xuA5e8e4SdsE7z7ocI8Y68PJ8BWdPN9XhMWIj/rY3ejuSTYHjzHlxkBO6Rs8f6ztjJ N0dQLUnmdxgquiRMjO0yPCXiSO5tgVWj1BQyPs0o8D6+1dMgPPRSpFXxiPxCbWCMlT08 cfXg== 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:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=+YrU8ephdJsESCgBOlsiMmJHwKM7QdM4mIWgQuF5oXM=; b=YgK7kwOg8PLGpoabcJmsCD5mQJQoV5vQINOZ4QAd6QynKQ6LQP+lZTyLXKRzCg9wUf DGPksVraNB1Z4zdCrscXuCD2kjE++5FSTcKY/hZPar/g04sjvE9wDEcABynxQqJgYl2V qHE9PNc+PXCW5cPBBOIoOmXY0vxJXm60FCBoz3bMHDDz3Q307yphgErrKPr9BWw27ANL TgFq6NG7m6zrmt1hh+RVBmKbDNWN/9bbAgdla13nMUBnfDfPy0I+QDbPkxzOnNTVCP+/ U16HB1e96StWFD7TiIes3NYcFaDtPHflMd5vgsl1aVwByCB0x3N0pVW/i/IjFkWFNfNu 0tCw== 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id u1si8102290qkd.201.2017.08.14.22.07.32; Mon, 14 Aug 2017 22:07:33 -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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id C0CFD65BD1; Tue, 15 Aug 2017 05:07:32 +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=BAYES_00,FREEMAIL_FROM, 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 9604665BCB; Tue, 15 Aug 2017 05:01:50 +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 C218165C04; Tue, 15 Aug 2017 05:01:46 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id B408A65BCB for ; Tue, 15 Aug 2017 05:00:36 +0000 (UTC) Received: from mxback15g.mail.yandex.net (mxback15g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:94]) by forward105j.mail.yandex.net (Yandex) with ESMTP id A7A90183A31 for ; Tue, 15 Aug 2017 08:00:35 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback15g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id OwiCaGZZl1-0ZVirXgq; Tue, 15 Aug 2017 08:00:35 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id uAoPgDfmtd-0Z8ienJJ; Tue, 15 Aug 2017 08:00:35 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 08:00:16 +0300 Message-Id: <1502773216-31620-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502773216-31620-1-git-send-email-odpbot@yandex.ru> References: <1502773216-31620-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 108 Subject: [lng-odp] [PATCH API-NEXT v4 4/4] linux-gen: scalable queue: mark queue_shm_pool as static 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" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 108 (lumag:symbols-cleanup) ** https://github.com/Linaro/odp/pull/108 ** Patch: https://github.com/Linaro/odp/pull/108.patch ** Base sha: 3547226b19e6982bf74fc8c258b89db2c5f6a39c ** Merge commit sha: 96b4b72d57a270b2b7ac6609852c867ee2de5a1b **/ platform/linux-generic/odp_queue_scalable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/odp_queue_scalable.c b/platform/linux-generic/odp_queue_scalable.c index 503b40f5..79148060 100644 --- a/platform/linux-generic/odp_queue_scalable.c +++ b/platform/linux-generic/odp_queue_scalable.c @@ -49,7 +49,7 @@ typedef struct queue_table_t { } queue_table_t; static queue_table_t *queue_tbl; -_odp_ishm_pool_t *queue_shm_pool; +static _odp_ishm_pool_t *queue_shm_pool; static inline odp_queue_t queue_from_id(uint32_t queue_id) {