File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
drivers/net/ethernet/chelsio/cxgb4 Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,15 @@ static char adapter_stats_strings[][ETH_GSTRING_LEN] = {
106
106
"db_empty " ,
107
107
"write_coal_success " ,
108
108
"write_coal_fail " ,
109
+ #ifdef CONFIG_CHELSIO_TLS_DEVICE
110
+ "tx_tls_encrypted_packets" ,
111
+ "tx_tls_encrypted_bytes " ,
112
+ "tx_tls_ctx " ,
113
+ "tx_tls_ooo " ,
114
+ "tx_tls_skip_no_sync_data" ,
115
+ "tx_tls_drop_no_sync_data" ,
116
+ "tx_tls_drop_bypass_req " ,
117
+ #endif
109
118
};
110
119
111
120
static char loopback_stats_strings [][ETH_GSTRING_LEN ] = {
@@ -232,6 +241,15 @@ struct adapter_stats {
232
241
u64 db_empty ;
233
242
u64 wc_success ;
234
243
u64 wc_fail ;
244
+ #ifdef CONFIG_CHELSIO_TLS_DEVICE
245
+ u64 tx_tls_encrypted_packets ;
246
+ u64 tx_tls_encrypted_bytes ;
247
+ u64 tx_tls_ctx ;
248
+ u64 tx_tls_ooo ;
249
+ u64 tx_tls_skip_no_sync_data ;
250
+ u64 tx_tls_drop_no_sync_data ;
251
+ u64 tx_tls_drop_bypass_req ;
252
+ #endif
235
253
};
236
254
237
255
static void collect_sge_port_stats (const struct adapter * adap ,
You can’t perform that action at this time.
0 commit comments