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/ice/base: fix build with GCC 11
[dpdk.git]
/
drivers
/
net
/
softnic
/
rte_eth_softnic_meter.c
diff --git
a/drivers/net/softnic/rte_eth_softnic_meter.c
b/drivers/net/softnic/rte_eth_softnic_meter.c
index
acb8b87
..
5831892
100644
(file)
--- a/
drivers/net/softnic/rte_eth_softnic_meter.c
+++ b/
drivers/net/softnic/rte_eth_softnic_meter.c
@@
-17,6
+17,9
@@
softnic_mtr_init(struct pmd_internals *p)
/* Initialize meter profiles list */
TAILQ_INIT(&p->mtr.meter_profiles);
+ /* Initialize meter policies list */
+ TAILQ_INIT(&p->mtr.meter_policies);
+
/* Initialize MTR objects list */
TAILQ_INIT(&p->mtr.mtrs);