i40e: fix register dump offset
authorRemy Horton <remy.horton@intel.com>
Wed, 13 Apr 2016 09:44:45 +0000 (10:44 +0100)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 6 May 2016 13:51:22 +0000 (15:51 +0200)
commitaf2feb72b969b2edf1ad4d7a0a34533e19f21d78
tree70980e678cfdfdfc72937bc23653a92ebf18cf1a
parentf83f50394bbbe38efb5b52aad017620670f99c0e
i40e: fix register dump offset

The position of register values within i40e register dumps is
supposed to reflect the register addresses. These were not being
correctly calculated.

Fixes: d9efd0136ac1 ("i40e: add EEPROM and registers dumping")

Signed-off-by: Remy Horton <remy.horton@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_ethdev.c