i40e: fix RSS hash copy
authorHelin Zhang <helin.zhang@intel.com>
Tue, 24 Jun 2014 02:02:33 +0000 (10:02 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Jun 2014 11:01:20 +0000 (13:01 +0200)
commitd025265b7e652f9165cb509e23f380ed896721b1
treebd215d515808cb9c223010d959aa8eb9c7145c24
parent35ccc1b3842f5113f033902c6d11c3fdc1c50a5a
i40e: fix RSS hash copy

It wrongly gets the RSS hash result from the RX descriptor which
has been modified for receiving new packet. The fix is to get the
RSS hash result from the buffer which saves the RX descriptor.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
Acked-by: Cunming Liang <cunming.liang@intel.com>
lib/librte_pmd_i40e/i40e_rxtx.c