RFC static logtype removal
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest17 patches 0 repliesNew
- v1 RFC13 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | doc: document intention to deprecate RTE_LOGTYPE_USER*doc/ doc/ | +5 | 0 replies | |
| 2/17 | ip_frag: use a dynamic logtypelib/ lib/ lib/ +2 more | +138 | 0 replies | |
| 3/17 | reorder: use a dynamic logtypelib/ | +19 | 0 replies | |
| 4/17 | latencystats: use dynamic logtypelib/ | +28 | 0 replies | |
| 5/17 | gso: remove logtypelib/ lib/ lib/ | +2 | 0 replies | |
| 6/17 | log: drop unused RTE_LOGTYPE_TIMERlib/ lib/ | +1 | 0 replies | |
| 7/17 | efd: replace RTE_LOGTYPE_EFD with local typelib/ lib/ lib/ | +52 | 0 replies | |
| 8/17 | mbuf: replace RTE_LOGTYPE_MBUF with dynamic typelib/ lib/ lib/ +3 more | +34 | 0 replies | |
| 9/17 | acl: replace LOGTYPE_ACL with dynamic typeapp/ lib/ lib/ +5 more | +61 | 0 replies | |
| 10/17 | power: replace RTE_LOGTYPE_POWER with dynamic typelib/ lib/ lib/ +10 more | +365 | 0 replies | |
| 11/17 | ring: replace RTE_LOGTYPE_RING with dynamic typelib/ lib/ lib/ | +20 | 0 replies | |
| 12/17 | mempool: replace RTE_LOGTYPE_MEMPOOL with dynamic typelib/ lib/ lib/ +2 more | +35 | 0 replies | |
| 13/17 | lpm: replace RTE_LOGTYPE_LPM with dynamic typeslib/ lib/ lib/ +5 more | +79 | 0 replies | |
| 14/17 | kni: replace RTE_LOGTYPE_KNI with dynamic typelib/ lib/ lib/ | +35 | 0 replies | |
| 15/17 | hash: replace RTE_LOGTYPE_HASH with dynamic typelib/ lib/ lib/ +5 more | +95 | 0 replies | |
| 16/17 | sched: replace RTE_LOGTYPE_SCHED with dynamic typelib/ lib/ lib/ +2 more | +140 | 0 replies | |
| 17/17 | port: replace RTE_LOGTYPE_PORT with dynamic typelib/ lib/ lib/ +9 more | +164 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFC v2 00/17] static logtype removal
Second draft of removing static log types. This version also fixes abuse of RTE_LOGTYPE_USER1 in some libraries.
May split the USER1 stuff out into seperate patch bundle in later versions.
Still left is the big device driver usage.
Stephen Hemminger (17):
doc: document intention to deprecate RTE_LOGTYPE_USER*
ip_frag: use a dynamic logtype
reorder: use a dynamic logtype
latencystats: use dynamic logtype
gso: remove logtype
log: drop unused RTE_LOGTYPE_TIMER
efd: replace RTE_LOGTYPE_EFD with local type
mbuf: replace RTE_LOGTYPE_MBUF with dynamic type
acl: replace LOGTYPE_ACL with dynamic type
power: replace RTE_LOGTYPE_POWER with dynamic type
ring: replace RTE_LOGTYPE_RING with dynamic type
mempool: replace RTE_LOGTYPE_MEMPOOL with dynamic type
lpm: replace RTE_LOGTYPE_LPM with dynamic types
kni: replace RTE_LOGTYPE_KNI with dynamic type
hash: replace RTE_LOGTYPE_HASH with dynamic type
sched: replace RTE_LOGTYPE_SCHED with dynamic type
port: replace RTE_LOGTYPE_PORT with dynamic type
app/test/test_acl.c | 3 +- .../prog_guide/writing_efficient_code.rst | 3 +- doc/guides/rel_notes/deprecation.rst | 4 + lib/acl/acl_bld.c | 35 ++- lib/acl/acl_gen.c | 20 +- lib/acl/acl_log.h | 13 + lib/acl/rte_acl.c | 14 +- lib/acl/tb_mem.c | 8 +- lib/eal/common/eal_common_log.c | 16 +- lib/eal/include/rte_log.h | 29 +- lib/efd/rte_efd.c | 106 +++---- lib/fib/rte_fib.c | 23 +- lib/fib/rte_fib6.c | 21 +- lib/gso/rte_gso.c | 3 +- lib/hash/rte_cuckoo_hash.c | 60 ++-- lib/hash/rte_fbk_hash.c | 10 +- lib/hash/rte_hash_crc.h | 6 +- lib/hash/rte_thash.c | 53 +++- lib/hash/rte_thash_gfni.h | 24 +- lib/hash/version.map | 4 + lib/ip_frag/ip_frag_common.h | 16 +- lib/ip_frag/ip_frag_internal.c | 174 +++++----- lib/ip_frag/rte_ip_frag_common.c | 13 +- lib/ip_frag/rte_ipv4_reassembly.c | 14 +- lib/ip_frag/rte_ipv6_reassembly.c | 59 ++-- lib/kni/rte_kni.c | 63 ++-- lib/latencystats/rte_latencystats.c | 55 ++-- lib/lpm/rte_lpm.c | 18 +- lib/lpm/rte_lpm6.c | 25 +- lib/mbuf/mbuf_log.h | 10 + lib/mbuf/rte_mbuf.c | 20 +- lib/mbuf/rte_mbuf_dyn.c | 15 +- lib/mbuf/rte_mbuf_pool_ops.c | 5 +- lib/mempool/rte_mempool.c | 33 +- lib/mempool/rte_mempool_log.h | 10 + lib/mempool/rte_mempool_ops.c | 12 +- lib/port/rte_port_ethdev.c | 23 +- lib/port/rte_port_eventdev.c | 23 +- lib/port/rte_port_fd.c | 28 +- lib/port/rte_port_frag.c | 21 +- lib/port/rte_port_kni.c | 22 +- lib/port/rte_port_ras.c | 17 +- lib/port/rte_port_ring.c | 22 +- lib/port/rte_port_sched.c | 16 +- lib/port/rte_port_source_sink.c | 82 ++--- lib/port/rte_port_sym_crypto.c | 22 +- lib/power/guest_channel.c | 48 +-- lib/power/power_acpi_cpufreq.c | 118 +++---- lib/power/power_common.c | 11 +- lib/power/power_common.h | 7 +- lib/power/power_cppc_cpufreq.c | 129 ++++---- lib/power/power_kvm_vm.c | 24 +- lib/power/power_pstate_cpufreq.c | 166 +++++----- lib/power/rte_power.c | 25 +- lib/power/rte_power_empty_poll.c | 36 +-- lib/power/rte_power_intel_uncore.c | 75 ++--- lib/power/rte_power_pmd_mgmt.c | 37 ++- lib/reorder/rte_reorder.c | 35 ++- lib/rib/rte_rib.c | 14 +- lib/rib/rte_rib6.c | 16 +- lib/ring/rte_ring.c | 31 +- lib/sched/rte_pie.c | 16 +- lib/sched/rte_sched.c | 297 +++++++----------- lib/sched/rte_sched_log.h | 11 + 64 files changed, 1273 insertions(+), 1096 deletions(-) create mode 100644 lib/acl/acl_log.h create mode 100644 lib/mbuf/mbuf_log.h create mode 100644 lib/mempool/rte_mempool_log.h create mode 100644 lib/sched/rte_sched_log.h
Signature · 1 line
2.39.1