aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/cxgb4vf/cxgb4vf_main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/cxgb4vf/cxgb4vf_main.c b/drivers/net/cxgb4vf/cxgb4vf_main.c
index 62357191d4e7..47417d400371 100644
--- a/drivers/net/cxgb4vf/cxgb4vf_main.c
+++ b/drivers/net/cxgb4vf/cxgb4vf_main.c
@@ -1346,6 +1346,8 @@ struct queue_port_stats {
1346 u64 rx_csum; 1346 u64 rx_csum;
1347 u64 vlan_ex; 1347 u64 vlan_ex;
1348 u64 vlan_ins; 1348 u64 vlan_ins;
1349 u64 lro_pkts;
1350 u64 lro_merged;
1349}; 1351};
1350 1352
1351/* 1353/*
@@ -1383,6 +1385,8 @@ static const char stats_strings[][ETH_GSTRING_LEN] = {
1383 "RxCsumGood ", 1385 "RxCsumGood ",
1384 "VLANextractions ", 1386 "VLANextractions ",
1385 "VLANinsertions ", 1387 "VLANinsertions ",
1388 "GROPackets ",
1389 "GROMerged ",
1386}; 1390};
1387 1391
1388/* 1392/*
@@ -1432,6 +1436,8 @@ static void collect_sge_port_stats(const struct adapter *adapter,
1432 stats->rx_csum += rxq->stats.rx_cso; 1436 stats->rx_csum += rxq->stats.rx_cso;
1433 stats->vlan_ex += rxq->stats.vlan_ex; 1437 stats->vlan_ex += rxq->stats.vlan_ex;
1434 stats->vlan_ins += txq->vlan_ins; 1438 stats->vlan_ins += txq->vlan_ins;
1439 stats->lro_pkts += rxq->stats.lro_pkts;
1440 stats->lro_merged += rxq->stats.lro_merged;
1435 } 1441 }
1436} 1442}
1437 1443