mbox

[v2,0/2] bug fix in ethdev trace

Message ID 20230303113137.2745570-1-adwivedi@marvell.com (mailing list archive)
Headers

Message

Ankur Dwivedi March 3, 2023, 11:31 a.m. UTC
  The first patch in this series adds fix for bug and coverity.
The second patch makes change to pass structure pointer instead of the
structure value, to avoid 64 bytes copy in function call stack for
rte_eth_trace_xstats_get_names.

v2:
- Removed null pointer reference in rte_eth_trace_read_clock and
  rte_flow_trace_create.
- Added Ack by Ferruh in patch (2/2). 

Ankur Dwivedi (2):
  ethdev: fix null pointer dereference
  ethdev: pass structure pointer

 lib/ethdev/ethdev_trace.h | 32 ++++++++++----------------------
 lib/ethdev/rte_ethdev.c   |  2 +-
 2 files changed, 11 insertions(+), 23 deletions(-)