DPDK Bangalore has ended
Back To Schedule
Friday, March 9 • 12:10pm - 12:25pm
DPDK Data Plane Corruption

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

DPDK worker threads are the Linux threads. Thread level MMU protection does NOT exist. All the worker-threads of the primary-process has access to stack and heap memory of all the other worker-threads, one thread can corrupt the other thread’s stack and heap-allocated memory. Worker-thread’s stack corruption prevention and detection can be achieved by provisioning the stack-memory from the mem-zone, the dynamically allocated objects can be allocated from the mem-zone instead of the heap. This allows protecting the thread’s stack and allows checking the corruption by dumping the mem-zones at the runtime.Any accidental Data-plane tables corruption can be prevented by using some of the general 'C' programming features and centralizing the data-plane object updates. Data-plane tables can be safe-guarded by placing each of them in individual mem-zones and surrounding it by the memory-guard-bands. This allows user to dump the complete table in one go and easily identify the table corruption. Memory guard-band allows user to identify any out-of-bound access for the tables.

avatar for Amol Patel

Amol Patel

Sys App Eng Manager, Intel

Friday March 9, 2018 12:10pm - 12:25pm PST
Leela Palace