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: support per-port RQ in inline device
[dpdk.git]
/
drivers
/
net
/
cnxk
/
cnxk_ethdev_mtr.c
diff --git
a/drivers/net/cnxk/cnxk_ethdev_mtr.c
b/drivers/net/cnxk/cnxk_ethdev_mtr.c
index
c8183aa
..
02803bd
100644
(file)
--- a/
drivers/net/cnxk/cnxk_ethdev_mtr.c
+++ b/
drivers/net/cnxk/cnxk_ethdev_mtr.c
@@
-288,7
+288,7
@@
cnxk_nix_mtr_profile_delete(struct rte_eth_dev *eth_dev, uint32_t profile_id,
static int
update_mtr_err(uint32_t act_color, struct rte_mtr_error *error, bool action)
{
static int
update_mtr_err(uint32_t act_color, struct rte_mtr_error *error, bool action)
{
- const char *str;
+ const char *str
= NULL
;
switch (act_color) {
case RTE_COLOR_GREEN:
if (action) {
switch (act_color) {
case RTE_COLOR_GREEN:
if (action) {