diff options
author | Ido Schimmel <idosch@mellanox.com> | 2020-02-20 10:07:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-20 21:04:33 +0300 |
commit | 6627b93bf74b56e8a994c9b5972db51a9692a1e4 (patch) | |
tree | f334aebb8e243593f742729b44471a5329760eee /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9a9f8d1e749a5c4df167bc964277c75b952e32b5 (diff) | |
download | linux-6627b93bf74b56e8a994c9b5972db51a9692a1e4.tar.xz |
mlxsw: spectrum_span: Use struct_size() to simplify allocation
Allocate the main mirroring struct and the individual structs for the
different mirroring agents in a single allocation.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions