diff options
author | Igor Russkikh <Igor.Russkikh@aquantia.com> | 2019-03-23 15:23:36 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-23 22:16:53 -0400 |
commit | 8bd7e7639dafe13ebc172f3cfbdebea18bd19db6 (patch) | |
tree | 8e8854c4ab3f76d389d2d075afa5b2f4310c1a01 /drivers | |
parent | 9773ef18b83d8acc5862ea7e727d6e4d52846dd7 (diff) | |
download | linux-8bd7e7639dafe13ebc172f3cfbdebea18bd19db6.tar.bz2 |
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 <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/aquantia/atlantic/aq_cfg.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |