summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGautam Menghani <gautammenghani201@gmail.com>2022-08-06 19:35:30 +0300
committerSteffen Klassert <steffen.klassert@secunet.com>2022-08-16 12:28:13 +0300
commit93d7c52a6eb93e58e4569bd4de95ba3b19e3cf20 (patch)
treecb60ea48fd6e0f3ca5a7783b94cb970c5fe9cb25 /tools/perf/scripts/python/export-to-sqlite.py
parent7ebfc85e2cd7b08f518b526173e9a33b56b3913b (diff)
downloadlinux-93d7c52a6eb93e58e4569bd4de95ba3b19e3cf20.tar.xz
selftests/net: Refactor xfrm_fill_key() to use array of structs
A TODO in net/ipsec.c asks to refactor the code in xfrm_fill_key() to use set/map to avoid manually comparing each algorithm with the "name" parameter passed to the function as an argument. This patch refactors the code to create an array of structs where each struct contains the algorithm name and its corresponding key length. Signed-off-by: Gautam Menghani <gautammenghani201@gmail.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions