diff options
| author | Ido Schimmel <[email protected]> | 2020-02-20 09:07:49 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-02-20 10:04:33 -0800 |
| commit | 6627b93bf74b56e8a994c9b5972db51a9692a1e4 (patch) | |
| tree | f334aebb8e243593f742729b44471a5329760eee /tools/perf/scripts/python | |
| parent | 9a9f8d1e749a5c4df167bc964277c75b952e32b5 (diff) | |
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 <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions