ethdev: remove deprecated flow action to decrement MPLS TTL
The action is supported by no drivers. The patch breaks ABI. Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Acked-by: Ori Kam <orika@nvidia.com>
This commit is contained in:
parent
e7b571a977
commit
8c2fa4fd02
@ -515,7 +515,6 @@ enum index {
|
||||
ACTION_METER_COLOR_MODE,
|
||||
ACTION_METER_INIT_COLOR,
|
||||
ACTION_METER_STATE,
|
||||
ACTION_OF_DEC_MPLS_TTL,
|
||||
ACTION_OF_SET_NW_TTL,
|
||||
ACTION_OF_SET_NW_TTL_NW_TTL,
|
||||
ACTION_OF_DEC_NW_TTL,
|
||||
@ -1835,7 +1834,6 @@ static const enum index next_action[] = {
|
||||
ACTION_METER,
|
||||
ACTION_METER_COLOR,
|
||||
ACTION_METER_MARK,
|
||||
ACTION_OF_DEC_MPLS_TTL,
|
||||
ACTION_OF_SET_NW_TTL,
|
||||
ACTION_OF_DEC_NW_TTL,
|
||||
ACTION_OF_COPY_TTL_OUT,
|
||||
@ -5460,13 +5458,6 @@ static const struct token token_list[] = {
|
||||
.args = ARGS(ARGS_ENTRY(struct rte_flow_action_meter_mark, state)),
|
||||
.call = parse_vc_conf,
|
||||
},
|
||||
[ACTION_OF_DEC_MPLS_TTL] = {
|
||||
.name = "of_dec_mpls_ttl",
|
||||
.help = "OpenFlow's OFPAT_DEC_MPLS_TTL",
|
||||
.priv = PRIV_ACTION(OF_DEC_MPLS_TTL, 0),
|
||||
.next = NEXT(NEXT_ENTRY(ACTION_NEXT)),
|
||||
.call = parse_vc,
|
||||
},
|
||||
[ACTION_OF_SET_NW_TTL] = {
|
||||
.name = "of_set_nw_ttl",
|
||||
.help = "OpenFlow's OFPAT_SET_NW_TTL",
|
||||
|
@ -2123,23 +2123,6 @@ fields in the pattern items.
|
||||
| 1 | END |
|
||||
+-------+----------+
|
||||
|
||||
Action: ``OF_DEC_MPLS_TTL``
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
This action is deprecated. Consider `Action: MODIFY_FIELD`_.
|
||||
|
||||
Implements ``OFPAT_DEC_MPLS_TTL`` ("decrement MPLS TTL") as defined by the
|
||||
`OpenFlow Switch Specification`_.
|
||||
|
||||
.. _table_rte_flow_action_of_dec_mpls_ttl:
|
||||
|
||||
.. table:: OF_DEC_MPLS_TTL
|
||||
|
||||
+---------------+
|
||||
| Field |
|
||||
+===============+
|
||||
| no properties |
|
||||
+---------------+
|
||||
|
||||
Action: ``OF_SET_NW_TTL``
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
This action is deprecated. Consider `Action: MODIFY_FIELD`_.
|
||||
|
@ -101,7 +101,7 @@ Deprecation Notices
|
||||
is deprecated as ambiguous with respect to the embedded switch. The use of
|
||||
these attributes will become invalid starting from DPDK 22.11.
|
||||
|
||||
* ethdev: Actions ``OF_DEC_MPLS_TTL``, ``OF_SET_NW_TTL``,
|
||||
* ethdev: Actions ``OF_SET_NW_TTL``,
|
||||
``OF_COPY_TTL_OUT``, ``OF_COPY_TTL_IN`` are deprecated as not supported by
|
||||
any PMD, so they will be removed in DPDK 22.11.
|
||||
|
||||
|
@ -165,8 +165,8 @@ Removed Items
|
||||
* ethdev: removed ``RTE_FLOW_ACTION_TYPE_PHY_PORT``;
|
||||
use ``RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT``.
|
||||
|
||||
* ethdev: removed ``OF_SET_MPLS_TTL`` which is not actually supported
|
||||
by any PMD.
|
||||
* ethdev: removed ``OF_SET_MPLS_TTL`` and ``OF_DEC_MPLS_TTL``
|
||||
which are not actually supported by any PMD.
|
||||
``MODIFY_FIELD`` action should be used to do packet edits via flow API.
|
||||
|
||||
* vhost: Removed deprecated ``rte_vhost_gpa_to_vva`` and
|
||||
|
@ -73,10 +73,6 @@ struct bnxt_ulp_rte_act_info ulp_act_info[] = {
|
||||
.act_type = BNXT_ULP_ACT_TYPE_NOT_SUPPORTED,
|
||||
.proto_act_func = NULL
|
||||
},
|
||||
[RTE_FLOW_ACTION_TYPE_OF_DEC_MPLS_TTL] = {
|
||||
.act_type = BNXT_ULP_ACT_TYPE_NOT_SUPPORTED,
|
||||
.proto_act_func = NULL
|
||||
},
|
||||
[RTE_FLOW_ACTION_TYPE_OF_SET_NW_TTL] = {
|
||||
.act_type = BNXT_ULP_ACT_TYPE_NOT_SUPPORTED,
|
||||
.proto_act_func = NULL
|
||||
|
@ -192,7 +192,6 @@ static const struct rte_flow_desc_data rte_flow_desc_action[] = {
|
||||
MK_FLOW_ACTION(PORT_ID, sizeof(struct rte_flow_action_port_id)),
|
||||
MK_FLOW_ACTION(METER, sizeof(struct rte_flow_action_meter)),
|
||||
MK_FLOW_ACTION(SECURITY, sizeof(struct rte_flow_action_security)),
|
||||
MK_FLOW_ACTION(OF_DEC_MPLS_TTL, 0),
|
||||
MK_FLOW_ACTION(OF_SET_NW_TTL,
|
||||
sizeof(struct rte_flow_action_of_set_nw_ttl)),
|
||||
MK_FLOW_ACTION(OF_DEC_NW_TTL, 0),
|
||||
|
@ -2291,17 +2291,6 @@ enum rte_flow_action_type {
|
||||
*/
|
||||
RTE_FLOW_ACTION_TYPE_SECURITY,
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @see RTE_FLOW_ACTION_TYPE_MODIFY_FIELD
|
||||
*
|
||||
* Implements OFPAT_DEC_MPLS_TTL ("decrement MPLS TTL") as defined
|
||||
* by the OpenFlow Switch Specification.
|
||||
*
|
||||
* No associated configuration structure.
|
||||
*/
|
||||
RTE_FLOW_ACTION_TYPE_OF_DEC_MPLS_TTL,
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @see RTE_FLOW_ACTION_TYPE_MODIFY_FIELD
|
||||
|
Loading…
Reference in New Issue
Block a user