net/i40e: fix hash input set on X722
authorJeff Guo <jia.guo@intel.com>
Thu, 6 Apr 2017 02:35:26 +0000 (10:35 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000 (15:37 +0200)
commite711f8a8cdbfc621c97d303c6871c66265c60bc9
tree2bcba01c8c3cd45dff62784b2d97c051f59d667d
parentfb83a23eebc471122ad27590b162726d65eaaa6f
net/i40e: fix hash input set on X722

There are some new PCTYPEs on X722, but they have not been announced
on the RTE lib, so if it can not set corresponding hash input set for
these packet type, the hash function won’t work.

So we need to handle them base on the translation of the new
PCTYPE and the original PCTYPE.

Fixes: b6a0ec418274 ("i40e: use AQ for Rx control register read/write")

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_ethdev.c