From patchwork Fri Aug 4 09:00:00 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: 109379 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp1883821qge; Fri, 4 Aug 2017 02:06:06 -0700 (PDT) X-Received: by 10.200.43.177 with SMTP id m46mr2027210qtm.189.1501837566536; Fri, 04 Aug 2017 02:06:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501837566; cv=none; d=google.com; s=arc-20160816; b=xgCM+I86Fm0UpbplsrBdN+ux/nUJyyIci8QjN9KzYVXhB/f5GyO3xXzKp5vppdOV25 sdbJX4h8rE+WHmkCH4FgFPQvpIJVlt/xp+nK8vEYhc6UGDflw8XwBNJhfY4JcOTfmdrP Y1yLwhf6H/OMwmFi3BRCGF+QWv/k+qfJ44JOm384/JOYnz2NfGWd+HJWZy4oPkQsWhV5 YX0rBgm2gSOFXmoGwg+VgJG/IXHdmRtcBSJIqyQxmiCRx7WR8INymuSYH71ALuwQRkdI byn5+8q1pGZlL+F1eHeAjbJC2SkCi+e8d0QtDJY7Eu3Cii5hkNmV+9nrfXhJJ5FCLY9X gYIQ== 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=ZGTBQ5RRcMGy0tKvPLWzsBa1WIjqbwhQv6Tyz9+SURY=; b=I4ZdpaynhX4jA8GyqoWawnhWQIdAWqfdI8a7e1TsAzk0s83qFLW6xBBkSx5w/WHAwr QsWrs7SozO9H2tEziKUL0BRWAoje2b/V7Zl5Bdgq1SW871+113Zxa0ZdakW5BaBZSE03 ZM5h3L+8J65mNWY2qZewjzwsn1ZYG9wiIBs1qRjt7zI+ilS2gyEutFFDRs1WC3v9taPj bH78xxN1KTrPhAPX5tnnSrM+hgHBkIwjUR0gxy7xYoeGifA9u7m79f4WitwZePUi66FV cywPTp3mjiW9UPMxqM/5ItVv7YcDcLNeDj4hjmEr53Fq3T9TaVlLkVzon9UQxTwCWnvX SkIA== 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 p3si1145857qti.346.2017.08.04.02.06.06; Fri, 04 Aug 2017 02:06:06 -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 150AB60D6C; Fri, 4 Aug 2017 09:06:06 +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 741AA644E2; Fri, 4 Aug 2017 09:02:23 +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 39BFE644D8; Fri, 4 Aug 2017 09:02:18 +0000 (UTC) Received: from forward4o.cmail.yandex.net (forward4o.cmail.yandex.net [37.9.109.248]) by lists.linaro.org (Postfix) with ESMTPS id 0DAB760D79 for ; Fri, 4 Aug 2017 09:00:45 +0000 (UTC) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [37.140.190.26]) by forward4o.cmail.yandex.net (Yandex) with ESMTP id 0618520E5E for ; Fri, 4 Aug 2017 12:00:44 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id 477611300E0A for ; Fri, 4 Aug 2017 12:00:28 +0300 (MSK) Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id kkQJPUXR1g-0RGedHJg; Fri, 04 Aug 2017 12:00:27 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Fri, 4 Aug 2017 12:00:00 +0300 Message-Id: <1501837208-7450-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501837208-7450-1-git-send-email-odpbot@yandex.ru> References: <1501837208-7450-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 108 Subject: [lng-odp] [PATCH API-NEXT v1 5/13] linux-gen: scheduler: drop unused callback 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: 8390f890d4bd2babb63a24f7b15d2f4763e44050 ** Merge commit sha: 44fd671a0d2772a32395c7f0574aa545d2a9aa71 **/ platform/linux-generic/include/odp_schedule_if.h | 1 - platform/linux-generic/odp_packet_io.c | 5 ----- 2 files changed, 6 deletions(-) diff --git a/platform/linux-generic/include/odp_schedule_if.h b/platform/linux-generic/include/odp_schedule_if.h index b514c88a..657993b1 100644 --- a/platform/linux-generic/include/odp_schedule_if.h +++ b/platform/linux-generic/include/odp_schedule_if.h @@ -67,7 +67,6 @@ extern const schedule_fn_t *sched_fn; /* Interface for the scheduler */ int sched_cb_pktin_poll(int pktio_index, int num_queue, int index[]); void sched_cb_pktio_stop_finalize(int pktio_index); -int sched_cb_num_pktio(void); odp_queue_t sched_cb_queue_handle(uint32_t queue_index); void sched_cb_queue_destroy_finalize(uint32_t queue_index); int sched_cb_queue_deq_multi(uint32_t queue_index, odp_event_t ev[], int num); diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c index 94075567..709f9c23 100644 --- a/platform/linux-generic/odp_packet_io.c +++ b/platform/linux-generic/odp_packet_io.c @@ -727,11 +727,6 @@ void sched_cb_pktio_stop_finalize(int pktio_index) unlock_entry(entry); } -int sched_cb_num_pktio(void) -{ - return ODP_CONFIG_PKTIO_ENTRIES; -} - uint32_t odp_pktio_mtu(odp_pktio_t hdl) { pktio_entry_t *entry;