diff options
author | Shradha Shah <[email protected]> | 2015-05-06 00:58:54 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-05-09 16:16:48 -0400 |
commit | 7b8c7b54f0070edb207add4777e68e4e79d7c3fe (patch) | |
tree | 7241e5767bf3c3e0b512400dbe1c12f2669bfb8f /tools/perf/scripts/python/syscall-counts.py | |
parent | 3c5eb87605e85146a78de589b5070a37862425db (diff) |
sfc: manually allocate and free vadaptors
To be able to use MC_CMD_VADAPTOR_SET_MAC, vadaptors must be
manually allocated and freed as automatic vadaptors will disappear
when their reference_count reaches zero, which must happen before
the MAC address is changed.
Vadaptors are allocated and freed in the vswitching_probe/remove
functions for PFs and VFs, and this means that vadaptors are restored
correctly following an MC reboot or other reset when required.
Signed-off-by: Shradha Shah <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions