summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2016-11-09 00:05:17 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-12-07 07:47:59 +0300
commit3c7cbd45bca8ad34c66327c919fc76e0dfee90fe (patch)
tree76c34544ffd53d3ef4b7f049af986ce7b22ee055 /tools/perf/scripts/python/stackcollapse.py
parent6beb84a73ec5dbd051005068c130195f77e78cfc (diff)
downloadlinux-3c7cbd45bca8ad34c66327c919fc76e0dfee90fe.tar.xz
i40e: remove code to handle dev_addr specially
The netdev->dev_addr MAC filter already exists in the MAC/VLAN hash table, as it is added when we configure the netdev in i40e_configure_netdev. Because we already know that this address will be updated in the hash_for_each loops, we do not need to handle it specially. This removes duplicate code and simplifies the i40e_vsi_add_vlan and i40e_vsi_kill_vlan functions. Because we know these filters must be part of the MAC/VLAN hash table, this should not have any functional impact on what filters are included and is merely a code simplification. Change-ID: I5e648302dbdd7cc29efc6d203b7019c11f0b5705 Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions