cxgb3 - Update FW to 4.1
Subsystems (2)
PATCH 4/7 cxgb3 - Update FW to 4.1
From: Divy Le Ray <[email protected]>
Bump FW version to 4.1.
Modify chip tuning in consequence.
Signed-off-by Divy Le Ray <[email protected]>
---
drivers/net/cxgb3/regs.h | 4 ++++ drivers/net/cxgb3/t3_hw.c | 42 +++++++++++++++++++++++------------------- drivers/net/cxgb3/version.h | 2 +- 3 files changed, 28 insertions(+), 20 deletions(-)
drivers/net/cxgb3/regs.h +4 -0
@@ -1160,6 +1160,8 @@#define A_TP_MOD_CHANNEL_WEIGHT 0x434 +#define A_TP_MOD_RATE_LIMIT 0x438 +#define A_TP_PIO_ADDR 0x440#define A_TP_PIO_DATA 0x444
@@ -1214,6 +1216,8 @@#define G_TXDROPCNTCH0RCVD (x) (((x) >> S_TXDROPCNTCH0RCVD) & \ M_TXDROPCNTCH0RCVD) +#define A_TP_PROXY_FLOW_CNTL 0x4b0 +#define A_ULPRX_CTL 0x500#define S_ROUND_ROBIN 4
drivers/net/cxgb3/t3_hw.c +23 -19
93 lines not on this page · raw message
drivers/net/cxgb3/version.h +1 -1
@@ -39,6 +39,6 @@/* Firmware version */ #define FW_VERSION_MAJOR 4 -#define FW_VERSION_MINOR 0 +#define FW_VERSION_MINOR 1#define FW_VERSION_MICRO 0#endif /* __CHELSIO_VERSION_H */
Quoted 9 lines · On Sunday 27 May 2007 01:00:04 [email protected] wrote:
From: Divy Le Ray <[email protected]>
Bump FW version to 4.1.
Modify chip tuning in consequence.Signed-off-by Divy Le Ray <[email protected]>---
drivers/net/cxgb3/t3_hw.c static void __devinit init_mtus(unsigned · line 2504
Quoted 10 lines
drivers/net/cxgb3/t3_hw.c +2
-5@@ -2496,11 +2500,11 @@ static void __devinit init_mtus(unsigned* it can accomodate max size TCP/IP headers when SACK and timestamps * are enabled and still have at least 8 bytes of payload. */ - mtus[0 ] =88 ; - mtus[1 ] =256 ; - mtus[2 ] =512 ; - mtus[3 ] =576 ; - mtus[4 ] =808 ; + mtus[1 ] =88 ; + mtus[1 ] =88 ;
looks like a typo.
Quoted 6 lines
drivers/net/cxgb3/t3_hw.c +3
-0+ mtus[2 ] =256 ; + mtus[3 ] =512 ; + mtus[4 ] =576 ; mtus[5 ] =1024 ; mtus[6 ] =1280 ; mtus[7 ] =1492 ;
Signature · 1 line
Greetings Michael.
Quoted 12 lines · Michael Buesch
Quoted 8 lines · On Sunday 27 May 2007 01:00:04 [email protected] wrote:
From: Divy Le Ray <[email protected]>
Bump FW version to 4.1.
Modify chip tuning in consequence.Signed-off-by Divy Le Ray <[email protected]>---
Quoted 15 lines
drivers/net/cxgb3/t3_hw.c static void __devinit init_mtus(unsigned · line 2505
Quoted 12 lines
drivers/net/cxgb3/t3_hw.c +2
-5@@ -2496,11 +2500,11 @@ static void __devinit init_mtus(unsigned* it can accomodate max size TCP/IP headers when SACK and timestamps * are enabled and still have at least 8 bytes of payload. */ - mtus[0 ] =88 ; - mtus[1 ] =256 ; - mtus[2 ] =512 ; - mtus[3 ] =576 ; - mtus[4 ] =808 ; + mtus[1 ] =88 ; + mtus[1 ] =88 ;looks like a typo.
Good catch. The intent was to set mtu[0] and mtu[1] to 88. I'll resubmit this patch.
Thanks!
Divy