Skip to content

Commit db44c60

Browse files
Bixuan Cuidavem330
authored andcommitted
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 <[email protected]> Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent befc113 commit db44c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/neterion/vxge/vxge-main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ static inline void VXGE_COMPLETE_VPATH_TX(struct vxge_fifo *fifo)
9898
{
9999
struct sk_buff **skb_ptr = NULL;
100100
struct sk_buff **temp;
101-
#define NR_SKB_COMPLETED 128
101+
#define NR_SKB_COMPLETED 16
102102
struct sk_buff *completed[NR_SKB_COMPLETED];
103103
int more;
104104

0 commit comments

Comments
 (0)