Skip to content

Commit 34afb4e

Browse files
committed
Merge branch 'cxgb4'
Hariprasad Shenai says: ==================== Add support to dump some hw debug info This patch series adds support to dump sensor info, dump Transport Processor event trace, dump Upper Layer Protocol RX module command trace, dump mailbox contents and dump Transport Processor congestion control configuration. Will send a separate patch series for all the hw stats patches, by moving them to ethtool. The patches series is created against 'net-next' tree. And includes patches on cxgb4 driver. We have included all the maintainers of respective drivers. Kindly review the change and let us know in case of any review comments. V2: Dopped all hw stats related patches. Added a new patch which adds support to dump congestion control table. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
2 parents bdb2748 + bad4379 commit 34afb4e

7 files changed

Lines changed: 564 additions & 0 deletions

File tree

‎drivers/net/ethernet/chelsio/cxgb4/cxgb4.h‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ struct sge_params {
221221
struct tp_params {
222222
unsigned int ntxchan; /* # of Tx channels */
223223
unsigned int tre; /* log2 of core clocks per TP tick */
224+
unsigned int la_mask; /* what events are recorded by TP LA */
224225
unsigned short tx_modq_map; /* TX modulation scheduler queue to */
225226
/* channel map */
226227

@@ -1172,13 +1173,17 @@ void t4_read_cimq_cfg(struct adapter *adap, u16 *base, u16 *size, u16 *thres);
11721173
const char *t4_get_port_type_description(enum fw_port_type port_type);
11731174
void t4_get_port_stats(struct adapter *adap, int idx, struct port_stats *p);
11741175
void t4_read_mtu_tbl(struct adapter *adap, u16 *mtus, u8 *mtu_log);
1176+
void t4_read_cong_tbl(struct adapter *adap, u16 incr[NMTUS][NCCTRL_WIN]);
11751177
void t4_tp_wr_bits_indirect(struct adapter *adap, unsigned int addr,
11761178
unsigned int mask, unsigned int val);
1179+
void t4_tp_read_la(struct adapter *adap, u64 *la_buf, unsigned int *wrptr);
11771180
void t4_tp_get_tcp_stats(struct adapter *adap, struct tp_tcp_stats *v4,
11781181
struct tp_tcp_stats *v6);
11791182
void t4_load_mtus(struct adapter *adap, const unsigned short *mtus,
11801183
const unsigned short *alpha, const unsigned short *beta);
11811184

1185+
void t4_ulprx_read_la(struct adapter *adap, u32 *la_buf);
1186+
11821187
void t4_mk_filtdelwr(unsigned int ftid, struct fw_filter_wr *wr, int qid);
11831188

11841189
void t4_wol_magic_enable(struct adapter *adap, unsigned int port,

0 commit comments

Comments
 (0)