net/octeontx2: support PF and VF action
authorKiran Kumar K <kirankumark@marvell.com>
Mon, 8 Jul 2019 03:36:15 +0000 (09:06 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:34 +0000 (14:31 +0200)
commit520270d5184a9025cf978c4f55307bfe0c3d6e3d
treee7dda47d12ceff412ded3fae019554260298634d
parent0cdbc98f6ed48b769ed5b22a61c38fbe3c90538a
net/octeontx2: support PF and VF action

Adding PF and VF action support for octeontx2 flow driver.
If RTE_FLOW_ACTION_TYPE_PF action is set from VF, then the packet
will be sent to the parent PF.
If RTE_FLOW_ACTION_TYPE_VF action is set and original is specified,
then the packet will be sent to the original VF, otherwise the packet
will be sent to the VF specified in the vf_id.

Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
doc/guides/nics/octeontx2.rst
drivers/net/octeontx2/otx2_flow.h
drivers/net/octeontx2/otx2_flow_parse.c