Skip to contentSkip to conversation

mbuf: remove ethdev deprecation note for flag name

PATCH In review Aman Singh 2 participants 2 messages Sep 30, 2021 – Oct 1, 2021

lore
Share & tools
lore

Aman Singh

author
#0 lore raw

PATCH 1/1 mbuf: remove ethdev deprecation note for flag name

Proposed name change of offload flag PKT_RX_EIP_CKSUM_BAD to PKT_RX_OUTER_IP_CKSUM_BAD has already been done in the code as per the deprecation note.

---
 doc/guides/rel_notes/deprecation.rst | 5 -----
 lib/mbuf/rte_mbuf_core.h             | 7 -------
 2 files changed, 12 deletions(-)
doc/guides/rel_notes/deprecation.rst +0 -5
index 05fc2fdee7..549e9416c4 100644
@@ -159,11 +159,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.
-
 * i40e: As there are both i40evf and iavf pmd, the functions of them are
   duplicated. And now more and more advanced features are developed on iavf.
   To keep consistent with kernel driver's name
lib/mbuf/rte_mbuf_core.h +0 -7
index 9d8e3ddc86..d6f1679944 100644
@@ -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
Signature · 1 line
2.17.1