From patchwork Wed May 31 14:40:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bogdan Pricope X-Patchwork-Id: 100790 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp356421qge; Wed, 31 May 2017 07:41:48 -0700 (PDT) X-Received: by 10.55.120.199 with SMTP id t190mr27880585qkc.235.1496241708849; Wed, 31 May 2017 07:41:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496241708; cv=none; d=google.com; s=arc-20160816; b=wPrAl1V/h2yBsoReevOk8avU6A9JkS7wZoyXtRnf8Ccmue0dt2AI8SotW1SbPea5E4 7xmOMdnExZ5+QtJhA1aGyEoSc5KMua7EIM0RkMVYHoSOp6qmjfrY9xiwCvIvgyPFFvnK iF/2PY1jDuY2Li/omoAxesl3qmqdrZZz7esn4IHnlbBblKOrDeV7N5KUeqPHYkl1FbkL ey5e8+soZJoUoFjLShNMMNaa9nHqK0ddaqcGujkhmSHHizvZ3c8e2I8USH1kyowwVZCu 24pb4s09op5zHRZmXj8vkNsBhKb9Z1JQGmFV3DIqHeqL2MZzpI9iwnsi1mwx8yfe2XmD qaaQ== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=N3yETDjnVb9ONUOlR+yu6G8DQehEmTUfjgSXKfjPQAw=; b=00AC4aQkdXNiWcJbG99fL4HIo0X0EFc8IhuN3oNQmSoMeiimHx0vsioZusq0XurHrL 6+EH7oE4DyiVpCbztjoZeEkQP+zDL2L2QirDYJqC+j6WOQF7oqj7jqnTDW6VFo7gOhxp ltmqnFAffZl9i0cViwqZd74VzUFL5rUwEt2Awlw7EIXdbnCv5AjyPxu8TGRQCjD9+Fd6 c0O5vIywPPD3o3GjAIt4QW6QipBtDQCM2xC7hhwd2Tzj8Sp1v2yYBEBAjXpRQ6IvinVx gbzkniFCAzoVh1zeLHDJBMo+vH4sjt8xs+weYTvcji5br32wrb4a36sA8OLoYmo7GIz8 mOjw== 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 c50si16418445qtc.249.2017.05.31.07.41.48; Wed, 31 May 2017 07:41:48 -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 89BE0606A6; Wed, 31 May 2017 14:41:48 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 2F56860729; Wed, 31 May 2017 14:41: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 1A15260690; Wed, 31 May 2017 14:41:16 +0000 (UTC) Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by lists.linaro.org (Postfix) with ESMTPS id 51CB760694 for ; Wed, 31 May 2017 14:41:11 +0000 (UTC) Received: by mail-wm0-f49.google.com with SMTP id d127so22358789wmf.0 for ; Wed, 31 May 2017 07:41:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=N3yETDjnVb9ONUOlR+yu6G8DQehEmTUfjgSXKfjPQAw=; b=nlypzlc7BBTO8NJLRtwgQlBRfLrKeQyhKMKdspt/GwHkiGb8owSwfluzAG64UbGUbj WU9e68urIseH9sBcZJgvxOOwj9P+RWgFdtW0lCz6IhZLT1TZ5duH4N1T2HwpZPRPHy/t 0PnuK7NwqF9MgdOOBnY5QK6o28Qn+mAiFVN0Jpgu37Pk0FE7wbT4HgHZLoDJ6PagQuFf pIACYGQfmp+ddDDvfTVOh743QZ5LPfUUo6VurqTswVedeMiL17VSu+VeSBcs0ZSzDuUv XXYG6w775+PVGF1BWlX2ESPrJqR17J79k6vdAQ96CSM0FbUJohexb1Kwf96nonUusGMI eyOA== X-Gm-Message-State: AODbwcBq1hcNrenORIYvumx1XQa0SZwSPrTCD0VhcTEPDP3b2vRp6C+f dcbG1MZZ9lURxxHSbYOvBRVp X-Received: by 10.28.84.67 with SMTP id p3mr5759800wmi.40.1496241668615; Wed, 31 May 2017 07:41:08 -0700 (PDT) Received: from netbricks-team.enea.se ([193.202.22.66]) by smtp.gmail.com with ESMTPSA id e23sm22483032wre.54.2017.05.31.07.41.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 May 2017 07:41:08 -0700 (PDT) From: Bogdan Pricope To: lng-odp@lists.linaro.org Date: Wed, 31 May 2017 17:40:55 +0300 Message-Id: <1496241660-27492-2-git-send-email-bogdan.pricope@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1496241660-27492-1-git-send-email-bogdan.pricope@linaro.org> References: <1496241660-27492-1-git-send-email-bogdan.pricope@linaro.org> Subject: [lng-odp] [PATCH 1/6] 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" Signed-off-by: Bogdan Pricope --- platform/linux-generic/odp_packet_io.c | 2 ++ 1 file changed, 2 insertions(+) -- 1.9.1 diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c index 50a000e..dc24ee9 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)