diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-02-06 09:02:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-08 01:52:39 -0500 |
commit | bad4379263d2c2442f5273adc856dd67e4274f3f (patch) | |
tree | eaee8c8a3ec8c75dce02aac7888b519aed4bd12e /drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | |
parent | bf7c781d576823e5d71f40585aeeac430a1845c8 (diff) |
cxgb4: Add support in debugfs to dump the congestion control table
Dump Transport Processor modules congestion control configuration
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/t4_regs.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h b/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h index 3f18d5c5e7f0..231a725f6d5d 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h +++ b/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | |||
@@ -1292,6 +1292,9 @@ | |||
1292 | #define KEEPALIVEMAXR2_V(x) ((x) << KEEPALIVEMAXR2_S) | 1292 | #define KEEPALIVEMAXR2_V(x) ((x) << KEEPALIVEMAXR2_S) |
1293 | #define KEEPALIVEMAXR2_G(x) (((x) >> KEEPALIVEMAXR2_S) & KEEPALIVEMAXR2_M) | 1293 | #define KEEPALIVEMAXR2_G(x) (((x) >> KEEPALIVEMAXR2_S) & KEEPALIVEMAXR2_M) |
1294 | 1294 | ||
1295 | #define ROWINDEX_S 16 | ||
1296 | #define ROWINDEX_V(x) ((x) << ROWINDEX_S) | ||
1297 | |||
1295 | #define TP_CCTRL_TABLE_A 0x7ddc | 1298 | #define TP_CCTRL_TABLE_A 0x7ddc |
1296 | #define TP_MTU_TABLE_A 0x7de4 | 1299 | #define TP_MTU_TABLE_A 0x7de4 |
1297 | 1300 | ||