diff options
author | Daniel Zahka <daniel.zahka@gmail.com> | 2024-10-11 21:35:47 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-10-17 11:22:01 +0300 |
commit | 42dc431f5d0ea9e9c9caf74dcb5b290ce4dd80b4 (patch) | |
tree | 34a6aaaaae7d7d6369c0987746af26a65d538b1a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5cb409b3960e75467cbb0a8e1e5596b4490570e3 (diff) | |
download | linux-42dc431f5d0ea9e9c9caf74dcb5b290ce4dd80b4.tar.xz |
ethtool: rss: prevent rss ctx deletion when in use
ntuple filters can specify an rss context to use for packet hashing
and queue selection. When a filter is referencing an rss context, it
should be invalid for that context to be deleted. A list of active
ntuple filters and their associated rss contexts can be compiled by
querying a device's ethtool_ops.get_rxnfc. This patch checks to see if
any ntuple filters are referencing an rss context during context
deletion, and prevents the deletion if the requested context is still
in use.
Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions