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 <andrew.rybchenko@oktetlabs.ru>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
This commit is contained in:
Andrew Rybchenko 2021-10-11 17:28:53 +03:00 committed by Thomas Monjalon
parent a87a0c0d1a
commit 74a74bf98c
3 changed files with 3 additions and 12 deletions

View File

@ -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.

View File

@ -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

View File

@ -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