summaryrefslogtreecommitdiff
path: root/drivers/net/i40e/rte_pmd_i40e.c
diff options
context:
space:
mode:
authorBeilei Xing <beilei.xing@intel.com>2018-03-29 14:33:58 +0800
committerFerruh Yigit <ferruh.yigit@intel.com>2018-03-30 17:25:45 +0200
commitdb2ed70bbbf58de4f66dfa1c9cbb46438ebd363e (patch)
treeaa1347e6b40d9012b4a3f5a3f64300e9d28432c2 /drivers/net/i40e/rte_pmd_i40e.c
parent768274ebbd5e532134420146cc26b1ff4b607740 (diff)
downloaddpdk-db2ed70bbbf58de4f66dfa1c9cbb46438ebd363e.zip
dpdk-db2ed70bbbf58de4f66dfa1c9cbb46438ebd363e.tar.gz
dpdk-db2ed70bbbf58de4f66dfa1c9cbb46438ebd363e.tar.xz
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 <beilei.xing@intel.com> Reviewed-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Diffstat (limited to 'drivers/net/i40e/rte_pmd_i40e.c')
-rw-r--r--drivers/net/i40e/rte_pmd_i40e.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/i40e/rte_pmd_i40e.c b/drivers/net/i40e/rte_pmd_i40e.c
index 3577eff..f2d9619 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) |