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
net/softnic: update DSCP table
[dpdk.git]
/
drivers
/
net
/
softnic
/
rte_eth_softnic_pipeline.c
diff --git
a/drivers/net/softnic/rte_eth_softnic_pipeline.c
b/drivers/net/softnic/rte_eth_softnic_pipeline.c
index
17830d3
..
3d37ba3
100644
(file)
--- a/
drivers/net/softnic/rte_eth_softnic_pipeline.c
+++ b/
drivers/net/softnic/rte_eth_softnic_pipeline.c
@@
-1000,6
+1000,7
@@
softnic_pipeline_table_create(struct pmd_internals *softnic,
table->a = action;
TAILQ_INIT(&table->flows);
TAILQ_INIT(&table->meter_profiles);
+ memset(&table->dscp_table, 0, sizeof(table->dscp_table));
pipeline->n_tables++;
return 0;