diff options
author | Petri Gynther <pgynther@google.com> | 2015-03-10 15:55:00 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-11 17:54:55 -0400 |
commit | d26ea6cc48da5a97d8188220c334cf3669fa8dc7 (patch) | |
tree | d6408c7ced8b23593c980a9dac69c34a78b5c2ae /net/switchdev/switchdev.c | |
parent | 61f0d861fc6924fa673ecf1128a911d49cb10dc8 (diff) | |
download | linux-d26ea6cc48da5a97d8188220c334cf3669fa8dc7.tar.gz linux-d26ea6cc48da5a97d8188220c334cf3669fa8dc7.tar.bz2 linux-d26ea6cc48da5a97d8188220c334cf3669fa8dc7.zip |
net: bcmgenet: collect Rx discarded packet count
Bits 31:16 of RDMA_PROD_INDEX contain Rx discarded packet count, which
are the Rx packets that had to be dropped by MAC hardware since there
was no room on the Rx queue. Add code to collect this information into
the netdev stats.
Signed-off-by: Petri Gynther <pgynther@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions