numam-dpdk/drivers/net/qede
Thomas Monjalon 11c2e4b41c net/qede: fix minsize build
Error occurs when configuring meson with --buildtype=minsize
with GCC 11.1.0:

In function ‘__internal_ram_wr_relaxed’,
    inlined from ‘internal_ram_wr’ at ecore_int_api.h:166:2,
    inlined from ‘qede_update_rx_prod.constprop’ at qede_rxtx.c:736:2:
drivers/net/qede/base/bcm_osal.h:136:9: error:
‘rx_prods’ is used uninitialized [-Werror=uninitialized]
|         rte_write32_relaxed((_val), (_reg_addr))
|         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecore_int_api.h:151:17: note: in expansion of macro ‘DIRECT_REG_WR_RELAXED’
|                 DIRECT_REG_WR_RELAXED(p_hwfn, &((u32 OSAL_IOMEM *)addr)[i],
|                 ^~~~~~~~~~~~~~~~~~~~~
drivers/net/qede/qede_rxtx.c: In function ‘qede_update_rx_prod.constprop’:
drivers/net/qede/qede_rxtx.c:724:33: note: ‘rx_prods’ declared here
|         struct eth_rx_prod_data rx_prods = { 0 };
|                                 ^~~~~~~~

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Devendra Singh Rawat <dsinghrawat@marvell.com>
Acked-by: Rasesh Mody <rmody@marvell.com>
2021-09-15 17:11:56 +02:00
..
base net: add macro for MAC address print 2021-09-07 19:07:46 +02:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
qede_debug.c net/qede: add infrastructure for debug data collection 2020-07-11 06:18:53 +02:00
qede_debug.h net/qede: add infrastructure for debug data collection 2020-07-11 06:18:53 +02:00
qede_ethdev.c net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
qede_ethdev.h ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
qede_filter.c ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
qede_if.h net/qede: configure VFs on hardware 2020-09-30 19:19:11 +02:00
qede_logs.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
qede_main.c eal: handle compressed firmware 2021-07-07 16:41:53 +02:00
qede_regs.c drivers/net: fix port id size 2020-09-30 19:19:15 +02:00
qede_rxtx.c net/qede: fix minsize build 2021-09-15 17:11:56 +02:00
qede_rxtx.h net/qede: remove unnecessary field in Rx entry and simplify 2021-03-27 15:00:57 +01:00
qede_sriov.c net/qede: support VF FLR 2020-09-30 19:19:11 +02:00
qede_sriov.h net/qede: initialize VF MAC and link 2020-09-30 19:19:11 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00