diff options
author | Louis Peens <louis.peens@corigine.com> | 2022-05-05 08:43:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-06 13:21:34 +0300 |
commit | 591c90a1d0b06f93695e443a1adaebdc8865647e (patch) | |
tree | 36bdd3674c5926839da92be1e5fa9557bdd0adfd /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f1df7956c11f93b2a90ceae78cdc4bfc00f5e38d (diff) | |
download | linux-591c90a1d0b06f93695e443a1adaebdc8865647e.tar.xz |
nfp: flower: link pre_tun flow rules with neigh entries
Add helper functions that can create links between flow rules
and cached neighbour entries. Also add the relevant calls to
these functions.
* When a new neighbour entry gets added cycle through the saved
pre_tun flow list and link any relevant matches. Update the
neighbour table on the nfp with this new information.
* When a new pre_tun flow rule gets added iterate through the
save neighbour entries and link any relevant matches. Once
again update the nfp neighbour table with any new links.
* Do the inverse when deleting - remove any created links and
also inform the nfp of this.
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