net/dpaa2: support Tx flow redirection action
authorJun Yang <jun.yang@nxp.com>
Wed, 6 Oct 2021 17:01:23 +0000 (22:31 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 7 Oct 2021 09:42:21 +0000 (11:42 +0200)
commit028d1dfd183043db03eb3d726579b18219c02624
tree91e6fd227b50e3c375d645ab99702bb2bfaede1f
parent2cb2abf304fcecc0e2804b8da61760d4f2cb9a7e
net/dpaa2: support Tx flow redirection action

TX redirection support by flow action RTE_FLOW_ACTION_TYPE_PHY_PORT
and RTE_FLOW_ACTION_TYPE_PORT_ID

This action is executed by HW to forward packets between ports.
If the ingress packets match the rule, the packets are switched
without software involved and perf is improved as well.

Signed-off-by: Jun Yang <jun.yang@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
doc/guides/nics/features/dpaa2.ini
drivers/net/dpaa2/dpaa2_ethdev.c
drivers/net/dpaa2/dpaa2_ethdev.h
drivers/net/dpaa2/dpaa2_flow.c
drivers/net/dpaa2/mc/fsl_dpni.h