Project

General

Profile

Actions

Support #1895

closed

changing suricata api's to dpdk

Added by Rahul Surya about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Affected Versions:
Label:

Description

when i change suricata api's malloc,free to rte_malloc,rte_free of dpdk compatible api's we are facing the error in free functions.do u have any idea of changing the api's means can we?

Actions #1

Updated by Victor Julien about 8 years ago

Can you show your code changes and the errors?

Actions #2

Updated by Rahul Surya about 8 years ago

Victor Julien wrote:

Can you show your code changes and the errors?

in src/util-mem.h i changed the malloc(SCMalloc function) to rte_malloc and free(SCFree function) to rte_free,then after running it is getting crash at "SCFree(sc_lid->global_log_format)" in util-debug.c file.

Actions #3

Updated by Andreas Herz about 8 years ago

  • Assignee set to Anonymous
  • Target version set to TBD

Can you be more specific about what you did?

- how did you compile/include dpdk?
- what error messages (if they're verbose) do you get?

Actions #4

Updated by Victor Julien almost 8 years ago

  • Tracker changed from Optimization to Support
  • Status changed from New to Closed
  • Assignee deleted (Anonymous)
  • Target version deleted (TBD)
Actions

Also available in: Atom PDF