The pointer passed to the rq_ctx and sq_ctx functions was the address of qctx. Instead of that qctx should be passed. This patch fixes this. This patch also resolves warning observed with gcc 12 compiler. log: ../drivers/common/cnxk/cnxk_telemetry.h:12:38: warning: array subscript ‘struct nix_cn10k_sq_ctx_s[0]’ is partly outside array bounds of ‘volatile void[8]’ [-Warray-bounds] Bugzilla ID: 853 Fixes: af75aac78978 ("common/cnxk: support telemetry for NIX") Cc: stable@dpdk.org Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com> Reviewed-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com> Reviewed-by: Jerin Jacob <jerinj@marvell.com>
DPDK is a set of libraries and drivers for fast packet processing. It supports many processor architectures and both FreeBSD and Linux. The DPDK uses the Open Source BSD-3-Clause license for the core libraries and drivers. The kernel components are GPL-2.0 licensed. Please check the doc directory for release notes, API documentation, and sample application information. For questions and usage discussions, subscribe to: users@dpdk.org Report bugs and issues to the development mailing list: dev@dpdk.org
Description
Languages
C
99.1%
Meson
0.5%
Python
0.2%
Shell
0.1%