From patchwork Tue Dec 23 16:46:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 42604 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f71.google.com (mail-ee0-f71.google.com [74.125.83.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0432E2188F for ; Tue, 23 Dec 2014 16:46:55 +0000 (UTC) Received: by mail-ee0-f71.google.com with SMTP id c13sf4278009eek.10 for ; Tue, 23 Dec 2014 08:46:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id: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=byPG+BaK2IQKnew/caH/x+POk9cWUYGw+u7/mZ0J9sk=; b=l4ITJZLaJ4YMzmaOD6JYJaRVxC+RETutRu+EPIoHww2W+b+agOSNlDJ2PJkIkoqHAX 07EX4LdbZETqdK8g65ERVrIBbOpIZUA2hivfmOogHcZ5Fn8gJd2Jsm0onfUH+7rf60gP WG8soU/XLCH+wefP7irYU/vtxcAkixWa1eOhmn6HaMBya/57hHw0fZXKSbiq0k9qw8zN QhT0bZeYfw1lJFzDD0UOgECH2vFVQT41j0NQcKKM0/tsJufQhloha2pG2BGyWJxGYDdU 6+UL1Pkl824oy5FSGmG2FWzbwsLn60nrN76q5Z086eRC3Yjn0bSm5Sh9iSmsCBdSEzQJ ZaAw== X-Gm-Message-State: ALoCoQnbrJDEyH4HileOnh3ZVRqhYqjV5gBPNc1MbsH90OOc4CS2WXQDlL+2OMF7VScASZ1cWL4R X-Received: by 10.194.95.74 with SMTP id di10mr3616337wjb.0.1419353214205; Tue, 23 Dec 2014 08:46:54 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.45.97 with SMTP id l1ls1846302lam.59.gmail; Tue, 23 Dec 2014 08:46:54 -0800 (PST) X-Received: by 10.152.37.7 with SMTP id u7mr29454234laj.74.1419353213970; Tue, 23 Dec 2014 08:46:53 -0800 (PST) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id i7si22542102lbs.116.2014.12.23.08.46.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 23 Dec 2014 08:46:53 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by mail-la0-f54.google.com with SMTP id pv20so5651136lab.41 for ; Tue, 23 Dec 2014 08:46:53 -0800 (PST) X-Received: by 10.152.164.133 with SMTP id yq5mr25015693lab.38.1419353213543; Tue, 23 Dec 2014 08:46:53 -0800 (PST) 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.142.69 with SMTP id ru5csp1383768lbb; Tue, 23 Dec 2014 08:46:52 -0800 (PST) X-Received: by 10.220.124.147 with SMTP id u19mr1690608vcr.48.1419353212040; Tue, 23 Dec 2014 08:46:52 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id fh10si8453613vdb.4.2014.12.23.08.46.46 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 23 Dec 2014 08:46:52 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Y3Sbc-0007Wo-HZ; Tue, 23 Dec 2014 16:46:44 +0000 Received: from mail-la0-f45.google.com ([209.85.215.45]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Y3SbV-0007We-T2 for lng-odp@lists.linaro.org; Tue, 23 Dec 2014 16:46:38 +0000 Received: by mail-la0-f45.google.com with SMTP id gq15so5887773lab.18 for ; Tue, 23 Dec 2014 08:46:32 -0800 (PST) X-Received: by 10.152.234.9 with SMTP id ua9mr28893312lac.44.1419353191924; Tue, 23 Dec 2014 08:46:31 -0800 (PST) Received: from localhost (c-853670d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.54.133]) by mx.google.com with ESMTPSA id zo3sm5990551lbb.10.2014.12.23.08.46.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Dec 2014 08:46:30 -0800 (PST) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Tue, 23 Dec 2014 17:46:27 +0100 Message-Id: <1419353188-17440-1-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH 1/2] api: correct inconsistent spelling of metadata X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 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-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: anders.roxell@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.215.54 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: Anders Roxell Reviewed-by: Bill Fischofer --- platform/linux-generic/include/api/odp_classification.h | 2 +- platform/linux-generic/include/api/odp_packet.h | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/platform/linux-generic/include/api/odp_classification.h b/platform/linux-generic/include/api/odp_classification.h index 64ad73f..4c9674b 100644 --- a/platform/linux-generic/include/api/odp_classification.h +++ b/platform/linux-generic/include/api/odp_classification.h @@ -37,7 +37,7 @@ typedef uint32_t odp_cos_t; /** - * flow signature type, only used for packet meta data field. + * flow signature type, only used for packet metadata field. */ typedef uint32_t odp_flowsig_t; diff --git a/platform/linux-generic/include/api/odp_packet.h b/platform/linux-generic/include/api/odp_packet.h index 8a1d917..920a593 100644 --- a/platform/linux-generic/include/api/odp_packet.h +++ b/platform/linux-generic/include/api/odp_packet.h @@ -34,7 +34,7 @@ extern "C" { * - Segment data length must be always at least one byte (i.e. there are no * empty segments) * - Head/tailroom content belong to packet content (in addition to data - * and meta-data) and thus is preserved over packet ownership changes. + * and metadata) and thus is preserved over packet ownership changes. * - _addr refer to a fixed address, which operations do not modify * - _ptr refer to pointer to data, which may be modified by operations */ @@ -80,7 +80,7 @@ void odp_packet_free(odp_packet_t pkt); /** * Reset packet * - * Resets all packet meta-data to their default values. Packet length is used + * Resets all packet metadata to their default values. Packet length is used * to initialize pointers and lengths. It must be less than the total buffer * length of the packet minus the default headroom length. Packet is not * modified on failure. @@ -245,7 +245,7 @@ void *odp_packet_tail(odp_packet_t pkt); * data -= len * * Operation does not modify packet segmentation or move data. Handles and - * pointers remain valid. User is responsible to update packet meta-data + * pointers remain valid. User is responsible to update packet metadata * offsets when needed. * * @param pkt Packet handle @@ -273,7 +273,7 @@ void *odp_packet_push_head(odp_packet_t pkt, uint32_t len); * data += len * * Operation does not modify packet segmentation or move data. Handles and - * pointers remain valid. User is responsible to update packet meta-data + * pointers remain valid. User is responsible to update packet metadata * offsets when needed. * * @param pkt Packet handle @@ -332,7 +332,7 @@ void *odp_packet_push_tail(odp_packet_t pkt, uint32_t len); * tailroom += len * * Operation does not modify packet segmentation or move data. Handles and - * pointers remain valid. User is responsible to update packet meta-data + * pointers remain valid. User is responsible to update packet metadata * offsets when needed. * * @param pkt Packet handle @@ -728,7 +728,7 @@ uint32_t odp_packet_seg_data_len(odp_packet_t pkt, odp_packet_seg_t seg); * Increases packet data length by adding new data area into the specified * offset. The operation returns a new packet handle on success. It may modify * packet segmentation and move data. Handles and pointers must be updated - * after the operation. User is responsible to update packet meta-data offsets + * after the operation. User is responsible to update packet metadata offsets * when needed. The packet is not modified on an error. * * @param pkt Packet handle @@ -746,7 +746,7 @@ odp_packet_t odp_packet_add_data(odp_packet_t pkt, uint32_t offset, * Decreases packet data length by removing data from the specified offset. * The operation returns a new packet handle on success, and may modify * packet segmentation and move data. Handles and pointers must be updated - * after the operation. User is responsible to update packet meta-data offsets + * after the operation. User is responsible to update packet metadata offsets * when needed. The packet is not modified on an error. * * @param pkt Packet handle @@ -770,7 +770,7 @@ odp_packet_t odp_packet_rem_data(odp_packet_t pkt, uint32_t offset, * Copy packet * * Create a new copy of the packet. The new packet is exact copy of the source - * packet (incl. data and meta-data). The pool must have been created with + * packet (incl. data and metadata). The pool must have been created with * buffer type ODP_BUFFER_TYPE_PACKET. * * @param pkt Packet handle