octeontx2-af: add support for custom KPU entries
[linux-2.6-microblaze.git] / drivers / net / ethernet / marvell / octeontx2 / af / rvu.h
index c2cc480..fb14252 100644 (file)
@@ -386,6 +386,7 @@ struct npc_kpu_profile_adapter {
        const struct npc_kpu_profile_action     *ikpu; /* array[pkinds] */
        const struct npc_kpu_profile    *kpu; /* array[kpus] */
        struct npc_mcam_kex             *mkex;
+       bool                            custom;
        size_t                          pkinds;
        size_t                          kpus;
 };
@@ -435,9 +436,12 @@ struct rvu {
        struct mutex            cgx_cfg_lock; /* serialize cgx configuration */
 
        char mkex_pfl_name[MKEX_NAME_LEN]; /* Configured MKEX profile name */
+       char kpu_pfl_name[KPU_NAME_LEN]; /* Configured KPU profile name */
 
        /* Firmware data */
        struct rvu_fwdata       *fwdata;
+       void                    *kpu_fwdata;
+       size_t                  kpu_fwdata_sz;
 
        /* NPC KPU data */
        struct npc_kpu_profile_adapter kpu;