net/i40e: fix X710 Rx after reading some registers
authorBeilei Xing <beilei.xing@intel.com>
Thu, 15 Nov 2018 03:17:02 +0000 (11:17 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 15 Nov 2018 22:31:28 +0000 (23:31 +0100)
commit199efc4ac5409403d24a0f21fe382bbce86638ac
tree832a470a3a8f076c5666a472baffbf6e2488f146
parent1a81dce780a04f6f54125e6dbf23fc78ce55be97
net/i40e: fix X710 Rx after reading some registers

There's an issue that X710 can't receive any packet after
reading some special registers. That's because these
registers are only valid for X722, read access for non-X722
will cause ECC error.

Fixes: d9efd0136ac1 ("i40e: add EEPROM and registers dumping")
Cc: stable@dpdk.org
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.c