net/i40e: print original value for global register change
authorBeilei Xing <beilei.xing@intel.com>
Fri, 11 May 2018 18:17:07 +0000 (02:17 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:31:53 +0000 (22:31 +0100)
commit3d4faec9857f04dd25130ab51e356209b2559a39
tree65dad47a4bf54e10a238cade12ea0962ca625cf2
parent201a41651715741de201269c6f76c6a684f790d1
net/i40e: print original value for global register change

Currently, only new value is printed during global
register change. Add original value to help debugging
facility.

Fixes: bc66b9717c50 ("net/i40e: add debug logs when writing global registers")
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
drivers/net/i40e/i40e_ethdev.h