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 05DCDA0547; Thu, 29 Apr 2021 18:45:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AA0C9410F1; Thu, 29 Apr 2021 18:45:19 +0200 (CEST) Received: from mail-qk1-f179.google.com (mail-qk1-f179.google.com [209.85.222.179]) by mails.dpdk.org (Postfix) with ESMTP id 5E1DF410DD for ; Thu, 29 Apr 2021 18:45:18 +0200 (CEST) Received: by mail-qk1-f179.google.com with SMTP id q136so46854588qka.7 for ; Thu, 29 Apr 2021 09:45:18 -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=etr2V+pj7WAN1pdVYVjwb/XMat9dXrJVqkRue+ym0kI=; b=JZT4BSm5QX1/3QHgW3bC55ZjMibNbzhYk/i+Sw1SLPJJ/OjmS1bF/qKwSyFfuSswVj 47jv7JLGRmEP1XpHK8qtFWxQFia1z/F5jsOxTtFBKn/LElYQoDAup1NKgpQdPghNlP7E P3nCD9C1Y1GpG5jZRNYdg6CeMa+EtpzFb0rcc= 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=etr2V+pj7WAN1pdVYVjwb/XMat9dXrJVqkRue+ym0kI=; b=WPFcbD5wMJKPkVl2STiCz2Yzfg3qB/qwgM1mnZr1WybffAYHbRzNods4kdmo5Urmwc rKslBe2ELgrHMFCP+oOHTgIZ3dHxxH2zmY4bW3m501FFmuRg6D8oszomrXo1X0J2AFBF kqOXfi47yyeYEW1Hw2e4RoOI8SV3IBjrgtWlv/LYG8vhA7134xBxEPDJIkLEFiQsC+nc FAo6JTiKab9JzeEMUO9uFhqpX56L4S32k97EWP/Fgnf7DOMl+uV/gA3h8euygU7dTlwC XOUVoxPqzoEgoSgLe5zY1VF+zT9lJKAbwRBHL69pfjv6EqIPacnJoSOBoXnqqDzSBr1N d5xg== X-Gm-Message-State: AOAM532Rng3owRaYEQcvI6hjMuvY78xEGoYagQE1H0WdIlNnp+hLK0Wx KRbgdWmD83kfBG1jz+D0aN5VgqPZU5OFuO9A+HMG5LHVfJae7g== X-Google-Smtp-Source: ABdhPJyKDJHx7HSklAVQTZNSYArvE9F1DOt46LjvYrckEQn9AuQHznWIYeW1f/cqKILsZYiCroF9ktdxwDSrTF3rFKU= X-Received: by 2002:a37:7985:: with SMTP id u127mr571730qkc.333.1619714717548; Thu, 29 Apr 2021 09:45:17 -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: Ajit Khaparde Date: Thu, 29 Apr 2021 09:45:01 -0700 Message-ID: To: David Marchand Cc: dpdk-dev , Maxime Coquelin , Olivier Matz , fbl@sysclose.org, i.maximets@ovn.org, Ferruh Yigit , Lance Richardson , Andrew Rybchenko Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000006748b805c11f3804" 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" --0000000000006748b805c11f3804 Content-Type: text/plain; charset="UTF-8" On Thu, Apr 29, 2021 at 1: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 Acked-by: Ajit Khaparde > --- > 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 > --0000000000006748b805c11f3804--