* Copyright(C) 2021 Marvell.
*/
#include "cn10k_ethdev.h"
+#include "cn10k_rte_flow.h"
#include "cn10k_rx.h"
#include "cn10k_tx.h"
cnxk_eth_dev_ops.dev_ptypes_set = cn10k_nix_ptypes_set;
}
+static void
+npc_flow_ops_override(void)
+{
+ static int init_once;
+
+ if (init_once)
+ return;
+ init_once = 1;
+
+ /* Update platform specific ops */
+ cnxk_flow_ops.create = cn10k_flow_create;
+ cnxk_flow_ops.destroy = cn10k_flow_destroy;
+}
+
static int
cn10k_nix_remove(struct rte_pci_device *pci_dev)
{
}
nix_eth_dev_ops_override();
+ npc_flow_ops_override();
/* Common probe */
rc = cnxk_nix_probe(pci_drv, pci_dev);