diff options
author | 2016-11-08 13:05:17 -0800 | |
---|---|---|
committer | 2016-12-06 20:47:59 -0800 | |
commit | 3c7cbd45bca8ad34c66327c919fc76e0dfee90fe (patch) | |
tree | 76c34544ffd53d3ef4b7f049af986ce7b22ee055 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i40e/i40evf: napi_poll must return the work done (diff) | |
download | linux-dev-3c7cbd45bca8ad34c66327c919fc76e0dfee90fe.tar.xz linux-dev-3c7cbd45bca8ad34c66327c919fc76e0dfee90fe.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions