numam-dpdk/doc/guides/rel_notes
Adrien Mazarguil fc6bbb3f28 ethdev: add port ID item and action to flow API
RTE_FLOW_ACTION_TYPE_PORT_ID brings the ability to inject matching traffic
into a different device, as identified by its DPDK port ID.

This is normally only supported when the target port ID has some kind of
relationship with the port ID the flow rule is created against, such as
being exposed by a common physical device (e.g. a different port of an
Ethernet switch).

The converse pattern item, RTE_FLOW_ITEM_TYPE_PORT_ID, makes the resulting
flow rule match traffic whose origin is the specified port ID. Note that
specifying a port ID that differs from the one the flow rule is created
against is normally meaningless (if even accepted), but can make sense if
combined with the transfer attribute.

These must not be confused with their PHY_PORT counterparts, which refer to
physical ports using device-specific indices, but unlike PORT_ID are not
necessarily tied to DPDK port IDs.

This breaks ABI compatibility for the following public functions:

- rte_flow_copy()
- rte_flow_create()
- rte_flow_query()
- rte_flow_validate()

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Reviewed-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
2018-04-27 18:00:54 +01:00
..
deprecation.rst ethdev: add encap level to RSS flow API action 2018-04-27 18:00:54 +01:00
index.rst doc: add template release notes for 18.05 2018-02-19 21:54:14 +01:00
known_issues.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
rel_description.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
release_1_8.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
release_2_0.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
release_2_1.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
release_2_2.rst doc: add statistics fixes in release notes 2015-12-15 13:50:42 +01:00
release_16_04.rst doc: remove residual template from release notes 2016-04-11 23:56:34 +02:00
release_16_07.rst doc: add tested hardware and systems for 16.07 2016-07-28 18:11:56 +02:00
release_16_11.rst doc: fix release notes for 16.11 2016-11-13 15:25:12 +01:00
release_17_02.rst doc: update release notes for 17.02 2017-02-14 21:58:04 +01:00
release_17_05.rst doc: add i40e tunnel support in release notes 2018-01-29 10:04:28 +01:00
release_17_08.rst eventdev: bump library version 2017-08-08 20:01:39 +02:00
release_17_11.rst doc: update Marvell driver link 2018-04-04 13:43:33 +02:00
release_18_02.rst doc: update release notes for 18.02 2018-02-14 19:01:26 +01:00
release_18_05.rst ethdev: add port ID item and action to flow API 2018-04-27 18:00:54 +01:00