From patchwork Fri Apr 10 15:52:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 47059 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 190CB21416 for ; Fri, 10 Apr 2015 15:55:38 +0000 (UTC) Received: by wgtl5 with SMTP id l5sf5317118wgt.1 for ; Fri, 10 Apr 2015 08:55:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=VI1yVdzLDNN6dClknTwl5kXFTcb5AMXhzBQTr3PqJbc=; b=aCK0uO58FW9OKDUY1yKdaN23e95leUfgFqgIym74riW5iWfG0m7GR7eK/khzkR31yV XcGYTmoT4+GL8XL8j8YVXx1vq5TZTc82a2shLDD7u38BMrndwYGKIxQ1ogPjrhkJrq4k kX1t4k2826W9Wo0K+GF2tIVibd1u6sxKwQwQocNhbYTcnsRrD/3lUbveq2nwI3/qGffV IwrbUJXI/Jw/DMZC100N9FBS0Uj0L6qqnBkD7y+tWC7tHz6ApUessi6uP0+NdEvfLiJO FKrkyCx7bGtCpF2ZEQwMIloSU6VgG0VL9IA/tWesrmJK5V6dpjLRRjXq5F+geJZc+UKb revg== X-Gm-Message-State: ALoCoQloX2jmq70RUmSLbajOlw/NW5/Tgf7XlWUCPLBlNPjCZw97c5Wz+PAyVk2SBSL0wY1sGK6p X-Received: by 10.112.142.1 with SMTP id rs1mr439542lbb.19.1428681337288; Fri, 10 Apr 2015 08:55:37 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.164.230 with SMTP id yt6ls489458lab.39.gmail; Fri, 10 Apr 2015 08:55:37 -0700 (PDT) X-Received: by 10.152.121.72 with SMTP id li8mr1949698lab.11.1428681337011; Fri, 10 Apr 2015 08:55:37 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id di8si1790721lac.62.2015.04.10.08.55.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Apr 2015 08:55:36 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by lbcga7 with SMTP id ga7so16930006lbc.1 for ; Fri, 10 Apr 2015 08:55:36 -0700 (PDT) X-Received: by 10.152.28.5 with SMTP id x5mr1996363lag.112.1428681336519; Fri, 10 Apr 2015 08:55:36 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp1190053lbt; Fri, 10 Apr 2015 08:55:35 -0700 (PDT) X-Received: by 10.140.89.149 with SMTP id v21mr2491713qgd.50.1428681335295; Fri, 10 Apr 2015 08:55:35 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id p78si2177359qkp.60.2015.04.10.08.55.33; Fri, 10 Apr 2015 08:55: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; Received: by lists.linaro.org (Postfix, from userid 109) id 2FBCF650FA; Fri, 10 Apr 2015 15:55:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 2ED4D65102; Fri, 10 Apr 2015 15:53: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 CC677650F4; Fri, 10 Apr 2015 15:53:28 +0000 (UTC) Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by lists.linaro.org (Postfix) with ESMTPS id 47977650FA for ; Fri, 10 Apr 2015 15:52:31 +0000 (UTC) Received: by obbfy7 with SMTP id fy7so20292796obb.2 for ; Fri, 10 Apr 2015 08:52:30 -0700 (PDT) X-Received: by 10.182.72.169 with SMTP id e9mr2749006obv.23.1428681149345; Fri, 10 Apr 2015 08:52:29 -0700 (PDT) Received: from localhost.localdomain (cpe-24-28-70-239.austin.res.rr.com. [24.28.70.239]) by mx.google.com with ESMTPSA id ke9sm1895845obb.9.2015.04.10.08.52.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Apr 2015 08:52:28 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Fri, 10 Apr 2015 10:52:15 -0500 Message-Id: <1428681138-24954-4-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1428681138-24954-1-git-send-email-bill.fischofer@linaro.org> References: <1428681138-24954-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv4 3/6] linux-generic: buffer: restructure user mdatadata fields X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: bill.fischofer@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Bill Fischofer --- platform/linux-generic/include/odp_buffer_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/linux-generic/include/odp_buffer_internal.h b/platform/linux-generic/include/odp_buffer_internal.h index 3a3d2a2..ee965bb 100644 --- a/platform/linux-generic/include/odp_buffer_internal.h +++ b/platform/linux-generic/include/odp_buffer_internal.h @@ -124,9 +124,9 @@ typedef struct odp_buffer_hdr_t { uint64_t buf_u64; /* user u64 */ void *buf_ctx; /* user context */ const void *buf_cctx; /* const alias for ctx */ - void *udata_addr; /* user metadata addr */ }; - size_t udata_size; /* size of user metadata */ + void *udata_addr; /* user metadata addr */ + uint32_t udata_size; /* size of user metadata */ uint32_t segcount; /* segment count */ uint32_t segsize; /* segment size */ void *addr[ODP_BUFFER_MAX_SEG]; /* block addrs */