summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX
diff options
context:
space:
mode:
authorDeepak S <deepak.s@linux.intel.com>2018-04-06 04:59:22 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-04-06 04:59:22 +0000
commita343e5c7cabe08cd3fd1c9987f0b49f0fc59ebe2 (patch)
treefc3dbf2a7540ebf66cfd3d161e5d7b904b96d0de /VNFs/DPPD-PROX
parentdc37a42f0ae602139877df9224de01b43f9f0dc3 (diff)
parent97ad420c74ae50a687c328d7817815da36f91c0c (diff)
Merge "Add support for multiple GEN tasks running on the same core"
Diffstat (limited to 'VNFs/DPPD-PROX')
-rw-r--r--VNFs/DPPD-PROX/packet_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/VNFs/DPPD-PROX/packet_utils.c b/VNFs/DPPD-PROX/packet_utils.c
index c22183be..9e5bcde4 100644
--- a/VNFs/DPPD-PROX/packet_utils.c
+++ b/VNFs/DPPD-PROX/packet_utils.c
@@ -159,7 +159,7 @@ void task_init_l3(struct task_base *tbase, struct task_args *targ)
static char hash_name[30];
uint32_t n_entries = MAX_ARP_ENTRIES * 4;
const int socket_id = rte_lcore_to_socket_id(targ->lconf->id);
- sprintf(hash_name, "A%03d_mac_table", targ->lconf->id);
+ sprintf(hash_name, "A%03d_%03d_mac_table", targ->lconf->id, targ->id);
hash_name[0]++;