fc6bbb3f28
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> |
||
---|---|---|
.. | ||
deprecation.rst | ||
index.rst | ||
known_issues.rst | ||
rel_description.rst | ||
release_1_8.rst | ||
release_2_0.rst | ||
release_2_1.rst | ||
release_2_2.rst | ||
release_16_04.rst | ||
release_16_07.rst | ||
release_16_11.rst | ||
release_17_02.rst | ||
release_17_05.rst | ||
release_17_08.rst | ||
release_17_11.rst | ||
release_18_02.rst | ||
release_18_05.rst |