From patchwork Wed Aug 16 08:00:03 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: 110207 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp458271qge; Wed, 16 Aug 2017 01:01:55 -0700 (PDT) X-Received: by 10.237.58.131 with SMTP id o3mr1217402qte.229.1502870515761; Wed, 16 Aug 2017 01:01:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502870515; cv=none; d=google.com; s=arc-20160816; b=UWkMJf4ElvwNJ2qL7jV8zx1/mS+7hR98GzfC6XtOAQQAYSF7r4MXMGZ2A5YgxSnUz7 W68BfvzwY0QAo4arvRih0kvX2nuch+R6vft76oaEcK8BkMBpXtwN92+TOjx+AriXmmex 3T3dg77gS8+0ZWHcnXdWcpaDHfu456UmJSfpyPe1yQiotZpPNoz+/TICd8zWqGERtzY+ F4MBbQoenO0+Ce1D0nXagTgG1JMVty9PJWiBUfeUCn0o5Giz5GDa+K+or99JQaKsbPnG zH/VViYLA7UbtAfWLFOh5xergcyrfV8ttoHnR4HTHbwBgZWwgxpXx37BhR9WP7BavURd 9tCQ== 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=Kw1s5pfsguFY3Djy0+sndyaSyAVnUKL729mhqdDCFPs=; b=MxMlrzk/QELSo6b/gG/qtfr9q5Da3RVT4ImRH1szzipufvicCSG6ESIJlpdHFlnt4Z KZgcyI+sMtSEQWRsF7vtGPCPEroFj5wtH9cka4Qqv3rwHG8mNjY3/8qvto0HUAQ3V5Bi iF8NIgcU8vCxB3qIo40qZCHZ9HY+DnGT1rwmFanPKgIuLzS9Q5KmUdB6Lq8NSwpcXOcC bsmIMsD/r1f2N6eR1dqTG28uFCg/0WiJ3v/bfdhVQjeBCRtovfxYzMPPwNVN0hotsq3Z PjDnvixsK18hfkqxbVJTlfsKFLhCWkqXLK4w831kOATfwYMlknG+Qqfw1LvOuLznai/z 78IQ== 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 x14si310123qta.122.2017.08.16.01.01.55; Wed, 16 Aug 2017 01:01: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 64F96644DC; Wed, 16 Aug 2017 08:01: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 E0F8F636AA; Wed, 16 Aug 2017 08:01:01 +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 18066644AA; Wed, 16 Aug 2017 08:00:44 +0000 (UTC) Received: from forward106o.mail.yandex.net (forward106o.mail.yandex.net [37.140.190.187]) by lists.linaro.org (Postfix) with ESMTPS id 29913644B1 for ; Wed, 16 Aug 2017 08:00:34 +0000 (UTC) Received: from mxback19j.mail.yandex.net (mxback19j.mail.yandex.net [IPv6:2a02:6b8:0:1619::95]) by forward106o.mail.yandex.net (Yandex) with ESMTP id 864DA781F8D for ; Wed, 16 Aug 2017 11:00:32 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback19j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id EyV1Z9P3e1-0WnWmh40; Wed, 16 Aug 2017 11:00:32 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id lI5XI3wvqw-0V1i9uWF; Wed, 16 Aug 2017 11: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: Wed, 16 Aug 2017 11:00:03 +0300 Message-Id: <1502870408-2658-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502870408-2658-1-git-send-email-odpbot@yandex.ru> References: <1502870408-2658-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 124 Subject: [lng-odp] [PATCH v2 1/6] linux-gen: pktio: initialize pktio configuration structure 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: Bogdan Pricope Signed-off-by: Bogdan Pricope --- /** Email created from pull request 124 (bogdanPricope:dpdk_hw_csum_pr) ** https://github.com/Linaro/odp/pull/124 ** Patch: https://github.com/Linaro/odp/pull/124.patch ** Base sha: 90d4ce1b3b25ca18446131906007571cc0ed0191 ** Merge commit sha: 223e557905dfa62704233e593e0a052a44fb3b4e **/ platform/linux-generic/odp_packet_io.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c index 9419adf6..70a488cc 100644 --- a/platform/linux-generic/odp_packet_io.c +++ b/platform/linux-generic/odp_packet_io.c @@ -150,6 +150,8 @@ static void init_pktio_entry(pktio_entry_t *entry) init_out_queues(entry); pktio_classifier_init(entry); + + odp_pktio_config_init(&entry->s.config); } static odp_pktio_t alloc_lock_pktio_entry(void)