net/i40e: fix packet type for X722
authorRosen Xu <rosen.xu@intel.com>
Mon, 15 Jan 2018 10:05:55 +0000 (18:05 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sun, 21 Jan 2018 14:51:52 +0000 (15:51 +0100)
commite8ef26c4db76b9e2f959b8f94a70bf52ba74dc09
tree43fe4bbb40aa347353b2a3e80a0cbd8b0ae2b859
parentb4f42173a54a9304486cca74ba72d620680e13b1
net/i40e: fix packet type for X722

Move setting PCType after setting port's MAC type, which can resolve
the issue of PCType doesn't take effect on X722.

Fixes: a286ebeb0714 ("net/i40e: add dynamic mapping of SW flow types to HW pctypes")
Cc: stable@dpdk.org
Signed-off-by: Rosen Xu <rosen.xu@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/i40e_ethdev.c