[dpdk-dev] [PATCH 1/4] ether: add flow action to redirect packet in a switch domain
Pattan, Reshma
reshma.pattan at intel.com
Thu Mar 29 12:48:04 CEST 2018
Hi
> Add action RTE_FLOW_ACTION_TYPE_SWITCH_PORT, it can be used to
> redirect a packet to a network interface that connect to the same switch
> domain, rte_ethdev's port_id is used as an identification of the destination.
> A typical use case is: with a smart NIC for vSwitch acceleration, flow is defined
> to forward packets between the switch port that is managed by Port
> Representor.
>
The macro name in commit message not matching with name in code.
> Signed-off-by: Qi Zhang <qi.z.zhang at intel.com>
> ---
> doc/guides/prog_guide/rte_flow.rst | 22 ++++++++++++++++++++++
> lib/librte_ether/rte_flow.h | 19 ++++++++++++++++++-
> 2 files changed, 40 insertions(+), 1 deletion(-)
>
I guess doc patch should be separated out and some typos in doc.
> /**
> @@ -1148,6 +1155,16 @@ struct rte_flow_action_security {
> void *security_session; /**< Pointer to security session structure. */
> };
>
> +/** RTE_FLOW_ACTION_TYPE_PORT
> + *
> + * Redirect packets to a network interface in the same switch domain.
> + *
> + * Terminateing by default.
Typo..
More information about the dev
mailing list