From 0c03660db13cd8a0c3b4204463ae67f289619632 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Fri, 15 Oct 2021 21:24:05 +0200 Subject: [PATCH] mbuf: remove duplicate definition of cksum offload flags The flags PKT_RX_L4_CKSUM_BAD and PKT_RX_IP_CKSUM_BAD are defined twice with the same value. Remove one of the occurrence, which was marked as "deprecated". Signed-off-by: Olivier Matz Acked-by: Andrew Rybchenko --- 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 d0e6f2e82c..7fa87404d2 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.