git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common/cnxk: add missing reserved fields
[dpdk.git]
/
drivers
/
common
/
cnxk
/
roc_cpt.c
diff --git
a/drivers/common/cnxk/roc_cpt.c
b/drivers/common/cnxk/roc_cpt.c
index
8f8e6d3
..
1bc7a29
100644
(file)
--- a/
drivers/common/cnxk/roc_cpt.c
+++ b/
drivers/common/cnxk/roc_cpt.c
@@
-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;