Some ethtool counters match "false positives" such as Intel's fdir_miss
or Virtual Ethernet Bridge veb.dropped which we don't want to see.
The normal way to do this is a negative lookahead/lookbehind but grep
and awk's ERE don't support those. Convert the existing ethtool regex to
an awk-syntax match and use awk logic to exclude unwanted strings.
Some ethtool counters match "false positives" such as Intel's fdir_miss or Virtual Ethernet Bridge veb.dropped which we don't want to see.
The normal way to do this is a negative lookahead/lookbehind but grep and awk's ERE don't support those. Convert the existing ethtool regex to an awk-syntax match and use awk logic to exclude unwanted strings.
Signed-off-by: Jamie Bainbridge jamie.bainbridge@gmail.com