diff --git a/hif/src/hif_exec.c b/hif/src/hif_exec.c index 6ea83ec4df..fb4f600c75 100644 --- a/hif/src/hif_exec.c +++ b/hif/src/hif_exec.c @@ -20,6 +20,8 @@ #include #include +static struct hif_exec_context *hif_exec_tasklet_create(void); + /** * hif_print_napi_stats() - print NAPI stats * @hif_ctx: hif context diff --git a/hif/src/hif_napi.h b/hif/src/hif_napi.h index 0058d59a81..f1ebb5e39f 100644 --- a/hif/src/hif_napi.h +++ b/hif/src/hif_napi.h @@ -97,6 +97,13 @@ enum qca_napi_event { #define NAPI_PIPE2ID(p) ((p)+1) void *hif_napi_get_lro_info(struct hif_opaque_softc *hif_hdl, int napi_id); + +enum qca_blacklist_op { + BLACKLIST_QUERY, + BLACKLIST_OFF, + BLACKLIST_ON +}; + #ifdef FEATURE_NAPI /** @@ -146,12 +153,6 @@ int hif_napi_poll(struct hif_opaque_softc *hif_ctx, #define HNC_ACT_COLLAPSE (1) #define HNC_ACT_DISPERSE (-1) -enum qca_blacklist_op { - BLACKLIST_QUERY, - BLACKLIST_OFF, - BLACKLIST_ON -}; - /** * Local interface to HIF implemented functions of NAPI CPU affinity management. * Note: @@ -173,15 +174,6 @@ enum qca_blacklist_op { #define NAPI_DEBUG(fmt, ...) /* NO-OP */ -static inline int hif_napi_cpu_init(struct hif_opaque_softc *hif) -{ - return 0; -} -static inline int hif_napi_cpu_deinit(struct hif_opaque_softc *hif) -{ - return 0; -} - static inline int hif_napi_create(struct hif_opaque_softc *hif, uint8_t pipe_id, int (*poll)(struct napi_struct *, int),