]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: neterion: vxge: reduce stack usage in VXGE_COMPLETE_VPATH_TX
authorBixuan Cui <cuibixuan@huawei.com>
Mon, 20 Jul 2020 01:58:39 +0000 (09:58 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 01:38:27 +0000 (18:38 -0700)
commitdb44c60c45aa533c92394c778247cfe8bdd66134
treea6910d426572e0df523b7bbb1858963865e2e840
parentbefc113c56a76ae7be3986034a0e476d3385e265
net: neterion: vxge: reduce stack usage in VXGE_COMPLETE_VPATH_TX

Fix the warning: [-Werror=-Wframe-larger-than=]

drivers/net/ethernet/neterion/vxge/vxge-main.c:
In function'VXGE_COMPLETE_VPATH_TX.isra.37':
drivers/net/ethernet/neterion/vxge/vxge-main.c:119:1:
warning: the frame size of 1056 bytes is larger than 1024 bytes

Dropping the NR_SKB_COMPLETED to 16 is appropriate that won't
have much impact on performance and functionality.

Signed-off-by: Bixuan Cui <cuibixuan@huawei.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/neterion/vxge/vxge-main.c