diff options
author | Louis Peens <louis.peens@corigine.com> | 2022-05-05 08:43:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-06 13:21:34 +0300 |
commit | 9d5447ed44b5ddca07d82aba4d8a9436c4e910c4 (patch) | |
tree | ea139ca2a67058b7037a79ebdcdd811ca070a93f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 38fc158e172b2df03f24d4a6ea6a89eab37a4b29 (diff) | |
download | linux-9d5447ed44b5ddca07d82aba4d8a9436c4e910c4.tar.xz |
nfp: flower: fixup ipv6/ipv4 route lookup for neigh events
When a callback is received to invalidate a neighbour entry
there is no need to try and populate any other flow information.
Only the flowX->daddr information is needed as lookup key to delete
an entry from the NFP neighbour table. Fix this by only doing the
lookup if the callback is for a new entry.
As part of this cleanup remove the setting of flow6.flowi6_proto, as
this is not needed either, it looks to be a possible leftover from a
previous implementation.
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions