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 0FE3FA0547; Thu, 29 Apr 2021 14:14:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BF60A410DD; Thu, 29 Apr 2021 14:14:43 +0200 (CEST) Received: from mail-oi1-f170.google.com (mail-oi1-f170.google.com [209.85.167.170]) by mails.dpdk.org (Postfix) with ESMTP id 7FDA5406FF for ; Thu, 29 Apr 2021 14:14:42 +0200 (CEST) Received: by mail-oi1-f170.google.com with SMTP id i11so4296267oig.8 for ; Thu, 29 Apr 2021 05:14:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=L0L3h4x2NIszqEY6CfLwFUDB/UMT+iOvEhO16drGE4A=; b=hdARqeFiycL/XoV9IQJZku2i/VfwUMbhB1xsuyiZ6KgZLtIIEFZz7BokFRKT24a3zH 71DjO6LYl36D71832uj3OlHT4EpXPrrQFhRxzYZJNXf1nIwf7pRY35HdkDjxe0cBlzKo metsrntYFISKDv8zeMLlD7xMqsZmqfx7ujjJc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L0L3h4x2NIszqEY6CfLwFUDB/UMT+iOvEhO16drGE4A=; b=AHuTfFkIvRUS0ta0D4ZpKiN8cKnTfsRItPSnKnzanHRddLJkNsZolI4Q6MEC4mVzl8 06PWhGTd9dPqTQ4f4i/uPyERP3We/ngcf2TYgSmc9fJodwbWmHVB5b68XwEzG749ZC0K xyYknbDCHf/ta2D/r4OBTFTHKKNO4O/YDi5uRsCfSLnEkgg7w26WVCSQ4RmDGvI5LLOq HbxW1FhoHTCTCxfUZ12RV/Cgt3fYaOaLfb7snAm25FoOfyqppLg7ZIoozz8GVeI31/Vo OLnwIbYdGGl4KE/5ISGn+cj6h/dpL4WOoEL4Wdd7SzIpj+GoUZz0cI7O1UoHfMv4Q0eC Jo3w== X-Gm-Message-State: AOAM530pyi2chRNQVMoVWKb31vjwDV0nz+fSRYwBa5Nn67sg04621WcE yRKx8mG8TspV4TUgEM/l5MFAp29fI//eZ2hDImcHUw== X-Google-Smtp-Source: ABdhPJwb8Omcv3FQCMe0pl9WmnZBq/AGpUV6WlGAy5Slf+HsVzfJB9J363WRYkhUPBptReFYKef2WLt9uxytuVAmDyk= X-Received: by 2002:aca:39d6:: with SMTP id g205mr24330703oia.81.1619698481658; Thu, 29 Apr 2021 05:14:41 -0700 (PDT) MIME-Version: 1.0 References: <20210401095243.18211-1-david.marchand@redhat.com> <20210429080438.15032-1-david.marchand@redhat.com> <20210429080438.15032-2-david.marchand@redhat.com> In-Reply-To: <20210429080438.15032-2-david.marchand@redhat.com> From: Lance Richardson Date: Thu, 29 Apr 2021 08:14:30 -0400 Message-ID: To: David Marchand Cc: dev@dpdk.org, Maxime Coquelin , Olivier Matz , fbl@sysclose.org, i.maximets@ovn.org, Ferruh Yigit , Andrew Rybchenko , Ajit Khaparde Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000a96ccf05c11b7039" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH v2 1/4] mbuf: mark old offload flag as deprecated 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" --000000000000a96ccf05c11b7039 Content-Type: text/plain; charset="UTF-8" On Thu, Apr 29, 2021 at 4:05 AM David Marchand wrote: > > PKT_RX_EIP_CKSUM_BAD has been declared deprecated but there was no > warning to applications still using it. > Fix this by marking as deprecated with the newly introduced > RTE_DEPRECATED. > > Fixes: e8a419d6de4b ("mbuf: rename outer IP checksum macro") > > Signed-off-by: David Marchand > Reviewed-by: Flavio Leitner > Acked-by: Olivier Matz > --- > Changes since v1: > - updated commitlog following Olivier comment, > > --- > lib/mbuf/rte_mbuf_core.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/lib/mbuf/rte_mbuf_core.h b/lib/mbuf/rte_mbuf_core.h > index c17dc95c51..bb38d7f581 100644 > --- a/lib/mbuf/rte_mbuf_core.h > +++ b/lib/mbuf/rte_mbuf_core.h > @@ -83,7 +83,8 @@ extern "C" { > * Deprecated. > * This flag has been renamed, use PKT_RX_OUTER_IP_CKSUM_BAD instead. > */ > -#define PKT_RX_EIP_CKSUM_BAD PKT_RX_OUTER_IP_CKSUM_BAD > +#define PKT_RX_EIP_CKSUM_BAD \ > + RTE_DEPRECATED(PKT_RX_EIP_CKSUM_BAD) PKT_RX_OUTER_IP_CKSUM_BAD > > /** > * A vlan has been stripped by the hardware and its tci is saved in > -- > 2.23.0 > Acked-by: Lance Richardson --000000000000a96ccf05c11b7039--