]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Improve the stack space of filter_config()
authorShai Malin <smalin@marvell.com>
Mon, 13 Sep 2021 07:50:24 +0000 (10:50 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Sep 2021 11:41:32 +0000 (12:41 +0100)
commitd02520bab413abfc483dfea79d2168f9d9d6ecb1
tree696ca10cd8d47e8281897c44327a61f92d3f3695
parent05a8392bd09987d19774312153af30b615ed507f
qed: Improve the stack space of filter_config()

As it was reported and discussed in: https://lore.kernel.org/lkml/CAHk-=whF9F89vsfH8E9TGc0tZA-yhzi2Di8wOtquNB5vRkFX5w@mail.gmail.com/
This patch improves the stack space of qede_config_rx_mode() by
splitting filter_config() to 3 functions and removing the
union qed_filter_type_params.

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Shai Malin <smalin@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_l2.c
drivers/net/ethernet/qlogic/qede/qede_filter.c
include/linux/qed/qed_eth_if.h