net/cnxk: support custom SA index
[dpdk.git] / drivers / net / cnxk / cnxk_flow.c
index 1034a2c..645e359 100644 (file)
@@ -207,6 +207,7 @@ cnxk_map_actions(struct rte_eth_dev *eth_dev, const struct rte_flow_attr *attr,
 
                case RTE_FLOW_ACTION_TYPE_SECURITY:
                        in_actions[i].type = ROC_NPC_ACTION_TYPE_SEC;
+                       in_actions[i].conf = actions->conf;
                        break;
                case RTE_FLOW_ACTION_TYPE_OF_POP_VLAN:
                        in_actions[i].type = ROC_NPC_ACTION_TYPE_VLAN_STRIP;