net/i40e: exclude LLDP packet count
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 11 Dec 2017 18:09:51 +0000 (13:09 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit2b38f509c33eab1178d5736c06d4c84c20500dbc
treedcd0ae553915f87719667233e89e26ee5c4b5559
parentd2f9fe8ae3099921333cf85503333dd37f9dd0d4
net/i40e: exclude LLDP packet count

When use port stats register to calculate the packet count, LLDP packets
are counted in statistics which is not expected, the patch exclude this
number from total number.

Fixes: 763de290cbd1 ("net/i40e: fix packet count for PF")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/i40e_ethdev.c