net/vhost: fix Tx error counting
authorTetsuya Mukawa <mukawa@igel.co.jp>
Fri, 24 Jun 2016 02:04:20 +0000 (11:04 +0900)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Thu, 30 Jun 2016 05:46:29 +0000 (07:46 +0200)
commit5f05e95cd5d90c2132bbb238ef46638f68b478da
treef7ab43d5897a9e7e065cfead1e875463684d4541
parent4feff06e5055922e2c7df858a29f723bddf8ceaf
net/vhost: fix Tx error counting

According to 'rte_eth_stats' structure comments, 'imissed'
should represent RX error counting, but currently 'imissed' is
used to count TX error.

The patch replaces 'imissed' by 'oerrors'.

Fixes: ee584e9710b9 ("vhost: add driver on top of the library")

Signed-off-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
drivers/net/vhost/rte_eth_vhost.c