From: Andrew Rybchenko Date: Mon, 11 Oct 2021 14:28:53 +0000 (+0300) Subject: mbuf: remove deprecated flag for bad outer IPv4 checksum X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=74a74bf98c13685403331d5d0f33988863f91b38;p=dpdk.git mbuf: remove deprecated flag for bad outer IPv4 checksum Removed offload flag PKT_RX_EIP_CKSUM_BAD. PKT_RX_OUTER_IP_CKSUM_BAD should be used as a replacement. Signed-off-by: Andrew Rybchenko Acked-by: Olivier Matz --- diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index a4e86b31f5..45239ca56e 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -153,11 +153,6 @@ Deprecation Notices will be limited to maximum 256 queues. Also compile time flag ``RTE_ETHDEV_QUEUE_STAT_CNTRS`` will be removed. -* ethdev: The offload flag ``PKT_RX_EIP_CKSUM_BAD`` will be removed and - replaced by the new flag ``PKT_RX_OUTER_IP_CKSUM_BAD``. The new name is more - consistent with existing outer header checksum status flag naming, which - should help in reducing confusion about its usage. - * net: The structure ``rte_ipv4_hdr`` will have two unions. The first union is for existing ``version_ihl`` byte and new bitfield for version and IHL. diff --git a/doc/guides/rel_notes/release_21_11.rst b/doc/guides/rel_notes/release_21_11.rst index f643a61f44..4c56cdfeaa 100644 --- a/doc/guides/rel_notes/release_21_11.rst +++ b/doc/guides/rel_notes/release_21_11.rst @@ -179,6 +179,9 @@ Removed Items blacklist/whitelist are removed. Users must use the new block/allow list arguments. +* mbuf: Removed offload flag ``PKT_RX_EIP_CKSUM_BAD``. + ``PKT_RX_OUTER_IP_CKSUM_BAD`` should be used as a replacement. + * ethdev: Removed the port mirroring API. A more fine-grain flow API action ``RTE_FLOW_ACTION_TYPE_SAMPLE`` should be used instead. The structures ``rte_eth_mirror_conf`` and ``rte_eth_vlan_mirror`` and diff --git a/lib/mbuf/rte_mbuf_core.h b/lib/mbuf/rte_mbuf_core.h index 9d8e3ddc86..d6f1679944 100644 --- a/lib/mbuf/rte_mbuf_core.h +++ b/lib/mbuf/rte_mbuf_core.h @@ -79,13 +79,6 @@ extern "C" { */ #define PKT_RX_OUTER_IP_CKSUM_BAD (1ULL << 5) -/** - * Deprecated. - * This flag has been renamed, use PKT_RX_OUTER_IP_CKSUM_BAD instead. - */ -#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 * mbuf->vlan_tci. This can only happen if vlan stripping is enabled