From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) by dpdk.org (Postfix) with ESMTP id 678F558FE for ; Tue, 9 Apr 2019 21:06:48 +0200 (CEST) Received: by mail-qt1-f170.google.com with SMTP id s15so12822918qtn.3 for ; Tue, 09 Apr 2019 12:06:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:reply-to; bh=HD7mDLIa5srh/fO8d/19SaLlBk5bYmQyrOrqT+ju1s4=; b=f7dW2CbBHMZ70E+1TRCdkLyFHlVsIsxq9tdoP1dBijlEZQSl64QVcKjr+XGlCAJAjp Z7HvN7N3D/ALRoZWw6BdZJurUuh793hfoYvI6EdQSwUiubYvkTtSsWuVb5ALQxGqfqWe wd7zDB36gK4Y6U7h+JN4HcJIgV0lSNj2wUwyAayvdGB1K1DJXhlN9aBHVVck9XG+pgUY CXtW8cLSTqAPUBeb55MdBOmTJNYI2z2c2dAtwak/Uz/OcNBhv6mhQVJ/4vSL5++qaxHJ 8+XZ83hnFKmQBL2cIPl0TGJTAih/Muij1HbyxEarzvAeXcJje2GQM4ESK9VSd6yjdALI +AxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:reply-to; bh=HD7mDLIa5srh/fO8d/19SaLlBk5bYmQyrOrqT+ju1s4=; b=RoT56X3wDmFL3oJmlqG59qAIdi6fVX0WYIShX3h4GY9hcZmQwMgDErlPSrSPvrlLtN 7H4y2uDwjbX8VagobryDTT9elQPkANnziijTbu5WfWlqMbvSH7N0iryqX2u6u4RKa6aM RxsqnswC1EwAdRE2980G2QaO9sFpG3bUwrh2Mp/sj6qThq1ZgBDv8CB6DRvrGZip0r0Y viAFwiSxFfGQs8ttFs1TxknUgHlFDKdF0pgYV24u6LZsJniyRmoK2lH5lTwzWYp+Dxd+ rntPxwnKl9Kl3Olxc/shKM7vI0Mxvy08OFTdB76gIcN41DYrneJbYaAFJXZX+zRFkeQw MMLQ== X-Gm-Message-State: APjAAAW4mx1dqioICLsgKz3k8HPbjmONQjDAM2c3olv8jp0N4WS3XnuG UxQXOSp38fJQ9OGJHiAWD+tuxgg+DsA= X-Google-Smtp-Source: APXvYqwhQK49ncsA39gBbVi/VpIO/KjN0+dINEgjUk7Wl6vkiiIA/OjdD4TbPJLswEd1CKqi/ob6+w== X-Received: by 2002:ac8:27a6:: with SMTP id w35mr30779205qtw.157.1554836807488; Tue, 09 Apr 2019 12:06:47 -0700 (PDT) Received: from csz25116.canlab.ibm.com ([199.246.40.57]) by smtp.gmail.com with ESMTPSA id q23sm17934789qkc.16.2019.04.09.12.06.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2019 12:06:46 -0700 (PDT) From: Vivian Kong X-Google-Original-From: Vivian Kong To: dev@dpdk.org Date: Tue, 9 Apr 2019 15:06:29 -0400 Message-Id: <20190409190630.31975-12-vivkong@ca.ibm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190409190630.31975-1-vivkong@ca.ibm.com> References: <20190409190630.31975-1-vivkong@ca.ibm.com> Subject: [dpdk-dev] [RFC 11/12] mbuf: trivial fix X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: vivkong@ca.ibm.com List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Apr 2019 19:06:49 -0000 Signed-off-by: Vivian Kong --- lib/librte_mbuf/rte_mbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index f7886dcb3..7dd2e7fb3 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -500,7 +500,7 @@ enum { RTE_MBUF_OUTL2_LEN_BITS, #if RTE_BYTE_ORDER == RTE_BIG_ENDIAN RTE_MBUF_L2_LEN_OFS = - sizeof(uint64_t) * CHAR_BIT - RTE_MBUF_L2_LEN_BITS + sizeof(uint64_t) * CHAR_BIT - RTE_MBUF_L2_LEN_BITS, RTE_MBUF_L3_LEN_OFS = RTE_MBUF_L2_LEN_OFS - RTE_MBUF_L3_LEN_BITS, RTE_MBUF_L4_LEN_OFS = RTE_MBUF_L3_LEN_OFS - RTE_MBUF_L4_LEN_BITS, RTE_MBUF_TSO_SEGSZ_OFS = RTE_MBUF_L4_LEN_OFS - RTE_MBUF_TSO_SEGSZ_BITS, -- 2.17.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 78037A0096 for ; Tue, 9 Apr 2019 21:08:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 76B2E5F72; Tue, 9 Apr 2019 21:07:12 +0200 (CEST) Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) by dpdk.org (Postfix) with ESMTP id 678F558FE for ; Tue, 9 Apr 2019 21:06:48 +0200 (CEST) Received: by mail-qt1-f170.google.com with SMTP id s15so12822918qtn.3 for ; Tue, 09 Apr 2019 12:06:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:reply-to; bh=HD7mDLIa5srh/fO8d/19SaLlBk5bYmQyrOrqT+ju1s4=; b=f7dW2CbBHMZ70E+1TRCdkLyFHlVsIsxq9tdoP1dBijlEZQSl64QVcKjr+XGlCAJAjp Z7HvN7N3D/ALRoZWw6BdZJurUuh793hfoYvI6EdQSwUiubYvkTtSsWuVb5ALQxGqfqWe wd7zDB36gK4Y6U7h+JN4HcJIgV0lSNj2wUwyAayvdGB1K1DJXhlN9aBHVVck9XG+pgUY CXtW8cLSTqAPUBeb55MdBOmTJNYI2z2c2dAtwak/Uz/OcNBhv6mhQVJ/4vSL5++qaxHJ 8+XZ83hnFKmQBL2cIPl0TGJTAih/Muij1HbyxEarzvAeXcJje2GQM4ESK9VSd6yjdALI +AxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:reply-to; bh=HD7mDLIa5srh/fO8d/19SaLlBk5bYmQyrOrqT+ju1s4=; b=RoT56X3wDmFL3oJmlqG59qAIdi6fVX0WYIShX3h4GY9hcZmQwMgDErlPSrSPvrlLtN 7H4y2uDwjbX8VagobryDTT9elQPkANnziijTbu5WfWlqMbvSH7N0iryqX2u6u4RKa6aM RxsqnswC1EwAdRE2980G2QaO9sFpG3bUwrh2Mp/sj6qThq1ZgBDv8CB6DRvrGZip0r0Y viAFwiSxFfGQs8ttFs1TxknUgHlFDKdF0pgYV24u6LZsJniyRmoK2lH5lTwzWYp+Dxd+ rntPxwnKl9Kl3Olxc/shKM7vI0Mxvy08OFTdB76gIcN41DYrneJbYaAFJXZX+zRFkeQw MMLQ== X-Gm-Message-State: APjAAAW4mx1dqioICLsgKz3k8HPbjmONQjDAM2c3olv8jp0N4WS3XnuG UxQXOSp38fJQ9OGJHiAWD+tuxgg+DsA= X-Google-Smtp-Source: APXvYqwhQK49ncsA39gBbVi/VpIO/KjN0+dINEgjUk7Wl6vkiiIA/OjdD4TbPJLswEd1CKqi/ob6+w== X-Received: by 2002:ac8:27a6:: with SMTP id w35mr30779205qtw.157.1554836807488; Tue, 09 Apr 2019 12:06:47 -0700 (PDT) Received: from csz25116.canlab.ibm.com ([199.246.40.57]) by smtp.gmail.com with ESMTPSA id q23sm17934789qkc.16.2019.04.09.12.06.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2019 12:06:46 -0700 (PDT) From: Vivian Kong X-Google-Original-From: Vivian Kong To: dev@dpdk.org Date: Tue, 9 Apr 2019 15:06:29 -0400 Message-Id: <20190409190630.31975-12-vivkong@ca.ibm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190409190630.31975-1-vivkong@ca.ibm.com> References: <20190409190630.31975-1-vivkong@ca.ibm.com> Subject: [dpdk-dev] [RFC 11/12] mbuf: trivial fix X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: vivkong@ca.ibm.com List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190409190629.p1h-i596XekmKDREiaD2Q1yjI2CRZPUoSZWzlb3fRLQ@z> Signed-off-by: Vivian Kong --- lib/librte_mbuf/rte_mbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index f7886dcb3..7dd2e7fb3 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -500,7 +500,7 @@ enum { RTE_MBUF_OUTL2_LEN_BITS, #if RTE_BYTE_ORDER == RTE_BIG_ENDIAN RTE_MBUF_L2_LEN_OFS = - sizeof(uint64_t) * CHAR_BIT - RTE_MBUF_L2_LEN_BITS + sizeof(uint64_t) * CHAR_BIT - RTE_MBUF_L2_LEN_BITS, RTE_MBUF_L3_LEN_OFS = RTE_MBUF_L2_LEN_OFS - RTE_MBUF_L3_LEN_BITS, RTE_MBUF_L4_LEN_OFS = RTE_MBUF_L3_LEN_OFS - RTE_MBUF_L4_LEN_BITS, RTE_MBUF_TSO_SEGSZ_OFS = RTE_MBUF_L4_LEN_OFS - RTE_MBUF_TSO_SEGSZ_BITS, -- 2.17.1