diff options
author | Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> | 2018-01-02 10:18:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-03 18:57:59 +0300 |
commit | be6e36d916b1f7e6b0aec42d49cb5d5ea9590dff (patch) | |
tree | c502fb27a7e3ae0d5cafb1a5dafd28f11e12940d /drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | |
parent | 1d641bd381ceeb62e1df3aa3c68c8d98127fc287 (diff) | |
download | linux-be6e36d916b1f7e6b0aec42d49cb5d5ea9590dff.tar.xz |
cxgb4: collect TX rate limit info in UP CIM logs
Collect TX rate limiting related information in UP CIM logs.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@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 f6701e0a6701..863bc29153d9 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h +++ b/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h @@ -45,6 +45,9 @@ #define PF_BASE(idx) (PF0_BASE + (idx) * PF_STRIDE) #define PF_REG(idx, reg) (PF_BASE(idx) + (reg)) +#define NUM_CIM_CTL_TSCH_CHANNEL_INSTANCES 4 +#define NUM_CIM_CTL_TSCH_CHANNEL_TSCH_CLASS_INSTANCES 16 + #define MYPORT_BASE 0x1c000 #define MYPORT_REG(reg_addr) (MYPORT_BASE + (reg_addr)) |