mirror_ubuntu-kernels/drivers/net/ethernet/qlogic/qed
Arnd Bergmann 7c116e02a4 qed: reduce maximum stack frame size
clang warns about an overly large stack frame in one function
when it decides to inline all __qed_get_vport_*() functions into
__qed_get_vport_stats():

drivers/net/ethernet/qlogic/qed/qed_l2.c:1889:13: error: stack frame size of 1128 bytes in function '_qed_get_vport_stats' [-Werror,-Wframe-larger-than=]

Use a noinline_for_stack annotation to prevent clang from inlining
these, which keeps the maximum stack usage at around half of that
in the worst case, similar to what we get with gcc.

Fixes: 86622ee753 ("qed: Move statistics to L2 code")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-07-24 15:46:11 -07:00
..
Makefile
qed_cxt.c qed: Modify api for performing a dmae to another PF 2019-05-26 13:04:11 -07:00
qed_cxt.h
qed_dcbx.c qed: Define new MF bit for no_vlan config 2019-03-20 11:12:50 -07:00
qed_dcbx.h qed: Do not add VLAN 0 tag to untagged frames in multi-function mode. 2018-09-19 23:12:24 -07:00
qed_debug.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-06-17 20:20:36 -07:00
qed_debug.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 440 2019-06-05 17:37:17 +02:00
qed_dev_api.h qed: Add llh ppfid interface and 100g support for offload protocols 2019-05-26 13:04:11 -07:00
qed_dev.c qed: Fix -Wmaybe-uninitialized false positive 2019-06-18 10:44:21 -07:00
qed_fcoe.c qed: Modify offload protocols to use the affined engine 2019-05-26 13:04:11 -07:00
qed_fcoe.h
qed_hsi.h qed: Add llh ppfid interface and 100g support for offload protocols 2019-05-26 13:04:11 -07:00
qed_hw.c qed: Modify api for performing a dmae to another PF 2019-05-26 13:04:11 -07:00
qed_hw.h
qed_init_fw_funcs.c qed: remove redundant functions qed_set_gft_event_id_cm_hdr 2018-07-29 08:33:30 -07:00
qed_init_ops.c qed: Modify api for performing a dmae to another PF 2019-05-26 13:04:11 -07:00
qed_init_ops.h
qed_int.c qed: Modify api for performing a dmae to another PF 2019-05-26 13:04:11 -07:00
qed_int.h qed: Delete redundant doorbell recovery types 2019-04-14 13:59:48 -07:00
qed_iscsi.c qed: Modify offload protocols to use the affined engine 2019-05-26 13:04:11 -07:00
qed_iscsi.h
qed_iwarp.c qed: iWARP - Fix default window size to be based on chip 2019-06-14 19:23:30 -07:00
qed_iwarp.h qed: Add llh ppfid interface and 100g support for offload protocols 2019-05-26 13:04:11 -07:00
qed_l2.c qed: reduce maximum stack frame size 2019-07-24 15:46:11 -07:00
qed_l2.h qed: Fix LACP pdu drops for VFs 2019-01-28 11:13:34 -08:00
qed_ll2.c qedr: Change the MSI-X vectors selection to be based on affined engine 2019-05-26 13:04:11 -07:00
qed_ll2.h qed: Register light L2 queues with doorbell overflow recovery mechanism 2018-11-30 13:45:13 -08:00
qed_main.c qed: Add qed devlink parameters table 2019-05-26 13:04:12 -07:00
qed_mcp.c qed: Add llh ppfid interface and 100g support for offload protocols 2019-05-26 13:04:11 -07:00
qed_mcp.h qed: Add llh ppfid interface and 100g support for offload protocols 2019-05-26 13:04:11 -07:00
qed_mng_tlv.c
qed_ooo.c qed: Remove set but not used variable 'p_archipelago' 2018-09-28 10:25:11 -07:00
qed_ooo.h
qed_ptp.c qed: Add support for Timestamping the unicast PTP packets. 2019-07-03 11:30:41 -07:00
qed_rdma.c qed: Prefer pcie_capability_read_word() 2019-07-21 13:29:47 -07:00
qed_rdma.h drivers/net/ethernet/qlogic/qed/qed_rdma.h: fix typo 2018-11-15 16:21:00 -08:00
qed_reg_addr.h qed: Add llh ppfid interface and 100g support for offload protocols 2019-05-26 13:04:11 -07:00
qed_roce.c qed: Fix SPQ entries not returned to pool in error flows 2018-11-08 19:38:19 -08:00
qed_roce.h
qed_selftest.c
qed_selftest.h
qed_sp_commands.c qed: remove redundant assignment to rc 2019-06-02 17:51:03 -07:00
qed_sp.h qed: Fix EQ full firmware assert. 2019-02-06 16:53:32 -08:00
qed_spq.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
qed_sriov.c qed: Modify api for performing a dmae to another PF 2019-05-26 13:04:11 -07:00
qed_sriov.h
qed_vf.c qed: Fix VF probe failure while FLR 2019-01-28 11:13:34 -08:00
qed_vf.h qed: Correct Multicast API to reflect existence of 256 approximate buckets. 2018-07-21 16:19:04 -07:00
qed.h qed: Add qed devlink parameters table 2019-05-26 13:04:12 -07:00