diff options
| author | Louis Peens <[email protected]> | 2022-05-05 14:43:43 +0900 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-05-06 11:21:34 +0100 |
| commit | 9d5447ed44b5ddca07d82aba4d8a9436c4e910c4 (patch) | |
| tree | ea139ca2a67058b7037a79ebdcdd811ca070a93f /tools/perf/scripts/python/sctop.py | |
| parent | 38fc158e172b2df03f24d4a6ea6a89eab37a4b29 (diff) | |
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 <[email protected]>
Signed-off-by: Yinjun Zhang <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions