Commit 3cb7a798 authored by françois romieu's avatar françois romieu Committed by David S. Miller

via-velocity : update receive packets statistics.

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=14076.
Signed-off-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
Tested-by: default avatarJon Nelson <jnelson@jamponi.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f3f70bf6
...@@ -2092,6 +2092,7 @@ static int velocity_receive_frame(struct velocity_info *vptr, int idx) ...@@ -2092,6 +2092,7 @@ static int velocity_receive_frame(struct velocity_info *vptr, int idx)
netif_rx(skb); netif_rx(skb);
stats->rx_bytes += pkt_len; stats->rx_bytes += pkt_len;
stats->rx_packets++;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment