net/i40e: fix packet type parsing with DDP
authorBeilei Xing <beilei.xing@intel.com>
Thu, 5 Jul 2018 01:36:29 +0000 (09:36 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 23 Jul 2018 21:55:26 +0000 (23:55 +0200)
commit840f15cdab1693d0a8f2915d32dbe92a57dff1f2
tree1917c1c06e59871e6ee61fa65accddcfdd34e6d3
parent525fd36991d50e07dd0d3111e07dc257429fb90e
net/i40e: fix packet type parsing with DDP

To parse packet type correctly, profile needs to be
loaded again to update tables in SW even if profile
has exited. But previously packet type parser will
be false after loading profile when profile already
exists.
This patch fixes the issue.

Fixes: 0585f5c3d264 ("net/i40e: fix DDP profile DEL operation")
Cc: stable@dpdk.org
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Tested-by: Xueqin Lin <xueqin.lin@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/rte_pmd_i40e.c