mbuf: mark offload flag as deprecated
authorDavid Marchand <david.marchand@redhat.com>
Mon, 3 May 2021 13:26:43 +0000 (15:26 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 3 May 2021 14:12:49 +0000 (16:12 +0200)
commit7ddb625c3d48c4fc714d0def07a1f163d2b67cf5
treefd9d6a9a741ee4b8a946035c5dec46c60aacbead
parent1b593b9c832e9b284cc59665fe662242a3fc1daf
mbuf: mark offload flag as deprecated

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 <david.marchand@redhat.com>
Reviewed-by: Flavio Leitner <fbl@sysclose.org>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Lance Richardson <lance.richardson@broadcom.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/mbuf/rte_mbuf_core.h