Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224151
b: refs/heads/master
c: f12fe35
h: refs/heads/master
i:
  224149: 7a3e0b4
  224147: 1c6f726
  224143: a6cedc3
v: v3
  • Loading branch information
Casey Leedom authored and David S. Miller committed Nov 15, 2010
1 parent 6aab978 commit 592f768
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: caedda35c6dba5a283e5d87e77a8d19ee4be3183
refs/heads/master: f12fe3536bebcbd2ccfa80030ec7d9868c488d30
6 changes: 6 additions & 0 deletions trunk/drivers/net/cxgb4vf/cxgb4vf_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1346,6 +1346,8 @@ struct queue_port_stats {
u64 rx_csum;
u64 vlan_ex;
u64 vlan_ins;
u64 lro_pkts;
u64 lro_merged;
};

/*
Expand Down Expand Up @@ -1383,6 +1385,8 @@ static const char stats_strings[][ETH_GSTRING_LEN] = {
"RxCsumGood ",
"VLANextractions ",
"VLANinsertions ",
"GROPackets ",
"GROMerged ",
};

/*
Expand Down Expand Up @@ -1432,6 +1436,8 @@ static void collect_sge_port_stats(const struct adapter *adapter,
stats->rx_csum += rxq->stats.rx_cso;
stats->vlan_ex += rxq->stats.vlan_ex;
stats->vlan_ins += txq->vlan_ins;
stats->lro_pkts += rxq->stats.lro_pkts;
stats->lro_merged += rxq->stats.lro_merged;
}
}

Expand Down

0 comments on commit 592f768

Please sign in to comment.