mbox

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

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

Message

Ankur Dwivedi Feb. 23, 2023, 12:30 p.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.

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

 lib/ethdev/ethdev_trace.h | 33 +++++++++------------------------
 lib/ethdev/rte_ethdev.c   |  2 +-
 2 files changed, 10 insertions(+), 25 deletions(-)