summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@free-electrons.com>2017-09-02 11:06:48 +0200
committerDavid S. Miller <davem@davemloft.net>2017-09-03 20:16:55 -0700
commitd2a6e48e5254f653decc1612f3cbee3e5c8592c7 (patch)
treed52f1ed6fc60bb1975dc50ffd9d5eb13aff64c7d /tools/perf/scripts/python/export-to-postgresql.py
parent3ba8c81e15c11fc396d0b5d11adaf9db6ed39533 (diff)
net: mvpp2: fix use of the random mac address for PPv2.2
The MAC retrieval logic is using a variable to store an h/w stored mac address and checks this mac against invalid ones before using it. But the mac address is only read from h/w when using PPv2.1. So when using PPv2.2 it defaults to its init state. This patches fixes the logic to only check if the h/w mac is valid when actually retrieving a mac from h/w. Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions