OpenCloudOS-Kernel/drivers/net/ethernet/huawei/hinic
Arnd Bergmann f7110b753b hinic: reduce rss_init stack usage
On 32-bit architectures, putting an array of 256 u32 values on the
stack uses more space than the warning limit:

drivers/net/ethernet/huawei/hinic/hinic_main.c: In function 'hinic_rss_init':
drivers/net/ethernet/huawei/hinic/hinic_main.c:286:1: error: the frame size of 1068 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]

I considered changing the code to use u8 values here, since that's
all the hardware supports, but dynamically allocating the array is
a more isolated fix here.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-28 09:30:05 -07:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile hinic: move ethtool code into hinic_ethtool 2019-06-18 21:52:27 -04:00
hinic_common.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_common.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_dev.h hinic: add support for rss parameters with ethtool 2019-06-18 21:52:27 -04:00
hinic_ethtool.c hinic: implement the statistical interface of ethtool 2019-06-24 07:18:11 -07:00
hinic_hw_api_cmd.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_api_cmd.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_cmdq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_cmdq.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_csr.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_dev.c hinic: add rss support 2019-06-18 21:52:27 -04:00
hinic_hw_dev.h hinic: implement the statistical interface of ethtool 2019-06-24 07:18:11 -07:00
hinic_hw_eqs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_eqs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_if.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_if.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_io.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-06-17 20:20:36 -07:00
hinic_hw_io.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_mgmt.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_mgmt.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_qp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_qp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_qp_ctxt.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-06-17 20:20:36 -07:00
hinic_hw_wq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_wq.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hinic_hw_wqe.h hinic: add rss support 2019-06-18 21:52:27 -04:00
hinic_main.c hinic: reduce rss_init stack usage 2019-06-28 09:30:05 -07:00
hinic_port.c hinic: implement the statistical interface of ethtool 2019-06-24 07:18:11 -07:00
hinic_port.h hinic: implement the statistical interface of ethtool 2019-06-24 07:18:11 -07:00
hinic_rx.c hinic: implement the statistical interface of ethtool 2019-06-24 07:18:11 -07:00
hinic_rx.h hinic: implement the statistical interface of ethtool 2019-06-24 07:18:11 -07:00
hinic_tx.c hinic: implement the statistical interface of ethtool 2019-06-24 07:18:11 -07:00
hinic_tx.h hinic: implement the statistical interface of ethtool 2019-06-24 07:18:11 -07:00