aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBreno Leitao <[email protected]>2024-07-02 11:55:54 -0700
committerJakub Kicinski <[email protected]>2024-07-04 10:19:24 -0700
commit0e1a4d427f58b843864d835ccb79c32a118c6a77 (patch)
treec222350c38072b3dc5ea56af445f28cace937399 /tools/perf/util/scripting-engines/trace-event-python.c
parent82c81e740defbe2cd9889ba76da15f99d7cba252 (diff)
crypto: caam: Unembed net_dev structure in dpaa2
Embedding net_device into structures prohibits the usage of flexible arrays in the net_device structure. For more details, see the discussion at [1]. Un-embed the net_devices from struct dpaa2_caam_priv_per_cpu by converting them into pointers, and allocating them dynamically. Use the leverage alloc_netdev_dummy() to allocate the net_device object at dpaa2_dpseci_setup(). The free of the device occurs at dpaa2_dpseci_disable(). Link: https://lore.kernel.org/all/[email protected]/ [1] Signed-off-by: Breno Leitao <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions