For those registers and their relevant for early hardware only, they should neither be defined nor be used. Thus i40e_register_x710_int.h should be removed. As I40E_GLINT_CTL and its relevant is really needed, just define it directly as a workaround.
v2 changes: * Added back writing I40E_GLINT_CTL with correct configurations, as it is really needed. Otherwise there would be problem of single descriptor write back. * Removed those code style fix, as it is already in another patch set. Helin Zhang (2): i40e: do not use macros defined in i40e_register_x710_int.h i40e: remove i40e_register_x710_int.h lib/librte_pmd_i40e/i40e/i40e_register_x710_int.h | 10712 -------------------- lib/librte_pmd_i40e/i40e_ethdev.c | 5 +- 2 files changed, 4 insertions(+), 10713 deletions(-) delete mode 100644 lib/librte_pmd_i40e/i40e/i40e_register_x710_int.h -- 1.8.1.4