Commit 0b7c8b5d authored by Jacob Keller's avatar Jacob Keller Committed by Jeff Kirsher

i40e: fix trivial typo in naming of i40e_sync_filters_subtask

A comment incorrectly referred to i40e_vsi_sync_filters_subtask which
does not actually exist. Reference the correct function instead.

Change-ID: I6bd805c605741ffb6fe34377259bb0d597edfafd
Signed-off-by: default avatarJacob Keller <jacob.e.keller@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 91dc1e5d
...@@ -1211,12 +1211,12 @@ bool i40e_is_vsi_in_vlan(struct i40e_vsi *vsi) ...@@ -1211,12 +1211,12 @@ bool i40e_is_vsi_in_vlan(struct i40e_vsi *vsi)
* i40e_add_filter. * i40e_add_filter.
* *
* 2) the only place where filters are actually removed is in * 2) the only place where filters are actually removed is in
* i40e_vsi_sync_filters_subtask. * i40e_sync_filters_subtask.
* *
* Thus, we can simply use a boolean value, has_vlan_filters which we * Thus, we can simply use a boolean value, has_vlan_filters which we
* will set to true when we add a VLAN filter in i40e_add_filter. Then * will set to true when we add a VLAN filter in i40e_add_filter. Then
* we have to perform the full search after deleting filters in * we have to perform the full search after deleting filters in
* i40e_vsi_sync_filters_subtask, but we already have to search * i40e_sync_filters_subtask, but we already have to search
* filters here and can perform the check at the same time. This * filters here and can perform the check at the same time. This
* results in avoiding embedding a loop for VLAN mode inside another * results in avoiding embedding a loop for VLAN mode inside another
* loop over all the filters, and should maintain correctness as noted * loop over all the filters, and should maintain correctness as noted
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment