From: Bruce Allan Date: Fri, 16 Dec 2011 00:46:43 +0000 (+0000) Subject: e1000e: increase Rx PBA to prevent dropping received packets on 82566/82567 X-Git-Tag: v2.6.39-400.9.0~423^2~19^2~11^2~355 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a34d3d330700ee0d8f97b97eef03b1590ed87d1d;p=users%2Fjedix%2Flinux-maple.git e1000e: increase Rx PBA to prevent dropping received packets on 82566/82567 During bi-directional stress on some 82566/82567 devices, some received packets were dropped. Increasing the Receive Packet Buffer Allocation resolves this. (cherry picked from commit 7f1557e1422a4cc842af641c6716714751c06865) Signed-off-by: Bruce Allan Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher Signed-off-by: Joe Jin --- diff --git a/drivers/net/e1000e/ich8lan.c b/drivers/net/e1000e/ich8lan.c index 99b9d88237543..8205b4fe45a6e 100644 --- a/drivers/net/e1000e/ich8lan.c +++ b/drivers/net/e1000e/ich8lan.c @@ -4101,7 +4101,7 @@ struct e1000_info e1000_ich9_info = { | FLAG_HAS_AMT | FLAG_HAS_FLASH | FLAG_APME_IN_WUC, - .pba = 10, + .pba = 18, .max_hw_frame_size = DEFAULT_JUMBO, .get_variants = e1000_get_variants_ich8lan, .mac_ops = &ich8_mac_ops, @@ -4118,7 +4118,7 @@ struct e1000_info e1000_ich10_info = { | FLAG_HAS_AMT | FLAG_HAS_FLASH | FLAG_APME_IN_WUC, - .pba = 10, + .pba = 18, .max_hw_frame_size = DEFAULT_JUMBO, .get_variants = e1000_get_variants_ich8lan, .mac_ops = &ich8_mac_ops,