From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D5EA3A0C43; Fri, 15 Oct 2021 21:24:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0284441135; Fri, 15 Oct 2021 21:24:32 +0200 (CEST) Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by mails.dpdk.org (Postfix) with ESMTP id EEC234003C for ; Fri, 15 Oct 2021 21:24:28 +0200 (CEST) Received: by mail-wr1-f48.google.com with SMTP id m22so28343266wrb.0 for ; Fri, 15 Oct 2021 12:24:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=J7uYzNKe4xpFPXM97CPaXSOGhajpP7y1NCY7xzceY4M=; b=WeBs8Kc8wS//TepxsCYiwJFihoZ/bUhLOqupLDCSJIZb+F7KU2KLMwgnLieXxUg2cm DNBa8mFy3FfRDOQ5KYQ6w+Tacv7dBLYB7P8BIXumWqWEuqNjoh8dK+WJaxQGW5cln8Gx zdVow50rF0gD+64q4jgkQDTY1D7E1J+ZE0U3odNkTSkIRcPbUoywe9cK772FgJ2Rw5Bv 8XoYF4WGZkGEUc6ildiLi3T2dvUANCNMVkMNI59+mAzNWPjb9dK6PfeTANRv8HtPrvAe ll+hNDYZPKZw0qeEYQUJuAbxes/ob+Hb2t/yqh9/s5NdU/uqYXYNbco6YxfJyD5KzSZx hw1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=J7uYzNKe4xpFPXM97CPaXSOGhajpP7y1NCY7xzceY4M=; b=K32Wn4dg/bOL/4C1wmgBiYGG474yr+BrcPPa716qVTTMamEszyqr51CyhJp5Si6LaE Kpbk3suIP9ubElZHiHhIFu/ra6NnpJllJf/ehEYDRe2YgVcHxUo/hOh6lMX9W3ebdlXz OrtOsJUYFGtlBM+yn4w+PyirV7tAyePkmrfZ72DBgLuxOS17/i/VEJ4I1jjLVBWjr7CM 0EOQugzzJqbNEuHR8/QuXqrrpC2ZmK+b+MywjbxsBT7UHk3+HuyMPn1MmCozkrC4sMl/ 5nBUB/WH38wreLokPZe565Z0ien2J/J7BJfcs6avTBNrp81GadkXvRlLHExS+4Lsrbqi a6AQ== X-Gm-Message-State: AOAM533KQeQ71JozPhQoFA0+xkq7it4Sa/WMhczzN8dnY4DyCtcZxMBi /PrCiJclO8rb/9bs1slMiT3CdFlukitWSIrl X-Google-Smtp-Source: ABdhPJw5/p1lRPaVTQFXstKvO5paAmxbQA7GfGcTF3ym28jzqpK97X5wE1dLisacI45b+a2u4/AQgA== X-Received: by 2002:adf:bb88:: with SMTP id q8mr16559199wrg.390.1634325868716; Fri, 15 Oct 2021 12:24:28 -0700 (PDT) Received: from gojira.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id s186sm6335862wme.14.2021.10.15.12.24.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Oct 2021 12:24:28 -0700 (PDT) From: Olivier Matz To: dev@dpdk.org Cc: David Marchand Date: Fri, 15 Oct 2021 21:24:05 +0200 Message-Id: <20211015192408.21798-2-olivier.matz@6wind.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211015192408.21798-1-olivier.matz@6wind.com> References: <20210929214817.18082-1-olivier.matz@6wind.com> <20211015192408.21798-1-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 1/4] mbuf: remove duplicate definition of cksum offload flags X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The flags PKT_RX_L4_CKSUM_BAD and PKT_RX_IP_CKSUM_BAD are defined twice with the same value. Remove one of the occurence, which was marked as "deprecated". Signed-off-by: Olivier Matz --- lib/mbuf/rte_mbuf_core.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lib/mbuf/rte_mbuf_core.h b/lib/mbuf/rte_mbuf_core.h index d6f1679944..e1e0f4b51b 100644 --- a/lib/mbuf/rte_mbuf_core.h +++ b/lib/mbuf/rte_mbuf_core.h @@ -55,24 +55,6 @@ extern "C" { /** RX packet with FDIR match indicate. */ #define PKT_RX_FDIR (1ULL << 2) -/** - * Deprecated. - * Checking this flag alone is deprecated: check the 2 bits of - * PKT_RX_L4_CKSUM_MASK. - * This flag was set when the L4 checksum of a packet was detected as - * wrong by the hardware. - */ -#define PKT_RX_L4_CKSUM_BAD (1ULL << 3) - -/** - * Deprecated. - * Checking this flag alone is deprecated: check the 2 bits of - * PKT_RX_IP_CKSUM_MASK. - * This flag was set when the IP checksum of a packet was detected as - * wrong by the hardware. - */ -#define PKT_RX_IP_CKSUM_BAD (1ULL << 4) - /** * This flag is set when the outermost IP header checksum is detected as * wrong by the hardware. -- 2.30.2