From patchwork Tue Aug 8 15:00:11 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: 109666 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp3063843qge; Tue, 8 Aug 2017 08:02:24 -0700 (PDT) X-Received: by 10.55.165.9 with SMTP id o9mr6076080qke.346.1502204544286; Tue, 08 Aug 2017 08:02:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502204544; cv=none; d=google.com; s=arc-20160816; b=SUKKvpK82PrdsLRs0Leyd2V8rBg9eyXKc2coIJ9leD90EJ8dECNWnINJ/2jQow6HKD 6bJbAZQmWL2xmvmFT5nFm/QPckK3jXptjlQIanKQpoXgQEoNqtJJ/oacHsUP+su0Fft0 7YtFJZnNXjU1lfVINPNILEoV6n/l531e3zvpNAvTyCyNVKougf/nAW9nT7BJjfdCKBXY J8Kmdst3j6GjwtK2i4c+cMbgXPZnIFUbF2/D6t4pa68IB3+rxlFwEZ+mzCqJIcQFXv3C v5lclRHqKEMQrGvQKlpjvu6ImlMM1+wtc3p2y2VMq0H4F2spWTdGeKBIBmlOLLzeELKh SIUQ== 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=oxXmQ+BSqc29n+Ak7CGNeVQiQM/UOhYktijzxtXx0Wk=; b=PFD4IosvX9o0nsnnPWVQufDpUO4X4WrMmSp9MFxAPzmQtbnc2z3lWXugOQLookykBz NxGTC9kJJGm06AYxtrzKYCNN5RxSp+rdZtaRDkZrpTiZWoZCgEzSBUlgjmPNPeyNLOdC LvoDbQy2rzIAzMgVcfx+EXUiXHhTqPbgs/+sqh3VP/7fTin32yvqEa+4zd6anUnJjOkr 0bFpVRJrcBAjTtGwf3m2hTfDHoAp9iVDf+TeXqZcMR1o8AoyDADREd/z4SR7tw8pIU3Y 2V5TPDkP7yAhi9lOpESGLynvVbX7GFGYxcjkKEaIkkWaSLrM32OMhP6FvLD+YD5VbXW/ 1yTg== 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 v126si1208600qkc.268.2017.08.08.08.02.23; Tue, 08 Aug 2017 08:02:24 -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 A7DDE60CD7; Tue, 8 Aug 2017 15:02:23 +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.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,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 7837160BF4; Tue, 8 Aug 2017 15:01:12 +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 5016560C5E; Tue, 8 Aug 2017 15:01:07 +0000 (UTC) Received: from forward18o.cmail.yandex.net (forward18o.cmail.yandex.net [37.9.109.216]) by lists.linaro.org (Postfix) with ESMTPS id CE08260BF7 for ; Tue, 8 Aug 2017 15:00:31 +0000 (UTC) Received: from mxback9j.mail.yandex.net (mxback9j.mail.yandex.net [IPv6:2a02:6b8:0:1619::112]) by forward18o.cmail.yandex.net (Yandex) with ESMTP id 4A2602421C for ; Tue, 8 Aug 2017 18:00:30 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback9j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id HcIPCjGFKr-0UgOTENY; Tue, 08 Aug 2017 18:00:30 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id xzJc556BXh-0T1OQQFq; Tue, 08 Aug 2017 18:00:29 +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, 8 Aug 2017 18:00:11 +0300 Message-Id: <1502204414-3697-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502204414-3697-1-git-send-email-odpbot@yandex.ru> References: <1502204414-3697-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 108 Subject: [lng-odp] [PATCH API-NEXT v2 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: e420668cd3886f003c8bd6022e210bf08a0ee3b5 ** Merge commit sha: 3c45ed0f11246bba34da1ea38de6e2ffc9435299 **/ platform/linux-generic/include/odp_classification_internal.h | 7 ------- platform/linux-generic/odp_classification.c | 8 ++++++++ 2 files changed, 8 insertions(+), 7 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..8f16c8ef 100644 --- a/platform/linux-generic/odp_classification.c +++ b/platform/linux-generic/odp_classification.c @@ -33,6 +33,7 @@ static cos_tbl_t *cos_tbl; static pmr_tbl_t *pmr_tbl; static _cls_queue_grp_tbl_t *queue_grp_tbl; +static const rss_key default_rss = { .u8 = { 0x6d, 0x5a, 0x56, 0xda, 0x25, 0x5b, 0x0e, 0xc2, @@ -191,6 +192,7 @@ int odp_cls_capability(odp_cls_capability_t *capability) return 0; } +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 || @@ -934,6 +936,11 @@ 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,6 +996,7 @@ int cls_classify_packet(pktio_entry_t *entry, const uint8_t *base, return 0; } +static uint32_t packet_rss_hash(odp_packet_hdr_t *pkt_hdr, odp_cls_hash_proto_t hash_proto, const uint8_t *base) From patchwork Tue Aug 8 15:00:12 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: 109668 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp3066612qge; Tue, 8 Aug 2017 08:04:08 -0700 (PDT) X-Received: by 10.200.1.204 with SMTP id b12mr5798127qtg.2.1502204648753; Tue, 08 Aug 2017 08:04:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502204648; cv=none; d=google.com; s=arc-20160816; b=PycdhG42Pa/eZRHnm2CLN70p25fzm+/M8G7X93lSH/BPsM1CE/k1ATSpcvpM/BdyTu TSTW3fUwlsKo9LD7NqdW3QylHN5m43wpm5Ue4noAk+s55IAd1YV6ahvVTkOSD3skkZLQ 2LGtVowLZEOQblgkWbkeGswkapKWPTom1c6NhAuWyEkU9hKm5tq8H8ZmkR5fm+cUkzb4 7vfqXjJHpOOqijI8ckcQOe7RLETlrzwWiMtAsSU/tLlfj/E31jdcmYdi4mxPSwKuOQxT gGoNSLbV+VCMYIBIRMBzDEHGn33xMlAebUBy02LPWZoWA/2CcGGeup7XpUWqqFtARq8A /8pQ== 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=QPLZGNN1fAnakRcns01ix3L8Uz9YzATpw8PE+lC/rc8=; b=bgwtBosXv0MfG29VnsMCGwBABiOl0m4F8rjwGc0ArKosqPHQVFCecSgn5o07SJOm3j fgVmKmcmntuIjrQBsSWUEkeyvPGB/B+YvFZtXVoMwTRlHKUyeHgL6zcCDr+AX47bscIh 98BLly8UPt1dd//XTwXvyMIpBPX2fUCbU//VOZq9/Viie0eWYih+xIXFw+i44AofiV8Q ZyzQP8VENI8sCiEJNN/knrt0y0o1KtKlSvs2/kgFsHV1+rhA/H5NheXLXUi8GrtxP6hC IcOhwZ3A7sEwKod/oczO4XZGY3hTbx1togSAlTTRdHgwUn4nDVGbXAYnF1qmwiWjPK7p hmQQ== 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 v79si1226294qkb.341.2017.08.08.08.04.08; Tue, 08 Aug 2017 08:04:08 -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 5C19460CE4; Tue, 8 Aug 2017 15:04:08 +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, RCVD_IN_DNSWL_NONE,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 B41CF60880; Tue, 8 Aug 2017 15:01:43 +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 AB46960BED; Tue, 8 Aug 2017 15:01:33 +0000 (UTC) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [77.88.28.101]) by lists.linaro.org (Postfix) with ESMTPS id 62D6960BFA for ; Tue, 8 Aug 2017 15:00:32 +0000 (UTC) Received: from mxback1g.mail.yandex.net (mxback1g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:162]) by forward101p.mail.yandex.net (Yandex) with ESMTP id D50EF6A82F4C for ; Tue, 8 Aug 2017 18:00:30 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback1g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id CDmdV2suxd-0UbqpNOi; Tue, 08 Aug 2017 18:00:30 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id xzJc556BXh-0U10qUuJ; Tue, 08 Aug 2017 18:00:30 +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, 8 Aug 2017 18:00:12 +0300 Message-Id: <1502204414-3697-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502204414-3697-1-git-send-email-odpbot@yandex.ru> References: <1502204414-3697-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 108 Subject: [lng-odp] [PATCH API-NEXT v2 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: e420668cd3886f003c8bd6022e210bf08a0ee3b5 ** Merge commit sha: 3c45ed0f11246bba34da1ea38de6e2ffc9435299 **/ platform/linux-generic/include/odp_schedule_scalable_ordered.h | 9 --------- platform/linux-generic/odp_schedule_scalable_ordered.c | 5 +++++ 2 files changed, 5 insertions(+), 9 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..59f64582 100644 --- a/platform/linux-generic/odp_schedule_scalable_ordered.c +++ b/platform/linux-generic/odp_schedule_scalable_ordered.c @@ -71,6 +71,7 @@ bool rwin_reserve(reorder_window_t *rwin, uint32_t *sn) return true; } +static void rwin_insert(reorder_window_t *rwin, reorder_context_t *rctx, uint32_t sn, @@ -172,6 +173,7 @@ void rctx_init(reorder_context_t *rctx, uint16_t idx, rctx->numevts = 0; } +static inline void rctx_free(const reorder_context_t *rctx) { const reorder_context_t *const base = &rctx[-(int)rctx->idx]; @@ -206,6 +208,7 @@ inline void rctx_free(const reorder_context_t *rctx) } } +static inline void olock_unlock(const reorder_context_t *rctx, reorder_window_t *rwin, uint32_t lock_index) { @@ -215,6 +218,7 @@ inline void olock_unlock(const reorder_context_t *rctx, reorder_window_t *rwin, } } +static void olock_release(const reorder_context_t *rctx) { reorder_window_t *rwin; @@ -246,6 +250,7 @@ static void blocking_enqueue(queue_entry_t *q, odp_buffer_hdr_t **evts, int num) } } +static void rctx_retire(reorder_context_t *first) { reorder_context_t *rctx; From patchwork Tue Aug 8 15: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: 109667 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp3065745qge; Tue, 8 Aug 2017 08:03:35 -0700 (PDT) X-Received: by 10.55.164.7 with SMTP id n7mr5476189qke.343.1502204615207; Tue, 08 Aug 2017 08:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502204615; cv=none; d=google.com; s=arc-20160816; b=W97zmOhMAELx2dNIrHoxVLduhQ3ApoOy6OhMJUNY4be6Cyw8/c32rJ+jypS7/mMTRH Ll9QMQ7B9d8/jO62evZ1Tzj6c5AVyApP6ur424AEWA0PoCQjbnIwYiwKW2S4i6yV81dl +YLbY/A8qja7gP9r1xv3amCX4P5mVgzNP2NBOwsPJdHIhIchiFlv5MuWtvDAWU9ZwTOJ vYhXWrydZAUwnu6luDbsNJpSEf5FCO2GfAyuwZ53l90i/82wWKMD7HzqwLWUUaSD2ou6 N5fp7+iRqhqklya+PLbWMydbia0sueT0OBr4m6SyODh1Kgr4cBOpWeMkipgrKgGVWKDa H3lQ== 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=qtUOKNSfsaE+iKlZzjqmsAFxdjJeT3pUzgozTS0UaZ8=; b=D0gM0JZ1b3EB4Grnj58H4es7YzLF3Pmt3tNcBzEcP+wY1iKv1tLwjHAgOUbvxt56lQ 7SWnkf81RXwqpUf8FbtT0yH4k5mPT+KrI5KH9FMGHTWtIAzaMVzh6gs83xf6SJzoIbMr J1cARM5uMNO5El93uXcb1UdEu8AME36QCMRCWMHpQ01t1ouOIBu/SOhy8Fnq6Er3j1PJ y1mLnLyxGwYoo4JKL5SZbkPUaIF53Y4KaKsiE8iNzSXGFggCBkM6hLgtGl2qw6Mk27QY cJuHuQc609nZhSJjRndBWjA0aVIsFrthIdAisl+BVxDqYZW2yfu52OrzR3oO8O6ctfi6 Rc9g== 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 v68si1258909qkd.300.2017.08.08.08.03.34; Tue, 08 Aug 2017 08:03:35 -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 B232960CE5; Tue, 8 Aug 2017 15:03: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.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,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 3242A60BFA; Tue, 8 Aug 2017 15:01:35 +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 925B261235; Tue, 8 Aug 2017 15:01:31 +0000 (UTC) Received: from forward11o.cmail.yandex.net (forward11o.cmail.yandex.net [37.9.109.178]) by lists.linaro.org (Postfix) with ESMTPS id EDF2E60C09 for ; Tue, 8 Aug 2017 15:00:32 +0000 (UTC) Received: from mxback12j.mail.yandex.net (mxback12j.mail.yandex.net [IPv6:2a02:6b8:0:1619::87]) by forward11o.cmail.yandex.net (Yandex) with ESMTP id 706582155E for ; Tue, 8 Aug 2017 18:00:31 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback12j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id F0hQUr1bPT-0Vae6fKT; Tue, 08 Aug 2017 18:00:31 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id xzJc556BXh-0U1OHNGL; Tue, 08 Aug 2017 18:00:30 +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, 8 Aug 2017 18:00:13 +0300 Message-Id: <1502204414-3697-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502204414-3697-1-git-send-email-odpbot@yandex.ru> References: <1502204414-3697-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 108 Subject: [lng-odp] [PATCH API-NEXT v2 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: e420668cd3886f003c8bd6022e210bf08a0ee3b5 ** Merge commit sha: 3c45ed0f11246bba34da1ea38de6e2ffc9435299 **/ 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 8 15: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: 109669 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp3067529qge; Tue, 8 Aug 2017 08:04:40 -0700 (PDT) X-Received: by 10.237.41.135 with SMTP id o7mr6487366qtd.75.1502204680687; Tue, 08 Aug 2017 08:04:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502204680; cv=none; d=google.com; s=arc-20160816; b=CVlxwYfvuzW3Li8oH7/FLA5oE6R7p9V7fuRxo4wrGxrZMt2scsOQQ8SFdruRB6j0VC c2zz1ayYiQ4iBWsw7/FERW65nqKyDjQ8gsBkScMS7Hag0SkTPsiEI3YiNOtyxyWcjMf3 XpG6clq9qveW2Slfht7I9YTVhV88DS9v3Up85PZUhDgPO5fyOYPXNLzRKyloVixc1/qi D4g9W5+HN2gs5Jh5/61TKpBq9INzL9j9qPJHuqyCJptHv8hIB5lmvcmvDnFDGbqoKoTZ 4eN3vwFRAI5mEoA105gpcD+MfHdWMn1Mxu7X1QmnI19LrihLgFLjXboAnXMvLp9wuhU7 YKhg== 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=jmS2X7i3EmnX8wb69MqeXprkZr+r/UeiLofkraPqPxw=; b=vsl9UsVEz8lNOo1lwXcxWOyylT71PLO80s35vjCTmBXhB3lejakKFnzFMPd0ubE1K1 AYVlq69VEqxh41xL4j7gbq+Q6pII36RSZugtYcMPkXEy5QlG4HxbgEa2dUyGaSO1D6LX +TOm0VXmKwVAPi1oCtkpxO9forcGBBAQW38haxc2zf2eKEJBCPRCHZ387GhS3mvY63KQ JuFMvS6+9+y0NS/pGrdVOF0gm9I0GKKlrahVAexN9eOEICHWJVd5UOAM2q6CvtkpEBHj wFswn/KJhZ+7G0094qleou55DC4MC16iUFzkb9HGLBZ3tGdSdj9Ar96n3IDUK8Wi4F+H qlzA== 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 l28si1222401qtb.170.2017.08.08.08.04.40; Tue, 08 Aug 2017 08:04:40 -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 5B63F60C5E; Tue, 8 Aug 2017 15:04:40 +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.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,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 0ED4860A57; Tue, 8 Aug 2017 15:01:45 +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 3962C61056; Tue, 8 Aug 2017 15:01:38 +0000 (UTC) Received: from forward17o.cmail.yandex.net (forward17o.cmail.yandex.net [37.9.109.214]) by lists.linaro.org (Postfix) with ESMTPS id 4B17D60C0B for ; Tue, 8 Aug 2017 15:00:34 +0000 (UTC) Received: from mxback9o.mail.yandex.net (mxback9o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::23]) by forward17o.cmail.yandex.net (Yandex) with ESMTP id E479521627 for ; Tue, 8 Aug 2017 18:00:31 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback9o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id UDY951Teso-0VMifYog; Tue, 08 Aug 2017 18:00:31 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id xzJc556BXh-0V10wk6j; Tue, 08 Aug 2017 18:00:31 +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, 8 Aug 2017 18:00:14 +0300 Message-Id: <1502204414-3697-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502204414-3697-1-git-send-email-odpbot@yandex.ru> References: <1502204414-3697-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 108 Subject: [lng-odp] [PATCH API-NEXT v2 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: e420668cd3886f003c8bd6022e210bf08a0ee3b5 ** Merge commit sha: 3c45ed0f11246bba34da1ea38de6e2ffc9435299 **/ 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) {