net/i40e: fix fail to update packet type table
authorBeilei Xing <beilei.xing@intel.com>
Fri, 19 Jan 2018 07:50:04 +0000 (15:50 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sun, 21 Jan 2018 14:51:52 +0000 (15:51 +0100)
commita491e0ef4ef71888ff89216bba91268ec91685c2
tree362e7813c5d7aa971dffabd764fd4906bbff6125
parentf4c8ad4f97e24af7f6200723ca8d93702f15b1e6
net/i40e: fix fail to update packet type table

Fail to update SW ptype mapping table when loading
PPP profile, though profile can be loaded successfully.
It will cause fail to parse SW ptype during receiving
packets. This patch fixes this issue.

Fixes: 11556c915a08 ("net/i40e: improve packet type parser")
Cc: stable@dpdk.org
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/rte_pmd_i40e.c