]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/s390/net/qeth_proc.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[linux-2.6-omap-h63xx.git] / drivers / s390 / net / qeth_proc.c
index 89d56c8ecdd21600ba10099c7267f9083e28522f..46ecd03a597ef2828a9ecbbd1b3077ce0aa0aefa 100644 (file)
@@ -146,7 +146,7 @@ qeth_procfile_seq_show(struct seq_file *s, void *it)
        return 0;
 }
 
-static struct seq_operations qeth_procfile_seq_ops = {
+static const struct seq_operations qeth_procfile_seq_ops = {
        .start = qeth_procfile_seq_start,
        .stop  = qeth_procfile_seq_stop,
        .next  = qeth_procfile_seq_next,
@@ -212,6 +212,12 @@ qeth_perf_procfile_seq_show(struct seq_file *s, void *it)
                      "  Skb fragments sent in SG mode          : %u\n\n",
                      card->perf_stats.sg_skbs_sent,
                      card->perf_stats.sg_frags_sent);
+       seq_printf(s, "  Skbs received in SG mode               : %u\n"
+                     "  Skb fragments received in SG mode      : %u\n"
+                     "  Page allocations for rx SG mode        : %u\n\n",
+                     card->perf_stats.sg_skbs_rx,
+                     card->perf_stats.sg_frags_rx,
+                     card->perf_stats.sg_alloc_page_rx);
        seq_printf(s, "  large_send tx (in Kbytes)              : %u\n"
                      "  large_send count                       : %u\n\n",
                      card->perf_stats.large_send_bytes >> 10,
@@ -258,7 +264,7 @@ qeth_perf_procfile_seq_show(struct seq_file *s, void *it)
        return 0;
 }
 
-static struct seq_operations qeth_perf_procfile_seq_ops = {
+static const struct seq_operations qeth_perf_procfile_seq_ops = {
        .start = qeth_procfile_seq_start,
        .stop  = qeth_procfile_seq_stop,
        .next  = qeth_procfile_seq_next,