From: Beilei Xing Date: Thu, 29 Mar 2018 06:33:58 +0000 (+0800) Subject: net/i40e: remove unnecessary FDIR mask configuration X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=db2ed70bbbf58de4f66dfa1c9cbb46438ebd363e;p=dpdk.git net/i40e: remove unnecessary FDIR mask configuration Remove unnecessary FDIR mask configuration, otherwise flow directory mask will be changed when configuring hash input set. Signed-off-by: Beilei Xing Reviewed-by: Kirill Rybalchenko Acked-by: Qi Zhang --- diff --git a/drivers/net/i40e/rte_pmd_i40e.c b/drivers/net/i40e/rte_pmd_i40e.c index 3577eff76f..f2d961945c 100644 --- a/drivers/net/i40e/rte_pmd_i40e.c +++ b/drivers/net/i40e/rte_pmd_i40e.c @@ -3101,10 +3101,6 @@ rte_pmd_i40e_inset_set(uint16_t port, uint8_t pctype, return -ENOTSUP; } - /* Clear mask first */ - for (i = 0; i < 2; i++) - i40e_check_write_reg(hw, I40E_GLQF_FD_MSK(i, pctype), 0); - inset_reg = inset->inset; for (i = 0; i < 2; i++) mask_reg[i] = (inset->mask[i].field_idx << 16) |