net/cnxk: support flow API
[dpdk.git] / drivers / net / cnxk / cnxk_ethdev.h
index 1c4403c..b7869b4 100644 (file)
@@ -133,6 +133,9 @@ struct cnxk_eth_dev {
        /* ROC NIX */
        struct roc_nix nix;
 
+       /* ROC NPC */
+       struct roc_npc npc;
+
        /* ROC RQs, SQs and CQs */
        struct roc_nix_rq *rqs;
        struct roc_nix_sq *sqs;
@@ -230,6 +233,9 @@ cnxk_eth_txq_to_sp(void *__txq)
 /* Common ethdev ops */
 extern struct eth_dev_ops cnxk_eth_dev_ops;
 
+/* Common flow ops */
+extern struct rte_flow_ops cnxk_flow_ops;
+
 /* Ops */
 int cnxk_nix_probe(struct rte_pci_driver *pci_drv,
                   struct rte_pci_device *pci_dev);