Project

General

Profile

Actions

Support #1895

closed
RS

changing suricata api's to dpdk

Support #1895: changing suricata api's to dpdk

Added by Rahul Surya over 9 years ago. Updated about 9 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?

VJ Updated by Victor Julien over 9 years ago Actions #1

Can you show your code changes and the errors?

RS Updated by Rahul Surya over 9 years ago Actions #2

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.

AH Updated by Andreas Herz over 9 years ago Actions #3

  • 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?

VJ Updated by Victor Julien about 9 years ago Actions #4

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

Also available in: PDF Atom