File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
drivers/net/ethernet/meta/fbnic Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -422,16 +422,16 @@ static void fbnic_get_stats64(struct net_device *dev,
422
422
tx_packets = stats -> packets ;
423
423
tx_dropped = stats -> dropped ;
424
424
425
- stats64 -> tx_bytes = tx_bytes ;
426
- stats64 -> tx_packets = tx_packets ;
427
- stats64 -> tx_dropped = tx_dropped ;
428
-
429
425
/* Record drops from Tx HW Datapath */
430
426
tx_dropped += fbd -> hw_stats .tmi .drop .frames .value +
431
427
fbd -> hw_stats .tti .cm_drop .frames .value +
432
428
fbd -> hw_stats .tti .frame_drop .frames .value +
433
429
fbd -> hw_stats .tti .tbi_drop .frames .value ;
434
430
431
+ stats64 -> tx_bytes = tx_bytes ;
432
+ stats64 -> tx_packets = tx_packets ;
433
+ stats64 -> tx_dropped = tx_dropped ;
434
+
435
435
for (i = 0 ; i < fbn -> num_tx_queues ; i ++ ) {
436
436
struct fbnic_ring * txr = fbn -> tx [i ];
437
437
You can’t perform that action at this time.
0 commit comments