diff options
author | 2017-08-09 11:47:14 +0000 | |
---|---|---|
committer | 2017-12-28 12:36:33 +0200 | |
commit | e8d31c4d65998c38feccc539297ca506099e0194 (patch) | |
tree | cc57e1430d3bd0b406072eb0248be2255282f168 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | Linux 4.15-rc4 (diff) | |
download | linux-dev-e8d31c4d65998c38feccc539297ca506099e0194.tar.xz linux-dev-e8d31c4d65998c38feccc539297ca506099e0194.zip |
net/mlx5: E-Switch, Refactor vport representors initialization
Refactor the init stage of vport representors registration.
vport number and hw id can be assigned by the E-Switch driver and not by
the netdevice driver. While here, make the error path of mlx5_eswitch_init()
a reverse order of the good path, also use kcalloc to allocate an array
instead of kzalloc.
Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions