6b30428820
Specified pattern may be translated in different manner. For example the pattern "eth / ipv4" can be translated to match untagged packets only, since the pattern doesn't specify a VLAN item. It can also be translated to match both tagged and untagged packets, for the same reason. This patch updates the rte_flow documentation to clearly specify the required pattern to use. For example: To match tagged ipv4 packets, the pattern "eth / vlan / ipv4 / end" should be used. To match untagged ipv4 packets, the pattern "eth / ipv4 / end" should be used. To match all IPV4 packets, both tagged and untagged, need to apply two rules with the patterns above. To match both tagged and untagged packets of any type, the pattern "eth / end" should be used. Signed-off-by: Dekel Peled <dekelp@mellanox.com> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Ori Kam <orika@mellanox.com> |
||
---|---|---|
.. | ||
ethdev_private.c | ||
ethdev_private.h | ||
ethdev_profile.c | ||
ethdev_profile.h | ||
ethdev_trace_points.c | ||
Makefile | ||
meson.build | ||
rte_class_eth.c | ||
rte_dev_info.h | ||
rte_eth_ctrl.h | ||
rte_ethdev_core.h | ||
rte_ethdev_driver.h | ||
rte_ethdev_pci.h | ||
rte_ethdev_trace_fp.h | ||
rte_ethdev_trace.h | ||
rte_ethdev_vdev.h | ||
rte_ethdev_version.map | ||
rte_ethdev.c | ||
rte_ethdev.h | ||
rte_flow_driver.h | ||
rte_flow.c | ||
rte_flow.h | ||
rte_mtr_driver.h | ||
rte_mtr.c | ||
rte_mtr.h | ||
rte_tm_driver.h | ||
rte_tm.c | ||
rte_tm.h |