mbox series

[v1,0/3] refactoring ring library

Message ID 20201221111359.22013-1-feifei.wang2@arm.com (mailing list archive)
Headers show
Series refactoring ring library | expand

Message

Feifei Wang Dec. 21, 2020, 11:13 a.m. UTC
Do some work for ring refactoring, which includes:
1. add rte prefix before update tail API
2. Move all private APIs into new header files

Feifei Wang (3):
  test/ring: reduce iteration numbers to make test duration shorter
  ring: add rte prefix before update tail API
  ring: rename and refactor ring library

 app/test/test_ring_perf.c                     |   2 +-
 lib/librte_ring/meson.build                   |  15 +-
 .../{rte_ring_c11_mem.h => ring_c11_pvt.h}    |  13 +-
 lib/librte_ring/ring_elem_pvt.h               | 385 ++++++++++++++++++
 ...{rte_ring_generic.h => ring_generic_pvt.h} |  10 +-
 ...ring_hts_c11_mem.h => ring_hts_elem_pvt.h} |  88 +++-
 ...ng_peek_c11_mem.h => ring_peek_elem_pvt.h} |  75 +++-
 ...ring_rts_c11_mem.h => ring_rts_elem_pvt.h} |  88 +++-
 lib/librte_ring/rte_ring_elem.h               | 374 +----------------
 lib/librte_ring/rte_ring_hts.h                |  84 +---
 lib/librte_ring/rte_ring_peek.h               |  71 +---
 lib/librte_ring/rte_ring_peek_zc.h            |   2 +-
 lib/librte_ring/rte_ring_rts.h                |  84 +---
 13 files changed, 651 insertions(+), 640 deletions(-)
 rename lib/librte_ring/{rte_ring_c11_mem.h => ring_c11_pvt.h} (94%)
 create mode 100644 lib/librte_ring/ring_elem_pvt.h
 rename lib/librte_ring/{rte_ring_generic.h => ring_generic_pvt.h} (95%)
 rename lib/librte_ring/{rte_ring_hts_c11_mem.h => ring_hts_elem_pvt.h} (60%)
 rename lib/librte_ring/{rte_ring_peek_c11_mem.h => ring_peek_elem_pvt.h} (62%)
 rename lib/librte_ring/{rte_ring_rts_c11_mem.h => ring_rts_elem_pvt.h} (62%)