vport: Remove unused error types.
authorJesse Gross <jesse@nicira.com>
Fri, 19 Nov 2010 21:49:54 +0000 (13:49 -0800)
committerJesse Gross <jesse@nicira.com>
Fri, 3 Dec 2010 01:10:15 +0000 (17:10 -0800)
commit6d1d631e10b24d9528a4c436805205efcbefd983
tree80460bb4e5b59f4bb109b7fb7cae7ca3c9a36d86
parenteb88521dd64ddc542c0c36d57a1155cdcd164d03
vport: Remove unused error types.

We currently track rx_over_errors, rx_crc_errors, rx_frame_errors,
and collisions but never increment these counters.  It seems likely
that we will never use them since they are primarily hardware errors
and we pull hardware stats directly from the NIC.  This removes those
counters, saving 32 bytes per port.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/vport.c
datapath/vport.h