]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/cnxk/roc_cpt.c
common/cnxk: add missing reserved fields
[dpdk.git] / drivers / common / cnxk / roc_cpt.c
index 8f8e6d382166a1dafdb6b0059f3dc1652accfd0c..1bc7a29ef95f0715b59362e7d18a29d26bfda3d0 100644 (file)
@@ -681,8 +681,10 @@ roc_cpt_lf_ctx_flush(struct roc_cpt_lf *lf, void *cptr, bool inval)
 {
        union cpt_lf_ctx_flush reg;
 
-       if (lf == NULL)
+       if (lf == NULL) {
+               plt_err("Could not trigger CTX flush");
                return -ENOTSUP;
+       }
 
        reg.u = 0;
        reg.s.inval = inval;