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
table: relax requirements for entry action data
[dpdk.git]
/
lib
/
librte_pipeline
/
rte_swx_ctl.c
diff --git
a/lib/librte_pipeline/rte_swx_ctl.c
b/lib/librte_pipeline/rte_swx_ctl.c
index
2e4538b
..
ca30767
100644
(file)
--- a/
lib/librte_pipeline/rte_swx_ctl.c
+++ b/
lib/librte_pipeline/rte_swx_ctl.c
@@
-338,8
+338,7
@@
table_entry_check(struct rte_swx_ctl_pipeline *ctl,
/* action_data. */
a = &ctl->actions[entry->action_id];
- CHECK((a->data_size && entry->action_data) ||
- (!a->data_size && !entry->action_data), EINVAL);
+ CHECK(!(a->data_size && !entry->action_data), EINVAL);
}
return 0;