From: Igor Russkikh Date: Sat, 23 Mar 2019 15:23:36 +0000 (+0000) Subject: net: aquantia: Make RX default frame size 2K X-Git-Tag: v5.4-rc1~1056^2~316^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8bd7e7639dafe13ebc172f3cfbdebea18bd19db6;p=platform%2Fkernel%2Flinux-rpi.git net: aquantia: Make RX default frame size 2K This correlates with default internet MTU. This also allows page flip/reuse to be activated, since each allocated RX page now serves for two frags/packets. Signed-off-by: Igor Russkikh Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_cfg.h b/drivers/net/ethernet/aquantia/atlantic/aq_cfg.h index 551c5cc1714b..0dc18f5f381d 100644 --- a/drivers/net/ethernet/aquantia/atlantic/aq_cfg.h +++ b/drivers/net/ethernet/aquantia/atlantic/aq_cfg.h @@ -34,7 +34,7 @@ #define AQ_CFG_TCS_MAX 8U #define AQ_CFG_TX_FRAME_MAX (16U * 1024U) -#define AQ_CFG_RX_FRAME_MAX (4U * 1024U) +#define AQ_CFG_RX_FRAME_MAX (2U * 1024U) #define AQ_CFG_TX_CLEAN_BUDGET 256U