diff options
Diffstat (limited to 'drivers/net/cxgb4')
-rw-r--r-- | drivers/net/cxgb4/cxgb4_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/cxgb4/cxgb4_main.c b/drivers/net/cxgb4/cxgb4_main.c index 80c3fc5c41c5..90d375b421cb 100644 --- a/drivers/net/cxgb4/cxgb4_main.c +++ b/drivers/net/cxgb4/cxgb4_main.c | |||
@@ -859,6 +859,8 @@ static char stats_strings[][ETH_GSTRING_LEN] = { | |||
859 | "RxCsumGood ", | 859 | "RxCsumGood ", |
860 | "VLANextractions ", | 860 | "VLANextractions ", |
861 | "VLANinsertions ", | 861 | "VLANinsertions ", |
862 | "GROpackets ", | ||
863 | "GROmerged ", | ||
862 | }; | 864 | }; |
863 | 865 | ||
864 | static int get_sset_count(struct net_device *dev, int sset) | 866 | static int get_sset_count(struct net_device *dev, int sset) |
@@ -922,6 +924,8 @@ struct queue_port_stats { | |||
922 | u64 rx_csum; | 924 | u64 rx_csum; |
923 | u64 vlan_ex; | 925 | u64 vlan_ex; |
924 | u64 vlan_ins; | 926 | u64 vlan_ins; |
927 | u64 gro_pkts; | ||
928 | u64 gro_merged; | ||
925 | }; | 929 | }; |
926 | 930 | ||
927 | static void collect_sge_port_stats(const struct adapter *adap, | 931 | static void collect_sge_port_stats(const struct adapter *adap, |
@@ -938,6 +942,8 @@ static void collect_sge_port_stats(const struct adapter *adap, | |||
938 | s->rx_csum += rx->stats.rx_cso; | 942 | s->rx_csum += rx->stats.rx_cso; |
939 | s->vlan_ex += rx->stats.vlan_ex; | 943 | s->vlan_ex += rx->stats.vlan_ex; |
940 | s->vlan_ins += tx->vlan_ins; | 944 | s->vlan_ins += tx->vlan_ins; |
945 | s->gro_pkts += rx->stats.lro_pkts; | ||
946 | s->gro_merged += rx->stats.lro_merged; | ||
941 | } | 947 | } |
942 | } | 948 | } |
943 | 949 | ||