diff options
author | Igor Shaula <igor.shaula@intel.com> | 2018-03-30 14:05:50 +0200 |
---|---|---|
committer | Deepak S <deepak.s@linux.intel.com> | 2018-04-20 16:27:52 +0530 |
commit | a1f3cfd96c907f56ca586dc526974aa9b0f79295 (patch) | |
tree | fc3dbf2a7540ebf66cfd3d161e5d7b904b96d0de /VNFs | |
parent | 40ef9b6868796a4c3c0dc5b307cd7a40aa3fbf4c (diff) |
Add support for multiple GEN tasks running on the same core
resolve memory allocation issue
Change-Id: I90bbf711a6a7a4869e5024c061470d9779839a60
Signed-off-by: Igor Shaula <igor.shaula@intel.com>
Diffstat (limited to 'VNFs')
-rw-r--r-- | VNFs/DPPD-PROX/packet_utils.c | 2 |
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]++; |